IBM OS/390 Manuel D’Utilisation

Page de 673
OPEN
SAMFILE
.
WRITE SAMFILE,SQ,DATA
VSE
CHECK SAM FILE
.
CLOSE SAMFILE
SAMFILE
DTFSD DEVADDR=SYS005,DELETFL=NO,
C
DEVICE=3340,RECFORM=FIXUNB,
C
BLKSIZE=8O,TYPEFLE=WORK,VERIFY=YES
SDMODW
OPEN
SAMFILE,(OUTPUT))
.
WRITE DECB,SF,SAMFILE,DATA
MVS
CHECK DECB
.
CLOSE SAMFILE
SAMFILE
DCB
DDNAME=SAMDD,RECFM=F,DSORG=PS,
C
BLKSIZE=80,MACRF=(W)
Figure 39. Sequential DASD FILE Program i n VSE and MVS
13.2.6.11 LIOCS Direct Access File Definition
The following text discusses modifying DASD direct access files for use under
MVS.
General Considerations
File definition is accomplished under VSE by a DTFDA macro and by a DCB
macro under MVS. Equivalents of certain DTFDA parameters are not specified in
the DCB. You must specify some of these in a DD statement or in the imperative
macro instructions. Figure 40 on page 312 shows a comparison of the operands
of the DTFDA and DCB macros.
Chapter 13. A s s e m b l e r
311