z/OS Using REXX and z/OS UNIX System Services
Previous topic | Next topic | Contents | Contact z/OS | Library | PDF


Conventional MVS variable-length parameter string

z/OS Using REXX and z/OS UNIX System Services
SA23-2283-00

The conventional MVS™ variable-length parameter string is the same parameter list as the one generated by ADDRESS LINKMVS with one parameter, and by JCL with EXEC PGM=,PARM=. Any program can easily use this parameter list form. Note that this is a single-item variable-length parameter list. The high bit is on in the parameter address word and length is a halfword that has a value less than 16384.

Figure 1. Example of parameter list
An example of a parameter list that is similar to the one generated by ADDRESS LINMVS with one parameter and by a JCL with EXEC PGM=,PARM=

PL/I usage might include the following statements:

DCL PLIRETV BUILTIN;
  DCL BPXWDYN EXTERNAL ENTRY OPTIONS(ASM INTER RETCODE);
  DCL ALLOC_STR CHAR(100) VAR
        INIT('ALLOC FI(SYSIN) DA(MY.DATASET) SHR');
  FETCH BPXWDYN;
  CALL BPXWDYN(ALLOC_STR);

Go to the previous page Go to the next page




Copyright IBM Corporation 1990, 2014