LISTCMD

Read syntax diagramSkip visual syntax diagram>>-LISTCMD--+---------+--+---------+---------------------------><
            '-envname-'  '-cmdname-'
 

LISTCMD lists REXX command definition information (previously specified by DEFCMD).

Operands

envname
specifies the name of the command environment defined using DEFCMD or DEFSCMD.
cmdname
specifies the name of a command specified in DEFCMD or DEFSCMD.

Return Codes

0
Normal return
821
Invalid environment name
822
Invalid command name

Example

'LISTCMD EDITSVR MYCMD'

This example returns the information defined in DEFCMD for the subcommand MYCMD.