Question about CA View MAXLINES init parameter
search cancel

Question about CA View MAXLINES init parameter

book

Article ID: 145919

calendar_today

Updated On:

Products

View

Issue/Introduction

Question regarding MAXLINES parameter.
The manual states the following:

"This parameter specifies the maximum number of lines to be archived to the database per SYSOUT group."

And  the description of the BYPASSDS parameter:

"An optional parameter that specifies that any lines in excess of the number (nnn) in a SYSOUT data set are deleted without archival. Subsequent data sets in the SYSOUT group are archived."

Clarify the following example:: 

MAXLINES init parameter is set to: MAXLINES=2000000,BYPASSDS

Job SAMPLE has 3 DD SYSOUT=* statements and those statements have following number of output lines:

SAMPLE.DDA 1 000 000 lines

SAMPLE.DDB 2 500 000 lines

SAMPLE.DDC 500 000 lines

Can it be clarified that the MAXLINES parameter should cut off/remove 500 000 lines from the SAMPLE.DDB and store all other DD names in the mentioned job?

Then, output stored to CA View will have totally (1 000 000 + 2 000 000 + 500 000) 3 500 000 lines, which does not seem to be correct.

"This parameter specifies the maximum number of lines to be archived to the database per SYSOUT group."

 

Environment

Release : 14.0

Component : CA View

Resolution

  • In SARINIT "MAXLINES=n...n,[BYPASS|BYPASSDS,]n...n", BYPASS or BYPASSDS are optional and would have to be specified to have any effect. 
  • With no specification of BYPASS or BYPASSDS, the SARSTCUX exit is deferred to in  determining what action is to be taken for those lines past the first n...n.
  • In specifying BYPASS, any lines in excess of the number (n...n) in a SYSOUT group are deleted without archival.
  • In specifying BYPASSDS, any lines in excess of the number (n...n) in a SYSOUT data set are deleted without archival. Subsequent data sets in the SYSOUT group are archived.
  • Given a MAXLINES parameter setting of: MAXLINES=2000000,BYPASSDS.
  • With there being 3 DD SYSOUT=* statements with these numbers of output lines:
SAMPLE.DDA 1 000 000 lines
SAMPLE.DDB 2 500 000 lines
SAMPLE.DDC   500 000 lines

It is correct that there would be the removal of 500 000 lines from SAMPLE.DDB only as this exceeds the 2000000 lines defined, and the other DD names will be collected in their entirety. 
Therefore, there would be 3.5 million lines collected. 

If there was the use of the BYPASS parameter only, then 1,000,000 from DDA and 1,000,000 lines from DDB would be collected, and 1,500,000 from DDB and the 500,000 lines from DDC would be removed.