CA Deliver - How to Specify Procstep Name When There is a PROC That Invokes Another PROC
search cancel

CA Deliver - How to Specify Procstep Name When There is a PROC That Invokes Another PROC

book

Article ID: 138644

calendar_today

Updated On:

Products

Deliver View

Issue/Introduction

The client would like to use a proc (procedure) within another proc, and would like to know how to correspondingly create CA Deliver definitions regarding what is to be used for Stepname and Procstep name.


Below is a sample, of a proc-within-a-proc, showing the resulting expanded JCL:


//JOBNAME JOB ...
//   SET  RPT=DAAC
//JS010  EXEC  PROC01
XXPROC01 PROC  <<<< Here is called the "outer" PROC
XXDUMMY  EXEC  PGM=IEFBR14
XXPS010  EXEC  PROC02     <<<< here is called the "inner" PROC
XXPROC02 PROC
XXSAS EXEC PGM=SASPGM
XXERD  OUTPUT  FORM=&RPT
XXDD1  DD SYSOUT=(,),OUTPUT=(*.ERD)
XX  etc.

Environment

Release : 12.2

Component : CA Deliver

Resolution

Ran a job supplied by the client, which produced a result of message:


 IEF142I DLVRJOB1 SAS PS010 - STEP WAS EXECUTED - COND CODE 0000


This is the format of the IEF142I message:


IEF142I jobname [procstep] stepname -STEP WAS EXECUTED - COND CODE cde


--------------------------------------------------------------------------------------------------------------------------------------------------------------------

What should be the basis of Deliver's definitions, would be what comes from the system.

In this instance, there would be:

. Jobname: DLVRJOB1
. Procstep: SAS
. Stepname: PS010


---------------------------------------------------------------------------------------------------------------------------------------------------------------------------------

Here are ways to analyze a job, to find Deliver step definitions:

. Run the job, and check the IEF142I message.
. Run RMOJCL, in testing mode, to see how the definitions would be formulated.
. Run JCLCHECK, to see what is shows for definitions.