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
 

 

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 Read two inputs and write into output... murali.andaluri DFSORT/ICETOOL 6 Wed Jul 26, 2017 7:35 pm
No new posts Changeman get multiple "Browse C... elixir1986 Compuware & Other Tools 4 Fri Jul 14, 2017 1:48 am
No new posts How to write Specific Fields from Mul... Padhu SYNCSORT 6 Thu Jul 06, 2017 10:26 am
No new posts Unable to create multiple files using... mbattu COBOL Programming 3 Fri May 05, 2017 5:35 pm
This topic is locked: you cannot edit posts or make replies. SDSF multiple spool datasets extracte... PJAlarcon CLIST & REXX 1 Fri Apr 21, 2017 10:50 pm


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