Portal | Manuals | References | Downloads | Info | Programs | JCLs | Mainframe wiki | Quick Ref
IBM Mainframe Computers Forums Index
 
Register
 
IBM Mainframe Computers Forums Index Mainframe: Search IBM Mainframe Forum: FAQ Memberlist Profile Log in to check your private messages Log in
 
To pass value to JCL PARM from ESP

 
Post new topic   Reply to topic    IBMMAINFRAMES.com Support Forums -> CA Products
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    Post subject: To pass value to JCL PARM from ESP
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: 8646
Location: Back in jolly old England

PostPosted: Mon Aug 23, 2010 2:19 pm    Post subject:
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    Post subject:
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: 8646
Location: Back in jolly old England

PostPosted: Mon Aug 23, 2010 4:14 pm    Post subject:
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    Post subject:
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

Site Director


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

PostPosted: Mon Aug 23, 2010 11:34 pm    Post subject:
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    IBMMAINFRAMES.com Support Forums -> CA Products All times are GMT + 6 Hours
Page 1 of 1

 

Search our Forum:

Similar Topics
Topic Author Forum Replies Posted
No new posts IPCONFIG SEGMENTATIONOFFLOAD parm in ... Keith Hays TSO/ISPF 0 Wed Jan 03, 2018 11:42 pm
This topic is locked: you cannot edit posts or make replies. Need help how to pass the ESP variabl... Venkichaitu JCL & VSAM 12 Thu Nov 02, 2017 3:53 am
No new posts Where is output from PARM ABEXIT (SNA... packerm CA Products 3 Thu Sep 28, 2017 4:06 pm
No new posts JES2 JEC: Use UNIX Pipes to Pass Data... Virendra Shambharkar JCL & VSAM 21 Tue Dec 20, 2016 6:55 pm
This topic is locked: you cannot edit posts or make replies. How to pass the previous month date i... Suganya87 DFSORT/ICETOOL 5 Mon Oct 31, 2016 4:13 pm

Facebook
Back to Top
 
Job Vacancies | Forum Rules | Bookmarks | Subscriptions | FAQ | Polls | Contact Us