

Data Manipulation Language Statements › #LINK—establishes linkage with a program › #LINK Example
#LINK Example
The example of the #LINK statement shown below performs the
following functions:
- Specifies that control will be transferred to the program HELPLK
- Uses the default storage area, SYSPLIST, in which the system builds the parameter list
- Identifies the parameters, PARM1 and PARM2, to be passed to the program HELPLK
- Specifies a conditional return of control if the program HELPLK is not available and identifies the routine NOPROG that will receive control in the event of a PGNA error condition
#LINK PGM='HELPLK',PARMS=(PARM1,PARM2),COND=PGNA,PGNAXIT=NOPROG
Copyright © 2014 CA.
All rights reserved.
 
|
|