Portal | Manuals | References | Downloads | Info | Programs | JCLs | Mainframe wiki | Quick Ref
IBM Mainframe Computers Forums Index
 
Register
 
IBM Mainframe Computers Forums Index Mainframe: Search IBM Mainframe Forum: FAQ Memberlist Profile Log in to check your private messages Log in
 
How to compile multiple programs in single JCL

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

New User


Joined: 11 Oct 2006
Posts: 5

PostPosted: Mon Nov 20, 2006 10:15 am    Post subject: How to compile multiple programs in single JCL
Reply with quote

Dear Friends

How to compile multiple programs in single JCL.

if explain with sutiable example. it will be very useful.

yours friend
Back to top
View user's profile Send private message

sridevi2005

New User


Joined: 15 Sep 2005
Posts: 42

PostPosted: Mon Nov 20, 2006 12:02 pm    Post subject: Re: to compile multiple programs in single jcl
Reply with quote

Hi,

You can compile more than one proram at a time.

use the following JCL.

//TXCOMP JOB (2005),'COBOL COMPILE ',MSGCLASS=X,
// CLASS=B,
// NOTIFY=&SYSUID,REGION=4096K
//PROCLIB JCLLIB ORDER=(PSYL.PROCLIB)
//COMP1 EXEC OSRCOMP,
// PROG1='XBACO37 ',
// PROG2='XBACO40 ',
// PROG3='XBACO41 ',

Thanks,
Sridevi
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 Nov 20, 2006 12:28 pm    Post subject: Re: to compile multiple programs in single jcl
Reply with quote

Quote:
How to compile multiple programs in single JCL.

Procs might help you.
Back to top
View user's profile Send private message
ctmanikandan

New User


Joined: 11 Oct 2006
Posts: 5

PostPosted: Tue Nov 21, 2006 9:51 am    Post subject: Re: How to compile multiple programs in single JCL
Reply with quote

Thanks Ms. Sridevi

Thank you
Back to top
View user's profile Send private message
vijay_bn79

New User


Joined: 20 Nov 2006
Posts: 48
Location: Hyderabad

PostPosted: Tue Nov 21, 2006 6:42 pm    Post subject: Re: to compile multiple programs in single jcl
Reply with quote

sridevi2005 wrote:
Hi,

You can compile more than one proram at a time.

use the following JCL.

//TXCOMP JOB (2005),'COBOL COMPILE ',MSGCLASS=X,
// CLASS=B,
// NOTIFY=&SYSUID,REGION=4096K
//PROCLIB JCLLIB ORDER=(PSYL.PROCLIB)
//COMP1 EXEC OSRCOMP,
// PROG1='XBACO37 ',
// PROG2='XBACO40 ',
// PROG3='XBACO41 ',

Thanks,
Sridevi


Hi sridevi..,


for proc how to pass 3 values with different names
like PROG1
PROG2
PROG3

in the same step
Back to top
View user's profile Send private message
vijay_bn79

New User


Joined: 20 Nov 2006
Posts: 48
Location: Hyderabad

PostPosted: Tue Nov 21, 2006 6:46 pm    Post subject:
Reply with quote

in single JCL(JOB) we can execute 255 steps

so
write one INSTREM proc in the JCL
and execute that proc by passing different different program names(Member name) in each steps

this may works

pls correct me if i am wrong

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
No new posts pointers on using USS and C programs. Pedro All Other Mainframe Topics 0 Wed Oct 04, 2017 4:38 am
No new posts ejck thru rexx to multiple jobs insid... Susanta All Other Mainframe Topics 5 Tue Sep 19, 2017 1:39 pm
No new posts More than 1 Include criteria for sing... Roy Ware SYNCSORT 6 Wed Sep 13, 2017 11:45 pm
No new posts PLI - printing from multiple programs Pedro PL/I & Assembler 8 Fri Sep 08, 2017 6:36 am
No new posts Repeat part of record multiple times Learncoholic DFSORT/ICETOOL 4 Tue Aug 29, 2017 11:33 am

Facebook
Back to Top
 
Job Vacancies | Forum Rules | Bookmarks | Subscriptions | FAQ | Polls | Contact Us