How to use SYSIN to input utility control statements to Batch Processor
search cancel

How to use SYSIN to input utility control statements to Batch Processor

book

Article ID: 53745

calendar_today

Updated On:

Products

Batch Processor Fast Unload for DB2 for z/OS

Issue/Introduction

When calling program, UTLGLCTL, would like to use a SYSIN DD to point to an input dataset that contains Utility control statements,
in this case, Fast Unload for Db2 for z/OS (PFU) statements. This will enable us to use control statements generated by a Rexx Exec.

Have tested this but get the following error:
BPA0015E: UTILITY APPLICATION FOUND NO INPUT

Resolution

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