The TRNS function analyzes a statement in text format and translates it into the format for the standardized transfer area. The result of this analysis is stored in the standardized transfer area. For detailed information, see the description of the macro TRSTMT macro ("TRSTMT Analyze statement").
The TRNS function can also be used to create conversion descriptions for the READ function.
Call
CALL SDF('TRNS',area,error,stmt)
Description of the parameter list
Parameter | Data type | Input/ | Meaning |
TRNS | char(4) | in | Function name: keyword TRNS |
area | char() | inout | Buffer in which the standardized transfer area was stored (see INIT) |
error | integer | out | Return code |
stmt | V-rec@ | in | Address of a variable-length record containing the statement to be analyzed in text format |
The TRSTMT macro is called with the following defaults:
STMT=*ALL
DIALOG=*ERROR
MESSAGE=*NO
PROT=*NO
INVAR=*NO
DEFAULT=*NO
ERROR=*NO
CALLID=*NO
EXECUTE=*NO
PROCMODE=*ANY
CCSNAME=*NO