
Chapter | 6. | Using | ACIF | in | OS/390, MVS, VM, and VSE | |
|
| This chapter | describes how to invoke ACIF in the OS/390, MVS, VM, and | |||
|
| environments. |
|
| ||
|
|
|
|
|
|
|
Using | ACIF in | the | OS/390 | and | MVS Environments |
Figure 20 contains sample JCL to invoke ACIF to process print output fr application.
//USERAPPL EXEC PGM=user application
//PRINTOUT DD DSN=print file,DISP=(NEW,CATLG) //\
//ACIF EXEC=APKACIF,PARM=[[ 'PARMDD=ddname ][,MSGDD=ddname']],REGION=3M
//INPUT DD DSN=\.USERAPPL.PRINTOUT
//OUTPUT DD DSN=output file,DISP=(NEW,CATLG),
//DCB=(LRECL=32756,BLKSIZE=3276ð,RECFM=VBA,DSORG=PS),
//SPACE=(3276ð,(nn,nn)),UNIT=SYSDA
//RESOBJ DD DSN=resource file,DISP=(NEW,CATLG),
//DCB=(LRECL=32756,BLKSIZE=3276ð,RECFM=VBA,DSORG=PS),
//SPACE=(3276ð,(nn,nn)),UNIT=SYSDA
//INDEX DD DSN=index file,DISP=(NEW,CATLG),
//DCB=(LRECL=32756,BLKSIZE=3276ð,RECFM=VBA,DSORG=PS),
//SPACE=(3276ð,(nn,nn)),UNIT=SYSDA
//SYSPRINT DD SYSOUT=\
//SYSIN DD \ ACIF parms go here
Figure 20. Sample OS/390 and MVS JCL to Invoke ACIF
Explaining the JCL Statements
The JCL statements in Figure 20 are explained as follows. For more inf about programming JCL, referOS/390 toMVS JCL Reference.
USERAPPL
Represents the job step to run the application that produces the
output.USERAPPL oruser applications the name of the program that produces the print data set.
PRINTOUT
The DD statement that defines the output data set produced fro application. The application output cannot be spooled to the Job
Subsystem (JES), | because | ACIF | does | not read | data fromprint the spool. | |||
fileis the | name | of | the | data | userset | createdapplication. by the | ||
ACIF |
|
|
|
|
|
|
|
|
Represents | the | job | step | that | invokes ACIF to process the print d | |||
can specify two | optional | input | parameters | to | ACIF: |
PARMDD
Defines the DDname for the data set containing the ACIF proce
parameters.PARMDDIf is not specified, SYSINACIF usesas the default DDname and terminates processingSYSIN ifis not defined.
Copyright IBM Corp. 1993, 1999 | 81 |