IBM OS/390 User Manual

Page of 673
WRITE Macro
Notes:
 1. TYPE = DA, DAF, DI, DIF, DIX, DK, DKF, or DKX.
 2. 
S
- system supplies the operand if you specify
S
′.
 3. If the key is not written or used as a search argument, zero is specified
instead of keyaddress.
CNTRL Macro
There is no equivalent in MVS BDAM to the VSE CNTRL macro. The MVS CNTRL
macro does not support DASD devices.
WAITF, OPEN and CLOSE Macros
Notes:
 1. DISP is assumed when no positioning option is specified in the CLOSE
macro. The volume is then positioned according to the position implied by
the DISP parameter of the DD statement.
 2. Any number of dcbaddresses m a y be specified in the OPEN and CLOSE
macros.
VSE
WRITE
KEY
filename
,
ID
(1)
RZERO
AFTER
AFTER,EOF
MVS
WRITE
decbname,type,
dcbaddress
,
area address,
(2-12)
(2-12)
S
length
key address
(2-12) , (2-12)
, block address
S
S
(2-12)
0
VSE
WAITF
filename
(r1)
MVS
WAIT
CHECK
number of events,
ECB = address
ECBLIST = address
dcbaddress
,DSORG = IS
 (1-12)
ALL
VSE
OPEN(R)
 filename ,...
(r1)
MVS
OPEN
dcbaddress
INPUT
(2-12)
,
OUTPUT
UPDAT
VSE
CLOSE(R)
filename
(r1l)
MVS
CLOSE
 dcbaddress , FREE ,...
(2-12)
DISP 
314
VSE to OS/390 Migration Workbook