![](/images/new-backgrounds/1146581/146581355x1.webp)
TO3XB Command
Parameter description | Parameter name | Parameter values |
File name | TOFILE | host file name |
Library name |
| *MULTI |
| *LIBL | |
Member name | FRMMBR | library name |
*FILE | ||
|
| *MULTI |
Record length | RECL | member name |
*FILE | ||
File Type | FILETYPE | *DATA |
|
| *SAVE |
|
| *SRC |
Add seq/date field |
| *SAVF |
SRCSEQ | *NO or *YES | |
Type of translation | TRANSLATE | *TEXT or *YES |
|
| *DIF |
|
| *BASICS |
|
| *TAB |
Translation file name |
| *NO or *NONE |
TRNSFILE | TRANLATE | |
|
| MACTAB |
Library name |
| file name |
| *LIBL | |
Member name | TRANSMBR | library name |
*ATOE1 | ||
Truncate text | TRUNCATE | member name |
*NO | ||
DDS or F&I file name | FLDDEFFILE | *YES |
*NONE or *DDS | ||
Library name |
| file name |
| *LIBL | |
Member name | FLDDEFMBR | library name |
*FILE | ||
Qualified file name | QFNAME1 | file name |
micro file name | ||
Save request definition? | SAVRQS | *NO or *YES |
Request name | DSPSTSMSG | name of request |
Display status message? | *NO or *YES |
The TO3XB command transfers a micro file to the AS/400, and, optionally, translates the data. The data is translated according to the specified translation type and translation table. Four different types of translation can be selected: *DIF, *BASICS, *TAB, and *TEXT (see Chapter 4, Learning About ETU, for more information on each type), or *NONE for no translation.
NOTE: *DIF, *BASICS, and *TAB translations require that the fields in the IBM data file be defined in advance of the file transfer. The fields may be defined with data description specifications (DDS) associated with the data file, or with a source member created with standard RPG F and I specifications that describe the field layouts of the data file.
TOFILE The qualified file name of the AS/400 file into which the micro data is to be written.
Library The name of the library containing the TOFILE. The default is *LIBL. You must specify an existing library
ETU400 User Guide 011603 |