Passing Plan name and Db2 SSID via Smart/RRSAF JCL
search cancel

Passing Plan name and Db2 SSID via Smart/RRSAF JCL

book

Article ID: 236141

calendar_today

Updated On:

Products

Smart Restart Smart RRSAF

Issue/Introduction

Is there a way to pass the DB2 SSID and PLAN via the Smart/RRSAF JCL in lieu of a PARM to a COBOL program?

     

Environment

Release : 20.1

Component : Smart/RRSAF

Resolution

Yes, specify the Db2 SSID within the RAINPUT file stream as follows:

//MYSTEP EXEC PGM=SRS8CPT,REGION=0M,PARM='MYPARMS'
//STEPLIB  DD  DISP=SHR,DSN=. . .
. . . 
//RAINPUT  DD  *                                                       
PLAN(MYPLAN)
SYSTEM(DB21)
. . . 
/*