z/OS MVS Program Management: User's Guide and Reference
Previous topic | Next topic | Contents | Contact z/OS | Library | PDF


LKEDG procedure

z/OS MVS Program Management: User's Guide and Reference
SA23-1393-00

LKEDG is a two-step procedure that binds the input, produces a program module, and executes that module. The statements in this procedure are shown in the following example. The two procedure steps are named LKED and GO. The specifications in the statements in the LKED step are identical to the specifications in the LKED procedure.
//LKED   EXEC PGM=HEWLH096,PARM='MSGLEVEL(4),XREF,LIST,NCAL',
//         REGION=2M
//SYSPRINT DD  SYSOUT=*
//SYSLIN   DD  DDNAME=SYSIN
//SYSLMOD  DD  DSN=&&GOSET(GO),SPACE=(1024,(50,20,1)),
//         UNIT=SYSDA,DISP=(MOD,PASS)
//GO       EXEC PGM=*.LKED.SYSLMOD,COND=(4,LT,LKED)
GO Step
The EXEC statement specifies that the program to be executed is the program module produced in the LKED step of this job. This module was stored in the data set described on the SYSLMOD DD statement in that step. (If a NAME statement was used to specify a member name other than that used on the SYSLMOD statement, use the LKED procedure and provide your own GO step.)

The condition parameter specifies that the execution step is bypassed if the return code issued by the LKED step is greater than 4.

Go to the previous page Go to the next page




Copyright IBM Corporation 1990, 2014