Trying to create processor steps to submit CICS newcopies jobs in FG using BC1PTMP0.
Here is the code used in the CICS processor.
'PROD.REXX.EXEC' is allocated to the sysproc, so it is able to locate the ADECCICF exec.
//*******************************************************************
//* NEWCOPYF: NEWCOPY in FOREGROUND
//* NOTE: ATTEMPTING TO RUN THIS STEP IN BG WILL result in RC=5
//*******************************************************************
//NEWCOPYF EXEC PGM=BC1PTMP0,COND=(4,LT),MAXRC=5,
// PARM='PROD.REXX.EXEC(ADECCICF)'
//STEPLIB DD DISP=SHR,DSN=CICSV5R2.CPSM.SEYUAUTH
// DD DISP=SHR,DSN=SYST.ENDEVOR.CSIQLOAD
//SYSTSPRT DD SYSOUT=*
//*SYSIN DD DISP=SHR,DSN=&PFX..BMSMAP(&C1ELEMENT)
//SYSTSIN DD DUMMY
//INPUTPRM DD *
&C1PRTYPE
&C1ELEMENT
&C1ST
&C1SY
&ZRTENV
/*
//EN$SELCT DD DUMMY
//*
//********************************************************************
//* NEWCOPYB: NEWCOPY in BACKGROUND
//********************************************************************
//NEWCOPYB EXEC PGM=IKJEFT1B,COND=(5,NE,NEWCOPYF),MAXRC=7,
// PARM='ADECCICT &C1PRTYPE &C1ELEMENT &C1ST &C1SY &ZRTENV'
//STEPLIB DD DISP=SHR,DSN=CICSV5R2.CPSM.SEYUAUTH
//SYSEXEC DD DISP=SHR,DSN=PROD.REXX.EXEC
//SYSTSPRT DD SYSOUT=*
//SYSTSIN DD DUMMY
//*
It does show that is successfully processed this step
C1X0010I STEP LINK PROGRAM IEWL COMPLETED, RC=0000
C1G0000I ELEMENT SBTM900
C1G0000I DATA SET TST1.XXXXX.LOADLIB
C1G0134I ELEMENT FOOTPRINTED IN DATASET
C1X0012I STEP NEWCOPYF INVOKING PROGRAM BC1PTMP0
C1X0013I PARM=PROD.REXX.EXEC(ADECCICF)
C1X0010I STEP NEWCOPYF PROGRAM BC1PTMP0 COMPLETED, RC=0000
C1X0014I STEP 0005 (NEWCOPYB) NOT EXECUTED BECAUSE OF CONDITION CODE(S)
C1X0012I STEP CONLIST INVOKING PROGRAM CONLIST
C1X0013I PARM=STORE
The problem is when it is trying to exec the ADECCICF exec, it is not found
The CICS CPSM.SEYUAUTH datasest in the steplib, shouldn't that have carried through to the rexx exec?
This is working with no issues when executed in BATCH.
What is missing? Why the is steplib not being passed? Or why is it being dropped?
Release : 18.0 18.1
Component : CA Endevor Software Change Manager
1) Put SEYUAUTH to the STEPLIB of the TSO logon procedure. This will override the any old libraries from the linklist.
2) Make sure the first occurrence of IRXFLOC from the linklist concatenation is coming from SEYUAUTH. So even if you have SEYUAUTH in the linklist, its IRXFLOC might not be in effect.