MVSFORUMS.com Forum Index MVSFORUMS.com
A Community of and for MVS Professionals
 
 FAQFAQ   SearchSearch   Quick Manuals   RegisterRegister 
 ProfileProfile   Log in to check your private messagesLog in to check your private messages   Log inLog in 

Override Parm in Proc

 
Post new topic   Reply to topic   printer-friendly view    MVSFORUMS.com Forum Index -> Job Control Language(JCL)
View previous topic :: View next topic  
Author Message
vak255
Intermediate


Joined: 10 Sep 2004
Posts: 384
Topics: 79

PostPosted: Wed Jun 27, 2012 10:36 am    Post subject: Override Parm in Proc Reply with quote

I like to know how to override in a procstep C0521tep2.

Code:

//CO51TEP2 EXEC CO51TEP2,
//             INPTDSN='DS51.SQL.CONTROL(NVDBDNFX)'


Here I have to override 'DS51.SQL.CONTROL(NVDBDNFX)' with my dataset AV9425.DE.CNTL(NVDBCNTL) in my JCL.

C051TEP2 is a proc again.
Back to top
View user's profile Send private message
expat
Intermediate


Joined: 01 Mar 2007
Posts: 475
Topics: 9
Location: Welsh Wales

PostPosted: Wed Jun 27, 2012 10:40 am    Post subject: Reply with quote

What have you tried and what were the results ???
_________________
If it's true that we are here to help others,
then what exactly are the others here for ?
Back to top
View user's profile Send private message
dbzTHEdinosauer
Supermod


Joined: 20 Oct 2006
Posts: 1411
Topics: 26
Location: germany

PostPosted: Wed Jun 27, 2012 11:17 am    Post subject: Reply with quote

vak255,
i realize that this post is over 10 days old
and over 2 topics older than yours, but still....
it is obvious that you have not bothered to search,
look in manuals,
do anything except post you question.
_________________
Dick Brenholtz
American living in Varel, Germany
Back to top
View user's profile Send private message
vak255
Intermediate


Joined: 10 Sep 2004
Posts: 384
Topics: 79

PostPosted: Wed Jun 27, 2012 11:28 am    Post subject: Reply with quote

CO51TEP2 is the proc so I don't know how to override this.

Code:

//CO51TEP2 PROC SOUT='*',
 //             SOUTD='D',
 //             INPTDSN=
 //*
 //BTCHSQL  EXEC PGM=IKJEFT01,DYNAMNBR=20,REGION=4096K
 //SYSTSPRT DD  SYSOUT=&SOUT
 //SYSPRINT DD  SYSOUT=&SOUT
 //SYSUDUMP DD  SYSOUT=&SOUTD
 //SYSIN    DD  DISP=SHR,DSN=&INPTDSN
 //*
 //SYSTSIN  DD  DISP=SHR,DSN=DS51.RUN.CONTROL(DB51)
 //         DD  DISP=SHR,DSN=DS51.RUN.CONTROL(DSNTEP2)
 //*
Back to top
View user's profile Send private message
vak255
Intermediate


Joined: 10 Sep 2004
Posts: 384
Topics: 79

PostPosted: Wed Jun 27, 2012 11:45 am    Post subject: Reply with quote

dbzTHEdinosauer, Yes, I searched and I gone thru the same link that you gave me before but here I am having a PROC within a PROC. so I have to override

INPTDSN.BTCHSQL.SYSIN='DS51.SQL.CONTROL(NVDBDNFX)

I will test this and will let you know.
Back to top
View user's profile Send private message
papadi
Supermod


Joined: 20 Oct 2009
Posts: 594
Topics: 1

PostPosted: Wed Jun 27, 2012 1:36 pm    Post subject: Reply with quote

Hello,

As has been posted several times, you cannot override something in a nested PROCedure. . .

Time to consider a more supportable implementation.
_________________
All the best,

di
Back to top
View user's profile Send private message
vak255
Intermediate


Joined: 10 Sep 2004
Posts: 384
Topics: 79

PostPosted: Thu Jun 28, 2012 5:41 pm    Post subject: Reply with quote

yes, right. I have asked the support team to just rename the file.
Thanks guys.
Back to top
View user's profile Send private message
Display posts from previous:   
Post new topic   Reply to topic   printer-friendly view    MVSFORUMS.com Forum Index -> Job Control Language(JCL) All times are GMT - 5 Hours
Page 1 of 1

 
Jump to:  
You cannot post new topics in this forum
You cannot reply to topics in this forum
You cannot edit your posts in this forum
You cannot delete your posts in this forum
You cannot vote in polls in this forum


MVSFORUMS
Powered by phpBB © 2001, 2005 phpBB Group