6.2.40.1.2 LINAGE-COUNTER Rules
If the LINAGE clause is specified for this file, the associated
LINAGE-COUNTER special register is modified during the execution of the
WRITE statement, according to the following rules:
- 1.
- If ADVANCING PAGE is specified, LINAGE-COUNTER is reset to 1.
- 2.
- If ADVANCING identifier-2 or integer is specified, LINAGE-COUNTER is
increased by the value in identifier-2 or integer.
- 3.
- If the ADVANCING phrase is omitted, LINAGE-COUNTER is increased by 1.
- 4.
- When the device is repositioned to the first available line of a new
page, LINAGE-COUNTER is reset to 1.
X Note: >_Host_> If you use the ADV compiler option, the compiler adds 1
X byte to the record length in order to allow for the control character. If
X in your record definition you already reserve the first byte for the
X control character, you should use the NOADV option. For files defined
X with the LINAGE clause, the NOADV option has no effect. The compiler
X processes these files as if the ADV option were specified. <_Host_<
© Copyright IBM Corp. 1991, 1998
IBM Library Server Copyright 1989, 2005 IBM Corporation. All rights reserved.
Return to library:
z/OS |
z/OS.e |
TPF |
z/VSE |
z/VM |
IBM Hardware |
IBM System z Redbooks
Glossary:
IBM terminology
Publications:
How to order publications
Readers:
Download IBM Library Reader |
Download IBM Softcopy Reader |
Download Adobe® Acrobat® Reader®
Library management:
Download IBM Softcopy Librarian
Contacts:
Contact z/OS
Adobe, the Adobe logo, Acrobat, the Acrobat logo, and Acrobat Reader are registered trademarks
of Adobe Systems incorporated.