

OPS/REXX Built-in Functions › OPSIPL Function
OPSIPL Function
The OPSIPL function obtains the parameter library member suffix and value of the requested IPL parameter. This information is obtained from the IPA control block of z/OS.
Note: The OPSIPL function can be used in OPS/REXX, AOF rules, TSO/E REXX, or CLIST.
This function has the following format:
var= OPSIPL(member prefix,parameter)
- member prefix
-
The member prefix argument specifies the fixed portion of the Logical Parmlib Concatenation member name, which is associated with the subsequent parameter specification. The first data item returned is always the two-character suffix of the member name from which the associated parameter was derived by the system at IPL.
Possible values for the member prefix are:
- LOAD
-
The subsequent parameter keyword is associated with a LOADxx member of the Logical Parmlib Concatenation, or the IPL parameters specified by the operator from the service console.
- IEASYS
-
The subsequent parameter keyword is associated with an IEASYSxx member of the Logical Parmlib Concatenation. Since multiple IEASYSxx members may be used for the IPL, the suffix value returned is important in determining the actual IEASYSxx member that is the source of the parameter value.
- parameter
-
The parameter argument identifies the keyword data item of the member prefix for which the value is desired.
The following are the LOADxx-related parameters:
- HWNAME-The HCD name of the central processor complex
- IEASYM-The suffix string of the IEASYMxx members
- IODF-The I/O definition file statement image
- IODFUNIT-The IODF unit address
- IPLDEVICE-The IPL load parameter data set device number
- IPLDSN-The IPL load parameter data set name
- IPLFLAGS-The LOADxx usage flags (1 byte binary).
Possible values are:
- IPLIMSI-The initial message suppression character from the IPL
- IPLTOD-The load parameter suffix followed by the date and time of completion of system initialization.
(ss yy/mm/dd HH:MM:SS)
- LPARNAME-The partition name, in HCD or IOCP
- MTLSHARE-The MTLSHARE value (Y or N), enables a full-support MTL system to treat manual tape library defined devices as stand-alone devices.
- NUCLEUS-The one-digit suffix of the selected nucleus IEANUC0n
- NUCLST-The suffix of the NUCLSTxx parameter library member and wait flag
- PARMLIB0-The number of parmlib data sets defined
- PARMLIB1-The first parameter library DSN, volume serial number, and usage flag (1 byte binary)
- PARMLIB2-The second parameter library DSN, volume serial number, and usage flag
- PARMLIB3-The third parameter library DSN, volume serial number, and usage flag
- PARMLIB4-The fourth parameter library DSN, volume serial number, and usage flag
- PARMLIB5-The fifth parameter library DSN, volume serial number, and usage flag
- PARMLIB6-The sixth parameter library DSN, volume serial number, and usage flag
- PARMLIB7-The seventh parameter library DSN, volume serial number, and usage flag
- PARMLIB8-The eighth parameter library DSN, volume serial number, and usage flag
- PARMLIB9-The ninth parameter library DSN, volume serial number, and usage flag
- PARMLIB10-The tenth parameter library DSN, volume serial number, and usage flag
- PARMLIB11-The eleventh parameter library DSN, volume serial number, and usage flag.
- PARMLIB12-The twelfth parameter library DSN, volume serial number, and usage flag.
- PARMLIB13-The thirteenth parameter library DSN, volume serial number, and usage flag.
- PARMLIB14-The fourteenth parameter library DSN, volume serial number, and usage flag.
- PARMLIB15-The fifteenth parameter library DSN, volume serial number, and usage flag.
- PARMLIB16-The sixteenth parameter library DSN, volume serial number, and usage flag.
- PARMLIB17-The seventeenth parameter library DSN, volume serial number, and usage flag.
- SYSCAT-The Master catalog definition statement image
- SYSPARM-The suffix string for IEASYSxx members
- SYSPLEX-The name of the sysplex that the system participates in
- VMUSERID-The z/VM userid under which the guest system is running
Following are the IEASYSxx-related parameters:
Documentation on the meaning and format of all parameters can be found in the z/OS Initialization and Tuning Reference and in the z/OS macro IHAIPA.
Examples: OPSIPL
- Example 1
Display the IODF statement of the LOADxx member and parse the result:
iodf = OPSIPL('LOAD' , 'IODF')
>>> iodf = '00 00 IODF CONFIGPR'
Parse Var iodf load_suffix iodf_stmt
Parse Var iodf_stmt iodf_suffix 3 . 4 iodf_hlq 12 . 13,
iodf_config 21 . 22 iodf_edt 24 . 25 iodf_devsup 26
- Example 2
- Display the value of the CMD parameter of the IEFSYSxx member.
- Display the result.
- Read each member into the external data queue:
cmdx = OPSIPL('IEASYS','CMD')
>>> cmdx = '01 (00,44,A2)'
Parse Var cmdx ieasys_suffix cmdval
cmdval = Strip(Translate(cmdval,,'(,)'))
Do while cmdval <> ''
Parse Var cmdval suffix cmdval
pcnt = OPSPRMLB('LISTMEM','COMMND'||suffix)
End
- Example 3
- Example 4
Some parameters yield null values when they are not specified:
Say OPSIPL('IEASYS','DEVSUP')
>>> '
Copyright © 2013 CA.
All rights reserved.
 
|
|