Nlynx ETU400 Manuale Utente

Pagina di 314
ETU400 User Guide 011603
 
G-19
record len1 
(optional) is the record length of the library
member(s) to be sent to the workstation. This parameter
defaults to 96 if SOURCE is specified for “member
type”, 120 if PROC or LIBRARY is specified, or 8 if
LOAD or SUBR is specified. A record length of 8 
creates a sector mode file, and 40 to 120 create record
mode files.
file size 
(optional) is the number of records in the temporary 
work file used in the translation process. The default
value is 1000.
remove ctl 
(optional) specifies whether to remove the AS/400
utility control ($MAINT) statements from the library
member(s) before they are sent to the workstation.
Specifying YES removes the statements. The default
value is NO.
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. 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 default value. You must use either
ETOA1M for variable length records or ETOA2M for fixed length records.
record len2 
(optional) is the record length of the translated
(workstation-formatted) AS/400 file to be sent to the
workstation. This parameter defaults to “record len1”,
and is ignored if translation is not performed.
input specs
is the name of the field definition member in library
“spec lib” that defines the fields of the file being
translated. These are standard F and I (file/input) RPG
specifications, defining the file and its fields. See
Chapter 4, “File Transfer Facility,” for more
information on creating F and I RPG specifications.