Previous Topic: Get Help About the Command Prefix Label

Next Topic: REXX Functions


REXX Commands

You can execute the following REXX commands from a REXX procedure:

Note: The online help in the NCCF-like facility contains more information about REXX commands.

DOM

Removes a WTO message from one or more consoles.

Parameters: SMSGID

Returned Values:

100 Invalid length.

104 Invalid value

PARSEL2R

Extracts data from the character-string value of a variable and assigns the extracted data to one or more variables using rules called a parsing template. The parsing template specifies a list of symbols, patterns or character selectors, or a combination of these separated by blanks.

Parameters: source_variable, parsing_template

Returned Values:

0 Processing completed successfully.

100 There are not enough parameters.

104 Input buffer is blank.

108 The command list dictionary lookup of source failed.

112 Hexadecimal data in the template is not valid.

116 The command list dictionary update failed.

120 The trailing slash (/) is missing.

VIEW

Displays the full-screen panel from user-written REXX procedures.

Parameters: dummy_name, panel_name, INPUT|NOINPUT, END|NOEND, SWAP|NOSWAP, MSG|NOMSG

Returned Values:

0 Processing completed successfully.

4 Error reading or processing panel definition.

8 Panel containing comment lines only or katakana.

16 Invalid parameters or environment.

81 Invalid panel definition.

WAIT

Suspends processing of a command until the period has elapsed.

Parameters: WAIT nn, WAIT nn SECONDS, WAIT nn MINUTES

Return Values:

0 Processing completed successfully.

8 There are too many parameters.

12 A syntax error occurred.

WTO

Sends a message to one or more consoles.

Parameters: DESC, LINETYPE, MCSFLAG, ROUTCDE, SYSCONID

Return Values:

4 WTO was sent with truncated text.

16 Internal processing failed.

112 SYSCONID length was not valid.

116 SYSCONID value is not valid.

124 The command list dictionary update failed.

136 LINETYPE is not valid.

140 KEY length is not valid.

164 ROUTCDE value is not valid.

172 MCSFLAG value is not valid.

176 DESC value is not valid.

204 No message passed. Completed successfully.

WTOR

Sends a message to one or more consoles and requests a reply.

Parameters: MCSFLAG, ROUTCDE, SYSCONID

Return Values:

4 WTO was sent with truncated text.

16 Internal processing failed.

100 No message passed. Completed successfully.

112 SYSCONID length was not valid.

116 SYSCONID value is not valid.

124 The command list dictionary update failed.

136 LINETYPE is not valid.

140 KEY length is not valid.

164 ROUTCDE value is not valid.

172 MCSFLAG value is not valid.