JCL SYSOUT Statement

JCL COPYLIB JCL SYSABEND Statement

Advertisements


SYSOUT system defined DDname used for file status codes.

SYSOUT used to view the system ABEND codes information and output of the display statement.

SYSOUT is used to route the COBOL program's DISPLAY statements.

SYSOUT is always allocated and gets all the output from the System level process (including any messages about the JCL itself, performance stats, error messages etc.)

SYSOUT parameter used to direct the output device and generate during execution of the job to an output device.

SYSOUT can write all these messages to dataset as well.

Syntax-1:

	//DDname DD SYSOUT=* 

SYSOUT is used to mention the location where we need to print the message.

If * provided in the JOB, the messages will route to the location which is provided in CLASS parameter.

Syntax-2:

//DDname DD SYSOUT=B 

If the location is provided in the SYSOUT then the messages will be routed to location provided.

In this case, location provided in CLASS parameter will be ignored.


Syntax-3:

//DDname DD SYSOUT=dataset-name, [disposition] 

The SYSOUT can write to dataset.

The dataset should be provided with SYSOUT.

If any questions on the above, post your queries on Jcl Discussion forum


JCL COPYLIB JCL SYSABEND Statement

Advertisements