PEND statement - IBM-JCL

1.Syntax

//[name] PEND [comments]

The PEND statement consists of the characters // in columns 1 and 2 and three fields: name, operation (PEND), and comments. Do not continue a PEND statement.

2.Name Field
A name is optional on the PEND statement. If used, code it as follows:

  • The name must begin in column 3.
  • The name is 1 through 8 alphanumeric or national ($, #, @) characters.
  • The first character must be alphabetic or national ($, #, @).
  • The name must be followed by at least one blank.
  • The name may be preceded by up to 8 alphanumeric or national characters, and then separated by a period. Coding the name in this way should not be confused with specifying an override, as can be done when coding DD statements. If a name is not coded, column 3 must be blank.

3.Operation Field
The operation field consists of the characters PEND and must be preceded and followed by at least one blank. It can begin in any column.

4.Comments Field
The comments field follows PEND after at least one intervening blank.

5.Location in the JCL
A PEND statement follows the statements of an in-stream procedure, and may follow the statements of a cataloged procedure.

6.Examples of the PEND Statement

Example

//PROCEND1 PEND THIS STATEMENT IS REQUIRED FOR IN-STREAM PROCEDURES

This PEND statement contains a comment.

Example

// PEND

This PEND statement contains only // and the operation field with the necessary blanks.

All rights reserved © 2020 Wisdom IT Services India Pvt. Ltd DMCA.com Protection Status

IBM-JCL Topics