z/OS MVS Program Management: Advanced Facilities
Previous topic | Next topic | Contents | Contact z/OS | Library | PDF


Providing the parameter lists

z/OS MVS Program Management: Advanced Facilities
SA23-1392-00

Your program defines and sets each variable, then creates the parameter list for each function call. The parameter list for each function call is provided in a figure at the end of the function call description. See IEWBIND function reference.

Don't forget to set the high-order bit in the last address of the list to the number 1. This bit signifies to the binder the end of the list of addresses.

Your program is responsible for all of the variables. You must ensure the integrity of the dialog and workmod tokens between calls. Check that all varying character strings have a halfword prefix containing the correct length of the data (not including the prefix). The 2 byte length field is a binary number which immediately precedes the data and is the length of the data only (that is, the length does not include the two bytes where it resides). See Figure 1 for a visual representation of a variable length string parameter.
Figure 1. Example of a variable length string parameterExample of a variable length string parameter

Go to the previous page Go to the next page




Copyright IBM Corporation 1990, 2014