The sdftr 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 TRSTMT macro ("TRSTMT Analyze statement").
The sdftr function can also be used to create conversion descriptions for the sdfrddef function.
Since the function has an optional parameter, there are 2 different formats.
Format 1:
int sdftr (char *area, char *stmt);
Format 2:
int sdftrall (char *area, char *stmt, char *allow);
Description of the parameters
char *area | Pointer to the buffer in which the standardized transfer area | ||||||
char *stmt | Pointer to a string containing the statement to be analyzed | ||||||
char *allow | Pointer to a list of statements permissible as inputs (must be Format of the list of permissible statements:
| ||||||
N | (2 bytes): |
Result
The function returns an integer as its result (see "Description of the C functions").