z/OS ISPF Reference Summary
Previous topic | Next topic | Contents | Contact z/OS | Library | PDF


SELECT—select a panel or function

z/OS ISPF Reference Summary
SC19-3624-00

Command invocation format

Read syntax diagramSkip visual syntax diagram
>>-ISPEXEC--SELECT---------------------------------------------->

>--+-PANEL(panel-name)--+-------------+--+--------+----------------------------------+-->
   |                    '-OPT(option)-'  '-ADDPOP-'                                  |   
   +-CMD(command)--+------------------+--+------------------+--+---------+--+------+-+   
   |               '-LANG(-+------+-)-'  '-MODE(-+------+-)-'  '-BARRIER-'  '-NEST-' |   
   |                       +-APL--+              +-LINE-+                            |   
   |                       '-CREX-'              '-FSCR-'                            |   
   +-PGM(program-name)--+------------------+--+------------------+-------------------+   
   |                    '-PARM(parameters)-'  '-MODE(-+------+-)-'                   |   
   |                                                  +-LINE-+                       |   
   |                                                  '-FSCR-'                       |   
   |                             .-MODELESS-.                  .-MAX-.  .-VIS---.    |   
   +-WSCMD(workstation-command)--+----------+--+------------+--+-----+--+-------+----+   
   |                             '-MODAL----'  '-WSDIR(DIR)-'  '-MIN-'  '-INVIS-'    |   
   |                   .-MODELESS-.                  .-MAX-.  .-VIS---.              |   
   '-WSCMDV(var_name)--+----------+--+------------+--+-----+--+-------+--------------'   
                       '-MODAL----'  '-WSDIR(DIR)-'  '-MIN-'  '-INVIS-'                  

>--+--------------------------------------------+--------------->
   +-NEWAPPL--+------------------+--+---------+-+   
   |          '-(application-id)-'  '-PASSLIB-' |   
   '-+---------+--------------------------------'   
     '-NEWPOOL-'                                    

>--+---------------------------+-------------------------------->
   '-+---------+--+----------+-'   
     '-SUSPEND-'  '-EXCLPROF-'     

>--+----------------------------+------------------------------><
   '-SCRNAME--(--screen-name--)-'   

Call invocation format

Read syntax diagramSkip visual syntax diagram
>>-CALL--ISPEXEC--(buf-len,--buffer);--------------------------><

OR

Read syntax diagramSkip visual syntax diagram
>>-CALL--ISPLINK--('SELECTbb',--length,--keywords);------------><

Note: These parameters can appear in "keywords":
Read syntax diagramSkip visual syntax diagram
>>-+-PANEL(panel-name)--+-------------+--+--------+----------------------------------+-->
   |                    '-OPT(option)-'  '-ADDPOP-'                                  |   
   +-CMD(command)--+------------------+--+------------------+--+---------+--+------+-+   
   |               '-LANG(-+------+-)-'  '-MODE(-+------+-)-'  '-BARRIER-'  '-NEST-' |   
   |                       +-APL--+              +-LINE-+                            |   
   |                       '-CREX-'              '-FSCR-'                            |   
   +-PGM(program-name)--+------------------+--+------------------+-------------------+   
   |                    '-PARM(parameters)-'  '-MODE(-+------+-)-'                   |   
   |                                                  +-LINE-+                       |   
   |                                                  '-FSCR-'                       |   
   |                             .-MODELESS-.                  .-MAX-.  .-VIS---.    |   
   +-WSCMD(workstation-command)--+----------+--+------------+--+-----+--+-------+----+   
   |                             '-MODAL----'  '-WSDIR(DIR)-'  '-MIN-'  '-INVIS-'    |   
   |                   .-MODELESS-.                  .-MAX-.  .-VIS---.              |   
   '-WSCMDV(var_name)--+----------+--+------------+--+-----+--+-------+--------------'   
                       '-MODAL----'  '-WSDIR(DIR)-'  '-MIN-'  '-INVIS-'                  

>--+--------------------------------------------+--------------->
   +-NEWAPPL--+------------------+--+---------+-+   
   |          '-(application-id)-'  '-PASSLIB-' |   
   '-+---------+--------------------------------'   
     '-NEWPOOL-'                                    

>--+---------------------------+-------------------------------->
   '-+---------+--+----------+-'   
     '-SUSPEND-'  '-EXCLPROF-'     

>--+----------------------------+------------------------------><
   '-SCRNAME--(--screen-name--)-'   

Return codes

These return codes are possible if a panel is specified:
 0
Normal completion. The END command was entered from the selected menu.
 4
Normal completion. The RETURN command was entered or the EXIT option was specified from the selected menu or from some lower-level menu.
12
The specified panel could not be found.
16
Truncation error in storing the ZCMD or ZSEL variable.
20
Severe error.
Note:
  1. A return code of 0 is returned when the SELECT service has been coded with no other parameters.
  2. If a command or program is invoked by using SELECT, the return code from the command or program is passed to the function that invoked SELECT.
These return codes are possible from a MODAL workstation command:
20
Parameter or syntax on SELECT service (all SELECTs) is not valid.
41
A null command was passed to the workstation.
42
ISPF was not able to start the command at the workstation.
43
Remote execution of commands was not allowed by the user.
OTHER
The return code from the workstation command + 100 if the return code from the workstation command was > 0.

Go to the previous page Go to the next page




Copyright IBM Corporation 1990, 2014