IBM OS/390 manual Read Macro, Write Macro, Check Macro

Models: OS/390

1 673
Download 673 pages 53.75 Kb
Page 331
Image 331

ACC Specifies that the problem program accepts the block causing the error. This action can be specified when a data set is opened for INPUT, RDBACK, UPDAT, or OUTPUT (OUTPUT applies to printer data sets only).

SKP Specifies that the block that caused the error is skipped. Specifying SKP also causes the buffer associated with the data block to be released. This function can be specified when a data set is opened for INPUT, RDBACK, or UPDAT.

ABE Specifies that the error results in the abnormal termination of the task. This action can be specified when the data set is opened for INPUT, OUTPUT, RDBACK, or UPDAT.

If you omit the EROPT operand, the ABE action is assumed.

READ Macro

 

 

filename ,SQ,

area length

 

VSE

READ

(1)

(0)

(r1)

 

 

 

 

 

S

 

 

 

 

 

 

 

 

 

decbname,SF,

dcbaddress

,

area address ,

MVS

READ

 

(2-12)

 

(2-12)

 

 

 

length

 

 

 

 

 

(2-12)

 

 

 

 

 

′ S′

 

 

 

 

 

 

 

 

Notes:

1.If the OPEN macro specifies UPDAT, you must use the execute form of the READ macro.

2.You must test the input operation for completion by using the CHECK macro instruction.

WRITE Macro

VSE

WRITE

filename ,

UPDATE ,

area

,

length

 

 

(1)

SQ

(0)

 

(r)

 

 

 

 

 

 

 

 

MVS

WRITE

decbname,SF,

dcbaddress

area

address

length

 

 

 

(2-12)

, (2-12)

 

, (2-12)

 

 

 

 

 

 

 

′ S′

 

 

 

 

 

 

 

 

Notes:

1.If the OPEN macro specifies UPDAT, you must use the execute form of

WRITE.

2.You must test the output operation for completion by using the CHECK macro.

CHECK Macro

VSE

CHECK

filename

control-address

 

 

(1)

,

(0)

 

 

 

 

 

MVS

CHECK

decbaddress

 

,DSORG= IS

 

 

(1-12)

 

ALL

 

 

 

 

 

Chapter 13. A s s e m b l e r 307

Page 331
Image 331
IBM OS/390 manual Read Macro, Write Macro, Check Macro