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
 

 

INCLUDE/COPY in JCL ( Like COBOL COPY statement)

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

Active User


Joined: 01 Jul 2005
Posts: 269
Location: India

PostPosted: Tue Oct 11, 2005 11:38 am    Post subject: INCLUDE/COPY in JCL ( Like COBOL COPY statement)
Reply with quote

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
View user's profile Send private message

MGIndaco

Active User


Joined: 10 Mar 2005
Posts: 432
Location: Milan, Italy

PostPosted: Tue Oct 11, 2005 12:47 pm    Post subject:
Reply with quote

In a PROC you can have more than one EXEC statement.
This is the link for the PROC:
http://publibz.boulder.ibm.com/cgi-bin/bookmgr_OS390/handheld/Connected/BOOKS/IEA2B650/24.0?DT=20040712170508
And this is for the INCLUDE statement:
http://publibz.boulder.ibm.com/cgi-bin/bookmgr_OS390/handheld/Connected/BOOKS/IEA2B650/18.0?DT=20040712170508

Try to search in JCL manual and you will find all you need.
Back to top
View user's profile Send private message
solid_18

New User


Joined: 11 Oct 2005
Posts: 2
Location: Manila, Philippines

PostPosted: Tue Oct 11, 2005 10:51 pm    Post subject:
Reply with quote

Yes! its possible to INCLUDE in JCL
Back to top
View user's profile Send private message
dneufarth

Active User


Joined: 27 Apr 2005
Posts: 241
Location: Cincinnati OH USA

PostPosted: Wed Oct 12, 2005 7:04 am    Post subject:
Reply with quote

simple seach of JCL manual would provide the answer



Dave
Back to top
View user's profile Send private message
parikshit123

Active User


Joined: 01 Jul 2005
Posts: 269
Location: India

PostPosted: Mon Oct 17, 2005 3:44 pm    Post subject:
Reply with quote

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
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
This topic is locked: you cannot edit posts or make replies. Cobol GUI (like Editor) Kala Mainframe COBOL Programming 14 Wed May 10, 2017 12:30 pm
No new posts IMS T-Pipe queue counts in a COBOL Pr... Siva NKK Kothamasu IMS DB/DC 0 Tue May 09, 2017 6:31 pm
No new posts COBOL Code Parsers and Lineage Establ... balimanja COBOL Programming 2 Tue May 02, 2017 3:30 am
No new posts copy SEQ to PDS and create stats steve-myers JCL & VSAM 5 Thu Apr 27, 2017 1:15 am
No new posts Cobol upgrade - source code missing f... gthmrj IBM Tools 1 Wed Apr 26, 2017 6:04 pm


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