Nlynx ETU400 manual Translating a Host File to Microcomputer Format, Strip*no translate*no

Models: ETU400

1 314
Download 314 pages 52.42 Kb
Page 82
Image 82

Translating a Host File to Microcomputer Format:

The XLATETO command translates a AS/400 physical file to a format usable on the microcomputer. You will use this command prior to transferring the file to the PC with the FROM3XB command.

After you translate the data, you must enter the following FROM3XB parameters as shown:

strip(*no) translate(*no)

When the file is translated, it is written to a different host file, which you specify in the PCDATA parameter. The PCDATA file can be an existing file or a new file. For existing files, enter the names of the file and the member, for the RECL parameter, specify zero.

For new files, enter the file and member names (XLATETO will create these). If you are translating a source physical file, you can remove the first 12 bytes from each record (which contain the source sequence number and date field), by specifying *YES as the STRIP parameter.

If you are translating an ASCII file with a fixed record length, enter *FILE in the RECL parameter. This tells ETU to use the record length of the FRMFILE.

For more information on the FROM3XB command see Chapter 5, Transferring Files, and Chapter 10, ETU Command Reference.

Figure 6-2 The XLATETO prompt screen

Translate data to PC: (XLATETO)

Type choices, press Enter.

 

 

Host data

file name: .

. . . . .

 

Name

Library

name: . . .

. . . . .

*LIBL

Name, *LIBL

Host data

member name:

. . . . .

*FILE

Name, *FILE, *ALL, *FIRST...

PC data file for use by TOPC: .

 

Name

Library

name: . . .

. . . . .

*LIBL

Name, *LIBL

PCDATA member name: .

. . . . .

*FILE

Name, *FILE

Strip seq/date field?:

. . . . .

*NO

*YES, *NO

Type of translate: . .

. . . . .

*TEXT

*TEXT, *BASICS, *DIF, *TAB

Translation table file name: . .

TRANSLATE

Name, TRANSLATE, MACTAB

Library

name: . . .

. . . . .

*LIBL

Name, *LIBL

Translation table member name:

ETOA1

Name

Record length (0=existing): . .

*FILE

0-9989, *FILE

Job description: . . .

. . . . .

 

Name

Library

name: . . .

. . . . .

*LIBL

Name, *LIBL

Field translation definition: .

*DDS

Name, *DDS

Library

name: . . .

. . . . .

*LIBL

Name, *LIBL

 

 

 

 

More...

F3=Exit

F4=Prompt

F5=Refresh

F12=Cancel

F13=How to use this display

F24=More keys

 

 

 

ETU400 User Guide 011603

6-7

Page 82
Image 82
Nlynx ETU400 manual Translating a Host File to Microcomputer Format, Strip*no translate*no