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 copying data without knowing location arunsoods DFSORT/ICETOOL 6 Thu Jul 20, 2017 1:03 pm
This topic is locked: you cannot edit posts or make replies. Fetching data from BAI File arunsoods JCL & VSAM 1 Wed Jul 19, 2017 4:28 pm
No new posts Loading data to table gives wrong for... Raghu navaikulam DB2 19 Thu Jul 13, 2017 2:11 pm
No new posts SQL - select data available in index Nileshkul DB2 3 Mon Jun 26, 2017 1:30 am
No new posts REXX to view the PGM or PROC jackzhang75 CLIST & REXX 11 Tue Jun 20, 2017 1:20 am


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