Library View Topics Framed Contents Revised Topics Previous Topic Next Topic Search Search ResultsPrevious Topic MatchNext Topic Match Notes List Notes Print Download No PDF Handheld DisconnectedHandheld ConnectedHelp

X 8.1.1 BASIS Statement

X The BASIS statement is an extended source program library statement. It
X provides a complete COBOL program as the source for a compilation.

X A complete program can be stored as an entry in a user's library and can
X be used as the source for a compilation. Compiler input is a BASIS
X statement, optionally followed by any number of INSERT and/or DELETE
X statements.

 X  ___ Format _____________________________________________________________ 
 X |                                                                        |
 X | >>__ _________________ __BASIS__ _basis-name_ ______________________>< |
 X |     |_sequence-number_|         |_literal-1__|                         |
   |                                                                        |

X sequence-number

X Can optionally appear in columns 1 through 6, followed by a space.
X The content of this field is ignored.


X Can appear anywhere in columns 1 through 72, followed by basis-name.
X There must be no other text in the statement.

X basis-name, literal-1

X It is the name by which the library entry is known to the system
X environment.

X For rules of formation and processing rules, see the description under
X literal-1 and text-name-1 of the "COPY Statement" in topic 8.1.4.

X The source file remains unchanged after execution of the BASIS statement.

X Note: If INSERT or DELETE statements are used to modify the COBOL source
X program provided by a BASIS statement, the sequence field of the COBOL
X source program must contain numeric sequence numbers in ascending order.

Previous Topic Next Topic 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.