The CALL command enables REXX to call NCL procedures, including parameters and shared variables. You must explicitly name any variables that you want to share. Do not use prefixes.
This command has the following format:
CALL PROC=procname [PARMm=value1,..valuem] [SHAREn=name1,..namen]
Specifies the PDS member name that contains a valid NCL procedure.
Specifies a valid REXX variable name.
Range: 1-20
Specifies the explicit shared variable name (no ampersand). You can specify only variables that are valid names in NCL and REXX.
Range: 1-50
Restrictions
Example: CALL Command
'CALL PROC=$esapi00 PARM1=CLASS=translate PARM2=data=AHRSP',
'SHARE1=$ESXLATEFullTxt SHARE2=$ESXLATEShortTxt'
say $ESXLATEFullTxt
say $ESXLATEShortTxt