z/OS JES2 Macros
Previous topic | Next topic | Contents | Contact z/OS | Library | PDF


$NHDXMT – Transmitting an NJE data area across the network

z/OS JES2 Macros
SA32-0996-00

Use $NHDXMT to transmit an NJE data area to another node in the network.

Format description

Read syntax diagramSkip visual syntax diagram
>>-+--------+--$NHDXMT--HEADER--=--+-addrx------+--------------->
   '-symbol-'                      '-(--R--n--)-'   

>--,HDRTYPE--=--+-NJH--------------------------------------------------------+-->
                +-NJT--------------------------------------------------------+   
                '-NDH--,--JOE--=--+-label------+--,--PDDB--=--+-label------+-'   
                                  '-(--R--n--)-'              '-(--R--n--)-'     

>--+-------------------------+--+-------------------------+----->
   '-,DCT--=--+-label------+-'  '-,JCT--=--+-label------+-'   
              '-(--R--n--)-'               '-(--R--n--)-'     

>--+-------------------------+--+-------------------+----------->
   '-,JQE--=--+-label------+-'  |           .-NO--. |   
              '-(--R--n--)-'    '-,FREE--=--+-YES-+-'   

>--+-------------------+--+---------------------------+--------->
   |           .-NO--. |  '-,ERRET--=--+-label------+-'   
   '-,EXIT--=--+-YES-+-'               '-(--R--n--)-'     

>--,NJEWORK--=--addrx------------------------------------------><

HEADER=
Specifies the address of the buffer containing the NJE data area to be transmitted. The HEADER= keyword is required.
DCT=
Specifies the address of the $DCT. The DCT= keyword is required.
JQE=
Specifies the address of the $JQE. The JQE= keyword is a required keyword.
JCT=
Specifies the address of the $JCT. The JCT= keyword is required.
PDDB=
Specifies the address of the $PDDB that is associated with the SYSOUT data set being transmitted. The PDDB= keyword is required when transmitting data set header.
JOE=
Specifies the address of the $JOE that is associated with the SYSOUT data set being transmitted. The JOE= keyword is required when transmitting data set header.
FREE=
Specifies whether (YES) or not (NO) the buffer that contains the NJE data area should be freed after it is transmitted. The default for the FREE parameter is NO.
EXIT=
Specifies whether (YES) or not (NO) exit 46 should be invoked. The default is NO. You should not specify YES on the EXIT= keyword if you are issuing the $NHDXMT macro in exit 46.
HDRTYPE=
Specifies the type of NJE data area to be transmitted. You can specify one of the following values:
Value
Meaning
NJH
Networking job header
NJT
Networking job trailer
NDH
Networking data set header
ERRET=
Specifies the label or register that contains the address of an error routine that receives control if an error occurs while reading an NJE data area from spool. JES2 indicates whether or not the NJE data area was successfully transmitted by returning a return code in register 15.
NJEWORK
Specifies the address of the JTW or STW. This keyword is required.

Return codes

The following return codes (in decimal) are returned in register 15:
Return Code
Meaning
0
JES2 successfully transmitted the NJE data area to another node.
4
An error occurred while transmitting the NJE data area to another node.

Environment

  • JES2 Main task.

Go to the previous page Go to the next page




Copyright IBM Corporation 1990, 2014