IBM Mainframe Forum Index
 
Log In
 
IBM Mainframe Forum Index Mainframe: Search IBM Mainframe Forum: FAQ Register
 

To pass value to JCL PARM from ESP


IBM Mainframe Forums -> CA Products
Post new topic   Reply to topic
View previous topic :: View next topic  
Author Message
narayana.kr

New User


Joined: 16 Feb 2010
Posts: 5
Location: Bangalore

PostPosted: Mon Aug 23, 2010 2:04 pm
Reply with quote

Please can you give an example to pass value to JCL PARM from ESP?
Back to top
View user's profile Send private message
expat

Global Moderator


Joined: 14 Mar 2007
Posts: 8797
Location: Welsh Wales

PostPosted: Mon Aug 23, 2010 2:19 pm
Reply with quote

Please explain exactly what it is that you want to do.
Back to top
View user's profile Send private message
narayana.kr

New User


Joined: 16 Feb 2010
Posts: 5
Location: Bangalore

PostPosted: Mon Aug 23, 2010 4:06 pm
Reply with quote

JCL :
//JOB1 JOB (TEST1),
// CLASS=P,
// MSGCLASS=J,
// USER=V676917
//JOB10 EXEC DB2RUN,
// PRM='ABCD'
//

How to PASS ABCD, value from ESP to the JCL?.
When I start excecuting the ESP, ESP has to pass the PARM value 'ABCD' in the JCL(This Job is Scheduled in the ESP).
Back to top
View user's profile Send private message
expat

Global Moderator


Joined: 14 Mar 2007
Posts: 8797
Location: Welsh Wales

PostPosted: Mon Aug 23, 2010 4:14 pm
Reply with quote

Oh goody, this looks like a game of 20 questions.

What events or whatever determine the value to be used in PRM=

Also, what is the ESP, is it some scheduling package or what
Back to top
View user's profile Send private message
narayana.kr

New User


Joined: 16 Feb 2010
Posts: 5
Location: Bangalore

PostPosted: Mon Aug 23, 2010 5:43 pm
Reply with quote

Yes, it is a Sheduling package.

ESP PROC:
IF %ESPGROUP='SETUP' THEN DO
INVOKE 'CMNPROD.ESP.PROC($STD)'
ENV='PROD'
DBSYS='DB2B'
CL='P'
MCL='J'
R='P'
D='B'
SAR='7'
TAX='P'
AR='P'
ENDDO
/*

We have like this, in similar way I need to map PARM to use in JCL.
Back to top
View user's profile Send private message
dick scherrer

Moderator Emeritus


Joined: 23 Nov 2006
Posts: 19244
Location: Inside the Matrix

PostPosted: Mon Aug 23, 2010 11:34 pm
Reply with quote

Hello,

Suggest you look at how the other substitutions are done in an existing process that works correctly. . .

Then define this one similarly. . .
Back to top
View user's profile Send private message
View previous topic :: :: View next topic  
Post new topic   Reply to topic View Bookmarks
All times are GMT + 6 Hours
Forum Index -> CA Products

 


Similar Topics
Topic Forum Replies
No new posts JCL EXEC PARM data in C Java & MQSeries 2
No new posts Need to specify PARM='POSIX(ON) Java & MQSeries 4
No new posts How to pass the PARM value to my targ... COBOL Programming 8
No new posts Dynamically pass table name to a sele... DB2 2
No new posts pass data as symbolic parameter from ... CLIST & REXX 2
Search our Forums:

Back to Top