Xltpcprt procedure, G-33 – Nlynx ETU400 User Manual

Page 298

Advertising
background image

ETU400 User Guide 011603

G-28

reformat

(optional) specifies the type of data translation to
take place on the AS/400 file.

*TEXT (or *YES)

the file is to be translated into an

ASCII text format.

*DIF

the file is to be translated into a

DIF format.

*BASICS

the file is to be translated into a

BASIC Sequential format.

*TAB

the file is to be translated into a

BASIC Sequential format with tab

characters as the field delimiters.

*NONE

no translation of the file is to be
performed(the default).

xlat file

(optional) is the translation table file on the AS/400
disk. Translation file member ETOA1 is provided on the

AS/400 distribution diskette and can be used to

translate from the EBCDIC to the ASCII character set in

variable length records. Translation file member ETOA2

is provided on the AS/400 distribution diskette and can

be used to translate from the EBCDIC to the ASCII

character set in fixed length records. See the EDITABLE

and COMPILE procedures for more information on creating

new translation table files. The default value is

ETOA1.

Mac Users:

Do not use the “xlate file” default value. You must use

either ETOA1M for variable length records or ETOA2M for fixed length
records.

xlat size

(optional) is the number of records in the temporary
work file used in the translation process. The default

value is 1000.

record len

(optional) is the record length of the output file
(“AS/400 label2”). The default value is 128.

input specs

is the name of the field definition member in user
library “spec lib”. These are standard F and I

(file/input) RPG specifications, defining the file and

its fields. See Appendix D, “Creating F&I

Specifications,” for more information on creating the F

and I RPG specs.

spec lib

(optional) is the library containing the field
definition member (“input specs”), and the translate

table member (“xlat table”). If left blank this

parameter defaults to the current library.

Advertising