SET

Read syntax diagramSkip visual syntax diagram           (1)
        .---------------------------------------.
>>-SET--+---------------------------------------+--------------><
        |       .-ENG---.                       |
        +-LANG--+-------+-----------------------+
        |       +-CANFR-+                       |
        |       +-FRANC-+                       |
        |       +-GER---+                       |
        |       +-ESPAN-+                       |
        |       +-UCENG-+                       |
        |       +-HANZI-+                       |
        |       '-KANJI-'                       |
        |           .-1024------.               |
        +-MAXVSTOR--+-----------+---------------+
        |           '-kilobytes-'               |
        +-RETRieve--pfkeynn---------------------+
        |            .-TERM---.  .-CEBRxxxx-.   |
        '-TERMOUT--+-+--------+--+----------+-+-'
                   | '-NOTERM-'  '-tsq_name-' |
                   '-CANCEL-------------------'
 
Notes:
  1. If no parameters are passed to the SET command, then SET creates a stem variable (SET.) that contains all of the processing options for the user that was created by the SET or SETSYS commands.

SET sets the REXX/CICS processing options for the current user.

Operands

LANG
specifies that one of the following languages are available:
ENG
English
CANFR
Canadian French
FRANC
French
GER
German
ESPAN
Spanish
UCENG
Uppercase English
HANZI
Traditional Chinese
KANJi
Kanji
MAXVSTOR
is a keyword placing limits on virtual storage use.
kilobytes
specifies the number of kilobytes.
RETRieve
allows a PF key being set to retrieve the last line entered.
pfkeynn
specifies the PF key number.
TERMOUT
sends terminal line-mode output to a CICS temporary storage queue (for example: SAY and TRACE output) even when a terminal is attached.
TERM
specifies that linemode output will be sent to the terminal.
NOTERM
specifies that terminal line-mode output is not displayed on the terminal.
CANCEL
specifies that linemode output will not be sent to a CICS temporary storage queue.
tsq_name
specifies the CICS temporary storage queue name. The default tsq_name is CEBRxxxx where xxxx is your terminal ID. (If you enter the CEBR transaction without specifying a TSQ name, this is the default name that is used.)

Return Codes

0
Normal return
421
Invalid SET subcommand
422
Error storing variable
423
Invalid language
425
Invalid MAXVSTOR operand
426
Invalid RETRIEVE PFkey operand
427
Invalid TERMOUT operand

Example

'SET TERMOUT TERM TSQ1'

This example sets the processing option to send terminal line-mode output to temporary storage queue TSQ1.

Notes

  1. SET LANG only affects REXX syntax messages.
  2. Multiple REXX/CICS users can be using different languages at the same time in the same region.