View previous topic :: View next topic |
Author |
Message |
karunkallore Beginner
Joined: 11 Dec 2004 Posts: 103 Topics: 39
|
Posted: Mon Feb 14, 2005 10:40 pm Post subject: Help In giving data in Proc. |
|
|
Dear Friends,
In a Proc in stead on Giving a file name to the DD card i need to give the data directly.
E.g:
Instead of this:-
INPUT DD DSN=PPGB.PARMLIB(SCBDVFTT),DISP=SHR
I need to give the data in PPGB.PARMLIB(SCBDVFTT) Directly
to the INPUT DD card in the PROC and not in the JCL.
Thanks,
Karun. |
|
Back to top |
|
 |
dtf Beginner
Joined: 10 Dec 2004 Posts: 110 Topics: 8 Location: Colorado USA
|
Posted: Mon Feb 14, 2005 10:51 pm Post subject: |
|
|
If I understand correctly you want to have "instream" data in a PROC. As far as I know this cannot be done.
________
Chrysler TC by Maserati
Last edited by dtf on Tue Feb 01, 2011 1:45 pm; edited 1 time in total |
|
Back to top |
|
 |
programmer1 Beginner
Joined: 18 Feb 2004 Posts: 138 Topics: 14
|
Posted: Tue Feb 15, 2005 6:35 am Post subject: |
|
|
Agreed,
We cannot pass instream data in a proc. _________________ Regards,
Programmer |
|
Back to top |
|
 |
kolusu Site Admin

Joined: 26 Nov 2002 Posts: 12378 Topics: 75 Location: San Jose
|
Posted: Tue Feb 15, 2005 10:29 am Post subject: |
|
|
Quote: |
We cannot pass instream data in a proc.
|
Not exactly true.
ex:
JCL:
Code: |
//GO EXEC MYPROC
//STEP0100.SORTIN DD *
MY OVERRIDE INSTREAM CARDS
....
...
|
Code: |
//MYPROC PROC
//*
//STEP0100 EXEC PGM=SORT
//SYSOUT DD SYSOUT=*
//SORTIN DD DSN=SOME.INPUT FILE,DISP=SHR
//SORTOUT DD DSN=OUTPUT FILE,
// DISP=(NEW,CATLG,DELETE),
// UNIT=PROD,
// SPACE=(CYL,(X,Y),RLSE)
//SYSIN DD DSN=SYSIN CARDS,DISP=SHR
|
Hope this helps...
Cheers
kolusu _________________ Kolusu
www.linkedin.com/in/kolusu |
|
Back to top |
|
 |
karunkallore Beginner
Joined: 11 Dec 2004 Posts: 103 Topics: 39
|
Posted: Tue Feb 15, 2005 10:36 am Post subject: Thanks |
|
|
Hi Kolsu,
Thanks for the tip.
Karun |
|
Back to top |
|
 |
dtf Beginner
Joined: 10 Dec 2004 Posts: 110 Topics: 8 Location: Colorado USA
|
Posted: Tue Feb 15, 2005 5:23 pm Post subject: |
|
|
Quote: | to the INPUT DD card in the PROC and not in the JCL.
|
Perhaps I am being too literal, but this to me precluded an override "in JCL".
________
Ferrari 246 F1 history |
|
Back to top |
|
 |
|
|