Portal | Manuals | References | Downloads | Info | Programs | JCLs | Master the Mainframes
IBM Mainframe Computers Forums Index
 
Register
 
IBM Mainframe Computers Forums Index Mainframe: Search IBM Mainframe Forum: FAQ Memberlist Usergroups Profile Log in to check your private messages Log in
 

 

how to pass the data to instream proc in the jcl

 
Post new topic   Reply to topic    IBMMAINFRAMES.com Support Forums -> JCL & VSAM
View previous topic :: :: View next topic  
Author Message
subbubannurutcs

New User


Joined: 15 Oct 2006
Posts: 11

PostPosted: Sun Oct 15, 2006 3:53 pm    Post subject: how to pass the data to instream proc in the jcl
Reply with quote

How to pass the data to instream proc in the jcl
Back to top
View user's profile Send private message

priyesh.agrawal

Senior Member


Joined: 28 Mar 2005
Posts: 1452
Location: Chicago, IL

PostPosted: Mon Oct 16, 2006 9:54 am    Post subject: Re: how to pass the data to instream proc in the jcl
Reply with quote

See here...
Back to top
View user's profile Send private message
shreevamsi

Active User


Joined: 23 Feb 2006
Posts: 305
Location: Hyderabad,India

PostPosted: Mon Oct 16, 2006 11:01 am    Post subject:
Reply with quote

hi subbubannurutcs,

Where exactly you wan to pass.??
Is it from JOB or Proc??

If it is a proc, You can code as priyesh agrawl mentioned.
in case of a Job, DUMMY the step in the Proc and Override it from the JOB as you do it in Proc.

Clear?

~Vamsi
Back to top
View user's profile Send private message
subbubannurutcs

New User


Joined: 15 Oct 2006
Posts: 11

PostPosted: Wed Oct 18, 2006 11:38 am    Post subject: how to pass the data to instream proc through jcl and viceve
Reply with quote

Is it possible to pass the data to proc from jcl
Is it possible to pass data from instream proc to jcl?
Back to top
View user's profile Send private message
sbpati

New User


Joined: 11 Oct 2006
Posts: 11

PostPosted: Wed Oct 18, 2006 7:19 pm    Post subject: How to pass the data to instream proc in the jcl
Reply with quote

Hi Subbu

For the first part of the question answer is yes.
You can pass data to PROC from JCL.

For the second part of the question, the answer is also yes.

Suppose you have an Instream proc PROC1 and it has an EXEC step as STEP1, then you can code as follows to pass the data.

Code:
//STEP2 EXEC PROC=PROC1
//STEP1.IN DD *
.
(data)
.
/*

SBPATI
Back to top
View user's profile Send private message
subbubannurutcs

New User


Joined: 15 Oct 2006
Posts: 11

PostPosted: Sun Oct 22, 2006 3:21 pm    Post subject: Re: how to pass the data to instream proc in the jcl
Reply with quote

Hello sbpati the answer whatever u gave its not clear can u explain more clearly?
Back to top
View user's profile Send private message
priyesh.agrawal

Senior Member


Joined: 28 Mar 2005
Posts: 1452
Location: Chicago, IL

PostPosted: Mon Oct 23, 2006 7:14 am    Post subject: Re: how to pass the data to instream proc in the jcl
Reply with quote

Quote:
Hello sbpati the answer whatever u gave its not clear can u explain more clearly?

Subbu... Did you check the link given...

okie... now you got to tell what exactly you want to pass to the instream proc.
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 -> JCL & VSAM All times are GMT + 6 Hours
Page 1 of 1

 

Search our Forum:

Similar Topics
Topic Author Forum Replies Posted
No new posts Fileaid 2 commands instream work. In ... descann Compuware & Other Tools 2 Tue May 16, 2017 3:31 pm
No new posts Replace values in the input data Vikas Maharnawar DFSORT/ICETOOL 10 Thu May 11, 2017 2:18 pm
No new posts Group Data based on a key Arun Raj DFSORT/ICETOOL 7 Thu Apr 27, 2017 11:29 pm
No new posts unload data from table with lob columns farhad_evan DB2 0 Sat Apr 22, 2017 1:32 pm
No new posts SORT JSON type of data maxsubrat DFSORT/ICETOOL 8 Wed Apr 19, 2017 6:01 pm


Facebook
Back to Top
 
Mainframe Wiki | Forum Rules | Bookmarks | Subscriptions | FAQ | Tutorials | Contact Us