IBM Mainframe Forum Index
 
Log In
 
IBM Mainframe Forum Index Mainframe: Search IBM Mainframe Forum: FAQ Register
 

how to pass the data to instream proc in the jcl


IBM Mainframe Forums -> JCL & VSAM
Post new topic   Reply to topic
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
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: 1448
Location: Chicago, IL

PostPosted: Mon Oct 16, 2006 9:54 am
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
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
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
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
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: 1448
Location: Chicago, IL

PostPosted: Mon Oct 23, 2006 7:14 am
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 All times are GMT + 6 Hours
Forum Index -> JCL & VSAM

 


Similar Topics
Topic Forum Replies
No new posts Format data from multiple records usi... SYNCSORT 4
No new posts FileAid move data from two files to o... Compuware & Other Tools 5
No new posts Structured Data and Nested Loops via ... COBOL Programming 0
No new posts Instream REXX? JCL & VSAM 13
No new posts Alternate key data extracttion COBOL Programming 13
Search our Forums:


Back to Top