View previous topic :: View next topic
|
Author |
Message |
parikshit123
Active User
Joined: 01 Jul 2005 Posts: 269 Location: India
|
|
|
|
Hi,
A bit silly question.
Do we have anything like INCLUDE/COPY in JCL?
For example, in COBOL we can use COPY statement to include any text into the source program. For example, we can have procedure division or data division entries kept in other source datasets and we can issue
COPY XYZ command to copy it into our program.
My question is, do we have anything like that in JCL?
I know that we can use proc. but the proc must have a least one EXEC statement (correct me if I am wrong).
One of my jobstep contains a lot of DD statements and I want to keep all those statements in a seperate dataset but without EXEC statement.
Can I do this? |
|
Back to top |
|
|
MGIndaco
Active User
Joined: 10 Mar 2005 Posts: 432 Location: Milan, Italy
|
|
Back to top |
|
|
solid_18
New User
Joined: 11 Oct 2005 Posts: 2 Location: Manila, Philippines
|
|
|
|
Yes! its possible to INCLUDE in JCL |
|
Back to top |
|
|
dneufarth
Active User
Joined: 27 Apr 2005 Posts: 419 Location: Inside the SPEW (Southwest Ohio, USA)
|
|
|
|
simple seach of JCL manual would provide the answer
Dave |
|
Back to top |
|
|
parikshit123
Active User
Joined: 01 Jul 2005 Posts: 269 Location: India
|
|
|
|
Hi,
Thanks all.
dnefarth, you are right, a simple search in JCL manual would have given me the answer.
But I didn't know that "INCLUDE" is there in JCL.
I was searching for "COPY".
Anyway, thanks |
|
Back to top |
|
|
|