
>>-S2C--server_rexx_varname--+---------------------+-----------><
'-client_rexx_varname-'
S2C copies a server REXX variable to a client REXX variable.
- server_rexx_varname
- is the name of the server REXX variable copying from.
- client_rexx_varname
- is the optional name of the client REXX variable copying into.
If you do not specify, it defaults to the same as the server_rexx_varname.
- 0
- Normal return
- 2840
- No variable name specified
- 2841
- Error retrieving variable
- 2842
- Error storing variable
- 2848
- No client available
'S2C VARA VARB'
This example shows the contents of the server REXX variable VARA
copying into the client REXX variable VARB. The length of VARB is
the same as the length of VARA.
- The maximum length allowed of a varname, for this command,
is 250 characters. If a longer name is specified, only the first 250
characters are used.
- The maximum length of a variable copied by S2C is 6000 bytes.
- You can only use the S2C command from a server exec.