ETU400 User Guide 011603
6-4
Translating Data Files
The translation commands XLATEFROM and XLATETO translate files separately
from the transfer commands TO3XB and FROM3XB.
These commands can be initiated from the microcomputer that contains or
will contain the file, or from any host terminal. They can be run
interactively or in batch mode. To run them interactively, leave the JOBD
parameter blank.
There are two ways to submit the commands to batch; you can use the
AS/400 command SBMJOB, or submit the command to batch within the context
of the XLATEFROM and XLATETO commands by filling out the JOBD parameter.
If you use the SBMJOB command, leave the JOBD parameter blank.
Translating a Microcomputer File to a Host Format:
The XLATEFROM Command
The XLATEFROM command translates a data file on the host after the file
has been received from the micro with the TO3XB command. You can use
XLATEFROM only if the TO3XB parameters were coded as shown:
filetype(*data), srcseq(*no), translate(*no)
For more information on the TO3XB command see Chapter 5, Transferring
Files, and Chapter 10, ETU Command Reference.
After the file is translated, it will be written to a different host
file, which you specify in the TOFILE parameter. The TOFILE can be an
existing file or a new file. For existing files, enter the names of the
file and the member. For new files, enter the new file and member names
(XLATEFROM will create these); the file type, (it can be a physical file
or a source physical file); and the source file and member containing the
file definition (DDS).
If you create a source physical file, you can have ETU add a 12-byte
source sequence number and date field to the beginning of each record.
This allows the record to be read by Source Entry Utility (SEU) after it
is translated. Specify *YES for the SRCSEQ parameter to add the sequence
number and date field.
Summary of Contents for ETU400
Page 1: ...i ETU400 User Guide AS 400FileTransferUtility...
Page 30: ...ETU400 User Guide 011603 2 5 old versions since most users do not modify these tables...
Page 183: ...ETU400 User Guide 011603 10 53...
Page 239: ...ETU400 User Guide 011603 E 1 Appendix E ERRORMESSAGES NATIVEMODE...
Page 264: ...ETU400 User Guide 011603 F 1 Appendix F ASCII EBCDICPRINTABLECHARACTERS...
Page 304: ...ETU400 User Guide 011603 H 1 Appendix H INTERNATIONALTRANSLATIONTABLES...
Page 309: ...ETU400 User Guide 011603 J 1 Appendix J ETUTHROUGHPUTCONSIDERATIONS...