Culprit job is failing with a "SYS010 - DATA SET XXXXXXXX.XXXXXXXX NOT FOUND" message.
search cancel

Culprit job is failing with a "SYS010 - DATA SET XXXXXXXX.XXXXXXXX NOT FOUND" message.

book

Article ID: 14861

calendar_today

Updated On:

Products

Dispatch Output Mgmt

Issue/Introduction

You're trying to run the DSEXCULP/CADSCULP job to produce a Culprit report against the CA Dispatch database and the job is failing with a "SYS010 - DATA SET XXXXXXXX.XXXXXXXX NOT FOUND" message.



What is causing the "SYS010 - DATA SET XXXXXXXX.XXXXXXXX NOT FOUND" message and how can it be prevented?

Environment

Release: DISPAX00200-11.7-Dispatch
Component:

Resolution

The //SYS10 DD statement is only necessary when you are trying to produce the DSREPTJ8 report to list Journal records. If you are not producing the DSREPTJ8 report specifically, then you will have to modify your submit JCL and the CADSCULP PROC you are executing, to accommodate running the Culprit job and producing the other available Culprit reports. 

 

1. Modifications would include COMMENTING OUT the VOLSER, TUNIT and any FILE symbolics in the DSEXCULP member in the CADSJCL library you are submitting the job from. 

 

Example: 

 

EDIT YOURHLQ...CADSJCL(DSEXCULP)... 

//EXECCULP EXEC CADSCULP, 

//* 

// MEMBER=DSCULP01,           * CULPRIT REPORT MEMBER 

//* 

// DSHLQ='CAI.DISP',              * DSN HIGH LEVEL QUALIFIER 

// LOADLIB='CAI.CADSLOAD',  * LOAD LIBRARY 

// OPTLIB='CAI.CADSOPTN',     * OPTION LIBRARY 

// SRTLIB='SYS1.SORTLIB',      * SORT LIBRARY 

//* FILE=NULLFILE,                           * JREPORT8 FILE DSN 

//* FILE='CAI.JRNLBKP.G0001V00',    * JREPORT8 FILE DSN 

//* TUNIT=3490,                               * JREPORT8 FILE TAPE UNIT 

//* VOLSER=999999,                        * JREPORT8 FILE VOL SER 

// RECFM='FA',                         * RECFM OF THE REPORT 

// LRECL='133',                        * LRECL OF THE REPORT 

// BLKSIZE='133',                     * BLOCK SIZE OF REPORT 

// SOUT='*',                             * SYSOUT CLASS FOR REPORT 

// UNIT='SYSDA'                       * DISK UNIT 

//*-------------------------------------------------------------- 

 

2. And commenting out those SAME symbolics in the CADSCULP member in the CADSPROC library you are executing the JCL from. 

 

Example: 

 

EDIT YOURHLQ...CADSPROC(CADSCULP)... 

********************************* Top of Data ***************** 

//CADSCULP PROC DSHLQ='CAI.DISP', 

// BLKSIZE='133', 

// LOADLIB='CAI.CADSLOAD', 

// LRECL='133', 

// MEMBER=DSCULP01, 

//* VOLSER=NNNNNN, JREPORT8 VOL=SER 

//* TUNIT=TAPE, JREPORT8 TAPE UNIT 

//* FILE='XXXXXXXX.XXXXXXXX', JREPORT8 DSN 

// OPTLIB='CAI.CADSOPTN', 

// RECFM='FA', 

// SRTLIB='SYS1.SORTLIB', 

// SOUT='*', 

// UNIT='SYSDA' 

//*------------------------------------------------------------ 

 

3. Because you have commented out the three symbolic references that are used in the //SYS010 statement within the CADSCULP PROC, you also have to "DUMMY OUT" the //SYS010 statement itself. Make sure that you code the //SYS010 DD DUMMY statement! Don't just comment the associated //SYS010 statements out or the job will fail. 

 

Example: 

 

EDIT YOURHLQ...CADSPROC(CADSCULP)... 

//SYS010 DD DUMMY 

//*SYS010 DD DSN=&FILE, 

//* UNIT=(&TUNIT,,DEFER),VOL=SER=&VOLSER, 

//* DISP=SHR