IBM OS/390 User Manual

Page of 673
OPEN
CARD
VSE
GET
CARD,WORK
.
CLOSE CARD
CARD
DTFCD DEVADDR=SYSIPT,IOAREA1=CARDIN1,
C
IOAREA2=CARDIN2,EOFADDR=END,
C
WORKA=YES
CDMOD WORKA=YES
OPEN
CARD
MVS
GET
CARD,WORK
.
CLOSE CARD
CARD
DCB
DSORG=PS,MACRF=(GM),
C
DDNAME=SYSIPT,EODAD=END,
C
RECFM=FB,LRECL=80
Figure 33. Card File Programs i n VSE and MVS
13.2.6.6 LIOCS Printer File Definition
The methods of processing printer files are the same in VSE and MVS.
Differences exist only in the CNTRL and PRTOV macros.
CNTRL Macro
Notes:
 1. MVS does not support delayed printer control.
 2. The MVS Job Entry Sub-system supports machine and ASCII control
characters.
PRTOV Macro
The PRTOV macro results in the same action in VSE and MVS. However, if you
use CNTRL, you cannot use SYSOUT=A and must specify the printer in the UNIT
parameter of the output data set DD statement. Since this is rarely a viable
option, programs that use the PRTOV macro should be converted to use a line
counter instead.
Figure 34 on page 297 shows a comparison of the DTFPR and DCB operands.
VSE
CNTRL
filename ,code ,nl ,n2
(1)
MVS
CNTRL
dcbaddress, SP ,nl
SK
VSE
PRTOV
filename
, 12 , routine name
(1)
9
(0)
MVS
PRTOV
dcbaddress
, 12 , overflow exit address
(2-12) 9 (2-12)
296
VSE to OS/390 Migration Workbook