ETU400 User Guide 011603
8-8
End-of-File Action
This is identical to end-of-record action with one exception. This
function also completes translation and terminates the program.
Comments
Are printed in the translation table compiler listing.
There are five special records for the translation table compiler. These
records define what action is to be taken for end-of-record and end-of-
file for FROM3XB translation. On TO3XB translation, the special records
determine if trailing blanks or nulls should be omitted.
The *1 to *9 records specify additional TO HEX characters for end-of-
record and file processing. The five special records are defined as
follows:
*EOR statement
-- If *EOR is coded in the FROM HEX area (positions 1-4),
this statement will define the action to be taken for a FROM3XB translate
upon reaching the end of the text in the record currently being
translated. Normally, this statement would be used to insert a CR/LF (hex
0D0A). If the *TRAIL statement has been specified, the end of record
condition is met when the remainder of the input record being processed
contains only the character specified in the TO HEX field of the *TRAIL
statement.
*EOF statement
-- This statement defines the action to be taken upon end
of file on the file being translated. This can be used to write the end-
of-file character hex 1A in the record before closing the file to be sent
to the micro with the FROM3XB command.
The *EOF is coded in position 1 through 4 of the translation table
source.
*TRAIL statement
-- This statement specifies the trailing character to be
stripped in a FROM3XB translate, and the default pad character for a
TO3XB translate. *TRAIL is coded in positions 1 through 6 and the
trailing character (in hex) is coded in position 19 and 20. No other data
except comments is valid in this statement.
*1 - *9
-- These entries define additional End-of-Record and file TO HEX
characters. This statement is coded with the * in position 1 and the
number one through nine in position 2. The remainder of the FROM HEX
field (positions 3 through 18) must be blank. The only valid entries on
this statement are the TO HEX characters and comments.
Comment statements -- Comment statements can be included in the
translation table source by coding ** in positions 1 and 2.
Summary of Contents for ETU400
Page 1: ...i ETU400 User Guide AS 400FileTransferUtility...
Page 30: ...ETU400 User Guide 011603 2 5 old versions since most users do not modify these tables...
Page 183: ...ETU400 User Guide 011603 10 53...
Page 239: ...ETU400 User Guide 011603 E 1 Appendix E ERRORMESSAGES NATIVEMODE...
Page 264: ...ETU400 User Guide 011603 F 1 Appendix F ASCII EBCDICPRINTABLECHARACTERS...
Page 304: ...ETU400 User Guide 011603 H 1 Appendix H INTERNATIONALTRANSLATIONTABLES...
Page 309: ...ETU400 User Guide 011603 J 1 Appendix J ETUTHROUGHPUTCONSIDERATIONS...