LINEOFFSET

Determines whether ANSI carriage-control characters are used to calculate the record offsets when determining the location of the fields.

Required
No
Default Value
ASREAD
Data Type
AFP, Line
Restriction: The LINEOFFSET parameter is not available in IBM® Content Manager OnDemand for z/OS®.

Only the 0 (space two lines) and the dash (space three lines) are supported. The + (overstrike) character is not supported. Any carriage control values other than those supported are treated, for the purpose of determining record offset values, the same as the "Space one line" action.

For example, the first 3 records of an input file contain the following. The first character is an ANSI carriage control.
1REPORT
-ACCOUNT 777777
0JOHN SMITH
Using ASREAD (the default), the indexing parameters to collect the account number and name would be as follows:
TRIGGER1=*,2,'REPORT'
FIELD1=1,10,6
FIELD2=2,2,10
Using ASPRINTED, the indexing parameters to collect the account number and name would be as follows:
TRIGGER1=*,2,'REPORT'
FIELD1=3,10,6
FIELD2=5,2,10

Syntax

LINEOFFSET=value

Options and values

The value can be:
ASREAD
ANSI carriage controls are not used to calculate the record offsets for the fields. The offsets are relative to the lines as they are read from the load file.
ASPRINTED
ANSI carriage controls are used to calculate the record offsets for the fields. The offsets are relative to the line spacing that occurs when the lines are printed.

Related parameters