Previous Topic: DD Command—Allocate a Data Set Dynamically

Next Topic: Tuning Performance


DD Command—Allocate a SYSOUT Data Set Dynamically

The DD command can allocate a SYSOUT data set dynamically.

This command has the following format:

DD=name,
   SYSOUT=([class] [,writer_name] [,form_name])
 [,FREE={ CLOSE | END }]
 [,HOLD={ NO | YES }]
 [,BLKSIZE=nnnnn]

If the operands do not fit on one line, you can use the plus sign (+) to indicate that the command is continued. For example:

DD=LOG1,+
   SYSOUT=A,+ 
   FREE=END
DD=name

Specifies the ddname being allocated. A valid ddname must be used.

SYSOUT=([class] [,writer_name] [,form_name])

Specifies the following parameters of the system output data set:

class

Specifies the SYSOUT class desired. Use a single letter or number, A through Z or 0 through 9. Specifying an asterisk uses the job MSGCLASS (as in JCL).

writer_name

Specifies the name of an external writer to process the data set instead of JES.

form_name

Specifies the name of a form on which the data set is printed.

FREE={ CLOSE | END }

CLOSE specifies that the SYSOUT is to be spun-off when closed; END specifies that it is not. Do not use FREE=CLOSE for FMTDUMP.

Default: CLOSE

HOLD={ NO | YES }

Specifies whether the SYSOUT is to be held.

Default: NO

BLKSIZE=nnnnn

Lets you specify a block size.