Previous Topic: In Batch

Next Topic: Commands (YADDMDLLE - YCHKMDLOBJ)

Determining a Command’s Running Environment

A box in the lower right corner of each command diagram contains an entry code that indicates the environment in which the command can be run. The entry code contains the following symbols:

The following table shows the possible combinations and their meanings.

code

Meaning

 

Job: B

The command can be run in batch as a separate function.

 

Job: I

 

The command can be run interactively as a separate function.

 

Job: B,I

The command can be run either in batch or interactively as a separate function.

 

Pgm: B

The command can be run as part of a compiled CL program that is called in batch.

 

Pgm: I

The command can be run as part of a compiled CL program that is called interactively.

 

Pgm: B,I

The command can be run as part of a compiled CL program that is called either in batch or interactively.