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 

Help In giving data 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
karunkallore
Beginner


Joined: 11 Dec 2004
Posts: 103
Topics: 39

PostPosted: Mon Feb 14, 2005 10:40 pm    Post subject: Help In giving data in Proc. Reply with quote

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
View user's profile Send private message Send e-mail
dtf
Beginner


Joined: 10 Dec 2004
Posts: 110
Topics: 8
Location: Colorado USA

PostPosted: Mon Feb 14, 2005 10:51 pm    Post subject: Reply with quote

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
View user's profile Send private message
programmer1
Beginner


Joined: 18 Feb 2004
Posts: 138
Topics: 14

PostPosted: Tue Feb 15, 2005 6:35 am    Post subject: Reply with quote

Agreed,

We cannot pass instream data in a proc.
_________________
Regards,
Programmer
Back to top
View user's profile Send private message
kolusu
Site Admin
Site Admin


Joined: 26 Nov 2002
Posts: 12378
Topics: 75
Location: San Jose

PostPosted: Tue Feb 15, 2005 10:29 am    Post subject: Reply with quote

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
View user's profile Send private message Send e-mail Visit poster's website
karunkallore
Beginner


Joined: 11 Dec 2004
Posts: 103
Topics: 39

PostPosted: Tue Feb 15, 2005 10:36 am    Post subject: Thanks Reply with quote

Hi Kolsu,


Thanks for the tip.


Karun
Back to top
View user's profile Send private message Send e-mail
dtf
Beginner


Joined: 10 Dec 2004
Posts: 110
Topics: 8
Location: Colorado USA

PostPosted: Tue Feb 15, 2005 5:23 pm    Post subject: Reply with quote

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
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