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

6.2.35 START Statement



The START statement provides a means of positioning within an indexed or relative file for subsequent sequential record retrieval.

When the START statement is executed, the associated indexed or relative file must be open in either INPUT or I-O mode.


    ___ Format _______________________________________________________________________________________ 
   |                                                                                                  |
   | >>__START__file-name-1_________________________________________________________________________> |
   |                                                                                                  |
   | >__ ________________________________________________________________________ __________________> |
   |    |_KEY__ ____ __ _EQUAL__ ____ ____________________________ __data-name-1_|                    |
   |           |_IS_|  |        |_TO_|                            |                                   |
   |                   |_=________________________________________|                                   |
   |                   |_ LESS __ ________ _______________________|                                   |
   |                   |         |_ THAN _|                       |                                   |
   |                   |_ < ______________________________________|                                   |
   |                   |_GREATER__ ______ ________________________|                                   |
   |                   |          |_THAN_|                        |                                   |
   |                   |_>________________________________________|                                   |
   |                   |_NOT LESS__ ______ _______________________|                                   |
   |                   |           |_THAN_|                       |                                   |
   |                   |_NOT <____________________________________|                                   |
   |                   |_ NOT GREATER __ ________ ________________|                                   |
   |                   |                |_ THAN _|                |                                   |
   |                   |_ NOT > __________________________________|                                   |
   |                   |_ LESS __ ________ __ OR EQUAL __ ______ _|                                   |
   |                   |         |_ THAN _|              |_ TO _| |                                   |
   |                   |_ <= _____________________________________|                                   |
   |                   |_GREATER__ ______ __OR EQUAL__ ____ ______|                                   |
   |                   |          |_THAN_|            |_TO_|      |                                   |
   |                   |_>=_______________________________________|                                   |
   |                                                                                                  |
   | >__ __________________________________________ ________________________________________________> |
   |    |_INVALID__ _____ __imperative-statement-1_|                                                  |
   |               |_KEY_|                                                                            |
   |                                                                                                  |
   | >__ ______________________________________________ __ ___________ ____________________________>< |
   |    |_NOT INVALID__ _____ __imperative-statement-2_|  |_END-START_|                               |
   |                   |_KEY_|                                                                        |
   |                                                                                                  |
   |__________________________________________________________________________________________________|
file-name-1
Must name a file with sequential or dynamic access. File-name-1 must be defined in an FD entry in the Data Division, and must not name a sort file.

Subtopics:



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.