z/OS Communications Server: SNA Programming
Previous topic | Next topic | Contents | Contact z/OS | Library | PDF


Using the DSECTs

z/OS Communications Server: SNA Programming
SC27-3674-00

Having used the DSECT-creating macroinstructions to define one or more control-block maps, the program can obtain storage for a control block from an assembled pool or dynamically from the system. The address of this storage should be placed in a register and specified in a USING statement before setting or testing values using the statements generated by the macroinstruction. For example, suppose the address of an RPL is in register 5 and that, after a request containing data has been received, it is necessary to determine the value of the RECLEN field of the RPL.

If IFGRPL AM=VTAM is coded, the statement:
USING IFGRPL,5

allows assembler language instructions to refer to the label RPLRLEN to obtain the record length. Further information is in the introductory section of Control block formats and DSECTs.

Go to the previous page Go to the next page




Copyright IBM Corporation 1990, 2014