IBM Mainframe Forum Index
 
Log In
 
IBM Mainframe Forum Index Mainframe: Search IBM Mainframe Forum: FAQ Register
 

How to compile multiple programs in single JCL


IBM Mainframe Forums -> JCL & VSAM
Post new topic   Reply to topic
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
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
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: 1448
Location: Chicago, IL

PostPosted: Mon Nov 20, 2006 12:28 pm
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
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
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
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 View Bookmarks
All times are GMT + 6 Hours
Forum Index -> JCL & VSAM

 


Similar Topics
Topic Forum Replies
No new posts Compile Several JCL JOB Through one r... CLIST & REXX 4
No new posts INCLUDE OMIT COND for Multiple values... DFSORT/ICETOOL 5
No new posts Compile rexx code with jcl CLIST & REXX 6
No new posts Replace Multiple Field values to Othe... DFSORT/ICETOOL 12
No new posts Multiple table unload using INZUTILB DB2 2
Search our Forums:

Back to Top