The XLATETO command translates an AS/400 physical file member prior to transferring it to a micro. It is intended for use in instances where translation is to occur sometime before the actual transfer with the FROM3XB command (for instance, on a long-distance telephone line in order to keep line costs down). This command can be put on the JOBQ with the SBMJOB command (in that case, do not specify the JOBD parameter). This command may be executed from any terminal on the AS/400, not necessarily the connecting micro, as it does not involve any interaction with the micro.

When using FROM3XB to transfer the resulting data, code the FROM3XB parameters STRIP and TRANSLATE as follows:

strip(*no), translate(*no)

FRMFILE The file name of the AS/400 file to be translated.

Library The library containing the FRMFILE file. *LIBL is the default, specifying that all libraries in the library list are to be searched.

FRMMBR The FRMFILE member name. You can enter the member name or one of the following values:

*FILE Translates the member with the same name as the FRMFILE file (the default).

*ALL Translates all members in the file into one member. *ALL is not valid with *DIF translation.

*FIRST Processes the first member (arrival sequence) in the file.

*LAST Processes the last member (arrival sequence) in the file.

PCDATA The name of the AS/400 physical file that is to contain the translated data.

Library The library containing the PCDATA. *LIBL is the default, specifying that all libraries in the library list are to be searched.

PCMBR The PCDATA file member name.

STRIP For source physical files only: Specifies whether the 12-byte source sequence number and data field for source physical files is to be removed before translation.

*YES Strip off (ignore) the first 12 bytes.

*NO Do not strip off any data from the record (default).

TRANSLATE Specifies the type of file translation that is to be performed:

*TEXT Converts the file to text format (the default).

*DIF Converts the file to DIF format.

ETU400 User Guide 011603

10-58

Page 188
Image 188
Nlynx ETU400 manual 10-58