April 27,1981
132.2 IBM VM/370 eMS User's Guide
April 27, 1981 When you enter a data set name using the DSN keyword, either
with or without a request for prompting, you should omit the device
type specification of DISK, unless you want to assign a CMS file
identifier, as in the example below. You can also relate an OS data set name to a CMS file identifier:
filedef inputdd disk ossim file c1 dsn monthly records
Then you can refer to the OS data set MONTHLY. RECORDS by using the CMS file identifier, OSSIM FILE:
state ossim file c When you do not issue a FILEDEF command for a program input or output
file, or if you enter only the ddname and device type on the FILEDEF
command, such as:
filedef oscar disk
then CMS issues a default file definition, as follows:
FILEDEF ddname DISK FILE ddname A1
where ddname is the ddname you assigned in the DDNAME operand of the DCB
macro in your program or on Lhe FILEDEF command. For example, if you
assiqn a ddname of OSCAR to an output file and do not issue a FILEDEF
command before you execute the program, then the CMS file FILE OSCAR A1
is created when you execute the program. SPECIFYING CMS TAPE LABEL PROCESSING You can use the label operands on the FILEDEF command to indicate that CMS tape label processing is not desired (this is the default). If CMS tape label processing is desired you can use the label operands on the
FILEDEF command to indicate the types of labels on your tape. See "Tape
Labels in CMS" for a description of CMS tape label processing. SPECIFYING OPTIONS The FILEDEF command has many options; those mentioned below are a
sampling only. For complete descriptions of all the options of the
FILEDEF command, see the anQ RECFM, DSORG: If you are using the FILEDEF command to
relate a data (DCB) in a program to an input or output
file, you may need to supply some of the file format information, such
as the record length and block size, on the FILEDEF command line. For
example, if you have coded a DCB macro for an output file as follows: OUT FILE DCB DDNAME=OUT,MACRF=PM,DSORG=PS then, when you are issuing a FILEDEF for this ddname, you must specify
the format of the file. To create an output file on disk, blocked in OS simulated data set format, you could issue:
filedef out disk myoutput file a4 (recfm fb lrecl 80 block 1600 section 8. Developing OS Programs Under CMS 133
Previous Page Next Page