The TRANSVV macro is used by a client to carry out a variable transmission via the specified S variable stream to the server that is currently assigned (ASSIGN-STREAM command). TRANSVV is functionally equivalent to the TRANSMIT-BY-STREAM command. TRANSVV can only use S variable streams that were assigned at the same procedural hierarchy level at which the program was started.
Operation | Operands |
TRANSVV | MF = E ,PARAM = <name 1..8> / (<integer 1..15>) |
MF = D [,PREFIX = T / prefix] | |
MF = C [,PREFIX = T / prefix] [,MACID = RAN / macid] | |
MF = L/M ,STREAM = <name 1..20> [,VNAME = *NONE / <name 1..8> / (integer 1..15)] [,VNAMEL = <integer 1..255>] [,VSCOPE = *VISIBLE / *TASKONLY ] [,RNAME = *SAME / *NONE / <name 1..8> / (integer 1..15)] [,RNAMEL = <integer 1..255>] [,RSCOPE = *VISIBLE / *TASKONLY ] [,CNAME = *NONE / <name 1..8> / (integer 1..15)] [,CNAMEL = <integer 1..255>] [,CSCOPE = *VISIBLE / *TASKONLY ] [,RCNAME = *SAME / *NONE / <name 1..8> / (integer 1..15)] [,RCNAMEL = <integer 1..255>] [,RCSCOPE = *VISIBLE / *TASKONLY] |
Return codes (hexadecimal)
Subcode2 | Subcode1 | Maincode | Meaning |
00 | 00 | 0000 | Transmission successfully completed; no error |
01 | 00 | 0000 | Variable stream was assigned to *DUMMY, no transmission |
00 | 01 | 0001 | Parameter error |
00 | 40 | 0002 | Specified variable stream is incomplete |
00 | 40 | 0003 | Specified variable is incomplete |
00 | 40 | 0004 | RET-SSTA too small (for developers only) |
00 | 01 | 0005 | The data items transmitted (user or control data) do not have a format compatible with one the server can process |
00 | 40 | 0006 | Error message from the server; saved in RCNAME (if specified) |
02 | 00 | 0007 | Warning from the server; saved in RCNAME (if specified) |
02 | 00 | 0008 | Variable stream reset to *DUMMY; server is no longer active |
00 | 20 | 0009 | System error |
00 | 20 | 000A | Error during server connection |
00 | 01 | FFFF | Unknown unit or function number |
00 | 02 | FFFF | Function is not available |
00 | 03 | FFFF | Wrong version of the operand list |
00 | 41 | FFFF | SDF-P is not loaded |
00 | 81 | FFFF | SDF-P no longer working |