MAXOUT (MO)


The MAXOUT parameter changes the default value of eight output data sets that can be created with a USER function in conjunction with the WRITE parameter.

The syntax of the MAXOUT parameter is:

MAXOUT=n

n

Number of output data sets to create. It can be any number from 0 (zero) through 99. The default value is 8.


Important

If a large number of data sets will be created, adjust the JCL to reduce block sizes and the number of buffers acquired. This reduces the possibility of exceeding region size.

Example:

$$DD01 USER MAXOUT=10,WRITE=(A,B,C,D,E,F,G,H,I,J)

This example performs a USER function while concurrently creating ten output data sets.

Use the MAXOUT parameter only once per jobstep. The MAXOUT setting is passed to other File-AID function that refer to the same input DD statement.

Example:

$$DD01 USER MAXOUT=99,WRITE=(...
$$DD01 USER WRITE=(...

In this example the MAXOUT setting of 99 continues in effect for the second USER function.

$$DD01 USER MAXOUT=99,WRITE=(...
$$DD02 USER WRITE=(...

In this example the MAXOUT setting of 99 is in effect for the $$DD01 USER function. The $$DD02 USER function is limited to the MAXOUT default of eight data sets.

 

Tip: For faster searching, add an asterisk to the end of your partial query. Example: cert*