Overview | Statement List | Example
string list = PARTOP/{ASK,{work|dsplay|all}|SET,{work|dsplay},part_specifier}[,IFERR,LABEL:]
Provides the capability to:
ask for the work or displayed part, or all loaded/partially loaded parts
set the work or displayed part.
Parameter |
Description |
ASK |
Returns the string name(s) for the designated work, displayed, or loaded parts. You must allocate enough string space for the result when using the ASK minor word. For example, consider the following usages. |
work |
Specifies the work part. |
dsplay |
Specifies the displayed part. |
all |
Specifies all the loaded parts. |
SET |
Allows you to set the part to either the work part or the displayed part. |
part_specifier |
Specifies a string variable or a string literal. When using the ASK minor word, this will contain the returned part name. When using the SET minor word, this variable should contain the name of the part to set to be the work or displayed part. |
IFERR,label: |
The IFERR parameter specifies a label to which the program jumps if an error occurs. |