View previous topic :: View next topic |
Author |
Message |
vak255 Intermediate

Joined: 10 Sep 2004 Posts: 384 Topics: 79
|
Posted: Wed Jun 27, 2012 10:36 am Post subject: Override Parm in Proc |
|
|
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 |
|
 |
expat Intermediate

Joined: 01 Mar 2007 Posts: 475 Topics: 9 Location: Welsh Wales
|
Posted: Wed Jun 27, 2012 10:40 am Post subject: |
|
|
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 |
|
 |
dbzTHEdinosauer Supermod
Joined: 20 Oct 2006 Posts: 1411 Topics: 26 Location: germany
|
Posted: Wed Jun 27, 2012 11:17 am Post subject: |
|
|
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 |
|
 |
vak255 Intermediate

Joined: 10 Sep 2004 Posts: 384 Topics: 79
|
Posted: Wed Jun 27, 2012 11:28 am Post subject: |
|
|
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 |
|
 |
vak255 Intermediate

Joined: 10 Sep 2004 Posts: 384 Topics: 79
|
Posted: Wed Jun 27, 2012 11:45 am Post subject: |
|
|
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 |
|
 |
papadi Supermod
Joined: 20 Oct 2009 Posts: 594 Topics: 1
|
Posted: Wed Jun 27, 2012 1:36 pm Post subject: |
|
|
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 |
|
 |
vak255 Intermediate

Joined: 10 Sep 2004 Posts: 384 Topics: 79
|
Posted: Thu Jun 28, 2012 5:41 pm Post subject: |
|
|
yes, right. I have asked the support team to just rename the file.
Thanks guys. |
|
Back to top |
|
 |
|
|