beautypg.com

Explaining the vm cms commands – IBM S544-5285-01 User Manual

Page 103

background image

USERAPPL
FILEDEF INPUT DISK filename filetype filemode
FILEDEF OUTPUT DISK filename filetype filemode (LRECL 32756 BLKSIZE 3276
FILEDEF RESOBJ DISK filename filetype filemode (LRECL 32756 BLKSIZE 3276
FILEDEF INDEX DISK filename filetype filemode

(LRECL 32756 BLKSIZE 3276

FILEDEF SYSIN DISK filename filetype filemode
FILEDEF SYSPRINT DISK filename filetype filemode
FILEDEF TRACE DISK filename filetype filemode
APKACIF (PARMDD ddname MSGDD ddname

Figure 21. Sample VM CMS Commands to Invoke ACIF

Note: The usage of DD in these statements reflects the same naming convention

of ACIF used in OS/390 and MVS.

Explaining the VM CMS Commands

The CMS commands in Figure 21 are explained as follows. For more information
about programming CMS commands, refer to

Print Services Facility/VM: Application

Programming Guide.

USERAPPL

Invokes the application that produces the actual print output.

INPUT

Defines the DDname for the print file to be processed by ACIF. In the sample
in Figure 21, this is the same print file that is created by USERAPPL.

OUTPUT

Defines the DDname for the file that ACIF creates as a result of processing the
application's print file.

RESOBJ

Defines the DDname for the resource file that ACIF creates as a result of
processing the application's print file. This command is not required if
RESTYPE=NONE is specified in the processing parameter file.

INDEX

Defines the DDname for the index object file that ACIF creates as a result of
processing the application's print file.

This parameter is not required unless indexing is requested or unless the print
file contains indexing structured fields. If you are not sure whether the print file
contains indexing structured fields, and you do not want an index object file
created, specify FILEDEF INDEXDD DUMMY; no index object file will be
created.

TRACE

Defines the default DDname for the trace file. This file is not created unless
TRACE=YES is specified in the processing parameter file.

APKACIF

Invokes the ACIF program to process the application's print file. You can
specify two optional input parameters to ACIF: PARMDD and MSGDD.

Chapter 6. Using ACIF in OS/390, MVS, VM, and VSE

83