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

5.2.5.3 Format 3



Format 3 is used to specify variable-length records.


    ___ Format 3 ___________________________________________________________ 
   |     :                                                                  |
   | >>__RECORD__ ____ __VARYING__ ____ __ ______ ________________________> |
   |             |_IS_|           |_IN_|  |_SIZE_|                          |
   |                                                                        |
   | >__ _____________________ __ _______________ __ ____________ ________> |
   |    |_ ______ __integer-6_|  |_TO__integer-7_|  |_CHARACTERS_|          |
   |      |_FROM_|                                                          |
   |                                                                        |
   | >__ ________________________________ _______________________________>< |
   |    |_DEPENDING__ ____ __data-name-1_|                                  |
   |                 |_ON_|                                                 |
   |                                                                        |
   |________________________________________________________________________|
integer-6
Specifies the minimum number of character positions to be contained in any record of the file. If integer-6 is not specified, the minimum number of character positions to be contained in any record of the file is equal to the least number of character positions described for a record in that file.

integer-7
Specifies the maximum number of character positions in any record of the file. If integer-7 is not specified, the maximum number of character positions to be contained in any record of the file is equal to the greatest number of character positions described for a record in that file.

The number of character positions associated with a record description is determined by the sum of the number of character positions in all elementary data items (excluding redefinitions and renamings), plus any implicit FILLER due to synchronization. If a table is specified:

If data-name-1 is specified:

During the execution of a RELEASE, REWRITE, or WRITE statement, the number of character positions in the record is determined by the following conditions:

During the execution of a READ ... INTO or RETURN ... INTO statement, the number of character positions in the current record that participate as the sending data items in the implicit MOVE statement is determined by the following conditions:



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.