JCL M

Man Page Index


Marks a destination for a GO F or GO B command.

 

SYNTAX

M

 

NOTES

The M command is used with the GO B and GO F branch commands to mark the destination of the jump.

As a jCL program is executed it "remembers" the location of the last M command it passes through. When a GO B command is encountered, the program can then branch straight back to the remembered location. Remember that an M command must be executed for it to be remembered.

GO F scans forward from the current location until it finds an M command and then resumes execution from there.

If commands are grouped on a line, the M command must be the first command on the line.

 

EXAMPLES

See the GO B and GO F commands for examples of usage.


JCL