Prntfrpc procedure, G-21 – Nlynx ETU400 User Manual

Page 286

Advertising
background image

ETU400 User Guide 011603

G-16

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 B

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 members ATOE1 and ATOE3 are

provided on the AS/400 distribution diskette for

translation from the ASCII to the EBCDIC character set.

See the EDITABLE and COMPILE procedures for more

information on creating new translation table files.

The default value is ATOE1.

Mac Users:

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

the value ATOE1M.

xlat size

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

value is 1000.

record len2

(optional) is the record length of the translation work

file. The default value is the record length of the

library member work file (“record len1”).

input specs

is the name of the field definition member in library
“spec lib”. These are standard F and I (file/input) RPG

input specifications. See Chapter 5, “File Transfer

Facility,” for more information on creating F and I RPG

specifications.

truncate

(optional) is YES if data exceeding the record length
of the library member work file is to be omitted.

Specifying NO causes a new record to be written to

contain the overflow. This parameter is ignored if

translation is not performed. The default value is NO.

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.

lib name

(optional) is the name of the library on the AS/400 to
place the members from the workstation. The default is

the current library.

replace

(optional) specifies whether or not (YES or NO
respectively) to replace an existing library member

without a warning message. The default value is NO.

Advertising