
>>-C2S--client_rexx_varname--+---------------------+-----------><
'-server_rexx_varname-'
C2S copies a client REXX variable to a server REXX variable.
- client_rexx_varname
- specifies the client REXX variable to copy from.
- server_rexx_varname
- is an optional name that specifies the server REXX variable
to copy into. If it is not specified, it defaults to the same as the client_rexx_varname.
- 0
- Normal return
- 2440
- No variable name specified
- 2441
- Error retrieving variable
- 2442
- Error storing variable
- 2448
- No client available
'C2S VARA VARB'
This example shows that the contents of the client REXX variable
VARA are copied into the server REXX variable VARB. The length of
VARB is the same as the length of VARA.
- The maximum variable name length supported for this command is
250 characters.
- This command is intended for use only by REXX/CICS server execs
(for example, exec defined by DEFCMD or DEFSCMD).