Use Symbolics with a RUN TASK Statement (z/OS to HP NonStop)

This Process is submitted from the z/OS node to run a program at the HP NonStop node. The Process is structured so that the program name (PGM) and associated run-options for the HP NonStop RUN command are symbolics. (Symbolics allow you to predefine a Process that can be used for multiple applications.) The symbolics will be resolved when the Process is submitted. Because the NAME parameter is followed by a space, HP NonStop will assign a name to the HP NonStop process.

Note: This Process will only work in SNA environments.
PROCESS1  PROCESS    PNODE=CD.OS390                    -
                     SNODE=CD.HPNONSTOP
STEP01    RUN TASK  (PGM = &PGM                        -
                     PARM=(\ "/IN    \ || &INFILE  ||  -
                           \  ,OUT   \ || &OUTFILE ||  -
                           \  ,PRI   \ || &PRI     ||  -
                           \  ,CPU   \ || &CPU     ||  -
                           \  ,NAME  \                 -
                           \  /")\)                    -
                     SNODE

The following IBM® Connect:Direct® syntax rules apply to this Process:

  • The string of HP NonStop RUN command options must be enclosed in forward slashes (/). This is an HP NonStop syntax requirement.
  • Bracketing backslashes (\) are positioned around variables in the string so that strings containing special characters can continue across multiple lines. Symbolics (&value) are not enclosed in bracketing backslashes.
Note: Run options for the HP NonStop RUN command must be separated by commas.
  • Because the PNODE is the z/OS node, two vertical bars preceded and followed by blanks ( || ) are used to concatenate the value of a symbolic to the string. Resolution of the symbolic occurs before concatenation.

The command used to submit PROCESS1 is as follows:

SUB PROC=PROCESS1 &PGM=FUP &INFILE=FUPIN &OUTFILE=$S.#SPL1 &PRI=100 &CPU=0