OPS/MVS

 View Only

 Is OPSLOG() extended format doc correct?

Jump to  Best Answer
Marcel van Ek's profile image
Marcel van Ek posted Nov 20, 2024 09:08 AM

We have some OPSLOG() functions using the extended format to extract data, and I wanted to add new columns to our existing selection.

Wondering how many the max was, I referred to the doc that says:

OUTCOLS(
col1
[,...[,
col44
]])
(Optional) Specifies up to 44 OPSLOG message data fields when the
 operation
is EXTRACT.

I noticed we already collected much more than that 44 limit (we had 49), and even adding 2 new ones still did not break the code.

So what (if any) is the current limitation on OUTCOLS ?

Tyrone Lastoria's profile image
Broadcom Employee Tyrone Lastoria  Best Answer

The maximum number of column names that can be specified in the OUTCOLS keyword of the OPSLOG function is 50.  The total number of available display columns is currently at 56, with 2 of those columns not supported by the OPSLOG function (CART and CARTX).   Error messages OPS1940E and OPS1955E are generated when the OUTCOLS keyword contains more than 50 entries/column names. We will update the documentation for the OUTCOLS keyword of the OPSLOG function. 

Thank you Marcel for pointing this out.