![](/images/new-backgrounds/1146581/146581603x1.webp)
reformat (optional) specifies the type of data translation to take place on the AS/400 file.
*TEXT (or *YES) | the file is to be translated into an |
*DIF | ASCII text format. |
the file is to be translated into a | |
*BASICS | DIF format. |
the file is to be translated into a | |
*TAB | BASIC Sequential format. |
the file is to be translated into a | |
| BASIC Sequential format with |
| tab characters as the field |
*NONE | delimiters. |
no translation of the file is to be | |
| performed (the default). |
xlat file (optional) is the translation table file on the AS/400 disk. Translation file members ATOE1 and ATOE3 are provided on the AS/400 distribution diskette for translating from the ASCII to the EBCDIC character set. See the EDITABLE and COMPILE procedures for more information on creating new translation table files. The default value is ATOE1.
Mac Users: Do not use the default “xlat file” value. You must use the value ATOE1M.
xlat size (optional) is the number of records in the temporary work file used in the translation process. The default value is 1000.
record len (optional) is the record length of the output file (“AS/400 label2”). The default value is 128.
input specs is the name of the field definition member in operator library “spec lib”. These are standard F and I (file/input) RPG specifications, defining the file and its fields. This member is required only for the field- oriented translation methods (*DIF, *BASICS, *TAB). See Appendix D for more information on creating F and I RPG specifications.
truncate (optional) is YES if data exceeding the record length of “AS/400label2” is to be omitted. Specifying NO will cause a new record to be written to contain the overflow. This default value is NO.
spec lib (optional) is the library containing the field definition member (“input specs”), and the translate table member (“xlat table”). If left blank this parameter defaults to the current library.
ETU400 User Guide 011603 |