View previous topic :: View next topic
|
Author |
Message |
subbubannurutcs
New User
Joined: 15 Oct 2006 Posts: 11
|
|
|
|
How to pass the data to instream proc in the jcl |
|
Back to top |
|
|
priyesh.agrawal
Senior Member
Joined: 28 Mar 2005 Posts: 1448 Location: Chicago, IL
|
|
Back to top |
|
|
shreevamsi
Active User
Joined: 23 Feb 2006 Posts: 305 Location: Hyderabad,India
|
|
|
|
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 |
|
|
subbubannurutcs
New User
Joined: 15 Oct 2006 Posts: 11
|
|
|
|
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 |
|
|
sbpati
New User
Joined: 11 Oct 2006 Posts: 11
|
|
|
|
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 |
|
|
subbubannurutcs
New User
Joined: 15 Oct 2006 Posts: 11
|
|
|
|
Hello sbpati the answer whatever u gave its not clear can u explain more clearly? |
|
Back to top |
|
|
priyesh.agrawal
Senior Member
Joined: 28 Mar 2005 Posts: 1448 Location: Chicago, IL
|
|
|
|
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 |
|
|
|