ALERT: Some images may not load properly within the Knowledge Base Article. If you see a broken image, please right-click and select 'Open image in a new tab'. We apologize for this inconvenience.

How can I use SYSIN to input Utility control statements to Batch Processor?

book

Article ID: 53745

calendar_today

Updated On:

Products

RC Compare for DB2 for z/OS Database Analyzer for DB2 for z/OS Fast Unload for DB2 for z/OS Fast Check for DB2 for z/OS Fast Index for DB2 for z/OS Rapid Reorg for DB2 for z/OS

Issue/Introduction

Description:

When calling program, UTLGLCTL, I would like to use a SYSIN DD to point to an input dataset that contains Utility control statements, in this case, Fast Unload statements. This will enable us to use control statements generated by a Rexx Exec.

I have tested this but I get the following error:

BPA0015E: UTILITY APPLICATION FOUND NO INPUT.

Solution:

The following Batch Processor syntax allows the use of SYSIN to input the Utility control statements:

 .CALL UTLGLCTL PARM(ssid,)                                            + 
  INDDN(SYSIN) ALLOC(NO) OUTDDN(PTIMSG)
 .ALLOC FI(SYSIN) DA('the dataset with control statements') MOD
 .DATA
 .ENDDATA

The SYSIN dataset must have a disposition of MOD.
There should be nothing coded between the .DATA and .ENDDATA

Environment

Release:
Component: RBP