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

4.2.3.1 OS/390 and VM Syntax



assignment-name-1
Can be specified as a user-defined word or a nonnumeric literal. Any assignment-name after the first is syntax checked, but it has no effect on the execution of the program.

Assignment-name-1 has the following formats:


    ___ Format--QSAM File __________________________________________________ 
   |                                                                        |
   | >>__ _________ __ _____ __name______________________________________>< |
   |     |_label- _|  |_S- _|                                               |
   |                                                                        |
   |________________________________________________________________________|

    ___ Format--VSAM Sequential File _______________________________________ 
   |                                                                        |
   | >>__ _________ __AS- __name_________________________________________>< |
   |     |_label- _|                                                        |
   |                                                                        |
   |________________________________________________________________________|

    ___ Format--VSAM Indexed or Relative File ______________________________ 
   |                                                                        |
   | >>__ _________ __name_______________________________________________>< |
   |     |_label- _|                                                        |
   |                                                                        |
   |________________________________________________________________________|
label-
Documents the device and device class to which a file is assigned. If specified, it must end with a hyphen.

S-
For QSAM files, the S- (organization) field can be omitted.

AS-
For VSAM sequential files, the AS- (organization) field must be specified.

For VSAM indexed and relative files, the organization field must be omitted.

name
A required field that specifies the external name for this file. Under OS/390 it must be the name specified in the DD statement for this file.

The name must conform to the following rules of formation:

For both user-defined words and literals, the compiler folds name to upper case to form the DD name for the file.

In a sort or merge file, name is treated as a comment.

If the file connector referenced by file-name-1 in the SELECT clause is an external file connector, all file control entries in the run unit that reference this file connector must have a consistent specification for assignment-name-1 in the ASSIGN clause. For QSAM files and VSAM indexed and relative files, the name specified on the first assignment-name-1 must be identical. For VSAM sequential files, it must be specified as AS-name.

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.