ENDBCHJOB (End Batch Job)

ENDBCHJOB Command syntax diagram

 

Purpose

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

Restriction: The ENDBCHJOB command cannot be used from a work station. Two slashes must precede this command name when entering it in the data record, for example, //ENDBCHJOB. The user can separate the slashes from this command name with blank spaces, for example, //  ENDBCHJOB.

There are no parameters for this command.

Example for ENDBCHJOB

 //ENDBCHJOB

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

Error messages for ENDBCHJOB

*ESCAPE Messages

CPF1753
Command cannot be run.