To3xb example – Nlynx ETU400 User Manual

Page 65

Advertising
background image

ETU400 User Guide 011603

5-5

Transferring Data Files From a Microcomputer to the Host:

The TO3XB Command

With the TO3XB command, you can transfer and translate data from a

microcomputer to a file on the host.

The TO3XB command also allows you to store data on the host in ASCII.

This serves as an alternative means of off-site storage for your

microcomputer data. To store the microcomputer data on the host in ASCII,

specify *SAVE as the value for the FILETYPE parameter. To transfer the

data back to the microcomputer, use the FROM3XB command with *YES as the

value for the SAVTYPE parameter.

To transfer a file using TO3XB, specify the name of the micro file you

want to transfer, the name of the host file to which it will be

transferred, and optionally, the translation information that includes

the translation type and translation table.

If the host file will be created during the TO3XB operation, you must

specify the host file type, and either a record length or the file and

member containing Data Description Specifications (DDS). If the host file

existed prior to the TO3XB operation, ETU uses the existing file

definition. For more information about file definitions, see Chapter 4,

Learning About ETU.

If you prefer not to have the data translated during the TO3XB operation,

you translate the file, after it is transferred to the host, with 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 following TO3XB parameters

were coded as shown:

filetype(*data) srcseq(*no) translate(*none)

The TO3XB command can be run only from the microcomputer on which the

file being transferred resides.

Figure 5-2 The TO3XB prompt screen

Transfer to 3X: (TO3XB)

Type choices, press Enter.

File name: . . . . . . . . . . . Name
Library name: . . . . . . . . *LIBL Name, *LIBL
Member name: . . . . . . . . . . *FILE Name, *FILE
Record length (0=existing): . . 0-9989
File type: . . . . . . . . . . . *DATA *DATA, *SRC, *SAVE, *SAVF
Add seq/date field ?: . . . . . *NO *YES, *NO
Type of translate ?: . . . . . . *TEXT *NO, *TEXT, *DIF, *BASICS...
Translation table file name: . . TRANSLATE Name, TRANSLATE, MACTAB
Library name: . . . . . . . . *LIBL Name, *LIBL
Member name: . . . . . . . . . . ATOE1 Name
Truncate text: . . . . . . . . . *NO *YES, *NO
DDS or F & I file name: . . . . *NONE Name, *NONE, *DDS
Library name: . . . . . . . . *LIBL Name, *LIBL
Member name: . . . . . . . . . . *FILE Name, *FILE, *FIRST, *LAST
Qualified file name: . . . . . .

More...
F3=Exit F4=Prompt F5=Refresh F12=Cancel F13=How to use this display
F24=More keys

Advertising