CL Command Reference - ENDBCHJOB

CL Command List > ENDBCHJOB Reference

Description:

The End Batch Job (ENDBCHJOB) command is a delimiter in a batch input stream that indicates the end of a job. The End Batch Job (ENDBCHJOB) command also can indicate the end of an inline data file provided the command is detected while the inline file is being processed.

Restrictions: This command cannot be entered at a work station. The End Batch Job (ENDBCHJOB) command must be preceded by two slashes (//) in positions 1 and 2 of the data record, for example //ENDBCHJOB. Blanks can separate the slashes from the command name (// ENDBCHJOB).


Examples:

//ENDBCHJOB

This command indicates the end of a job that began with the BCHJOB command.