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

Compile JCL for Sub-programs


IBM Mainframe Forums -> JCL & VSAM
Post new topic   Reply to topic
View previous topic :: View next topic  
Author Message
amajhi

New User


Joined: 21 Jul 2006
Posts: 18
Location: Pune

PostPosted: Mon Jul 02, 2007 6:14 pm
Reply with quote

Hi All,

Can anyone provide the JCL which will compile Main and Subprogram.
For example if A is main program and it is calling Sub-program B which is
Statically called by A.

Thanks
Back to top
View user's profile Send private message
murmohk1

Senior Member


Joined: 29 Jun 2006
Posts: 1436
Location: Bangalore,India

PostPosted: Mon Jul 02, 2007 6:16 pm
Reply with quote

amajhi,

Quote:
Can anyone provide the JCL which will compile Main and Subprogram.


I dont think we have any JCL like that.
Back to top
View user's profile Send private message
amajhi

New User


Joined: 21 Jul 2006
Posts: 18
Location: Pune

PostPosted: Mon Jul 02, 2007 6:18 pm
Reply with quote

So How will u recompile these two programs.
Back to top
View user's profile Send private message
murmohk1

Senior Member


Joined: 29 Jun 2006
Posts: 1436
Location: Bangalore,India

PostPosted: Mon Jul 02, 2007 6:20 pm
Reply with quote

Quote:
So How will u recompile these two programs.

Compile as two individual programs. First sub-program followed by main program.

Quote:
I am new to use XPEDITOR can anyone tell me what are the commands

Is this your signature or really mean it?
Back to top
View user's profile Send private message
kgumraj

Active User


Joined: 01 May 2006
Posts: 151
Location: Hyderabad

PostPosted: Mon Jul 02, 2007 6:21 pm
Reply with quote

Hi,

JCL can have many steps. In your case Please tell us, what you need to do ?
Like Step1 compileB and Step2 compile-A.
Back to top
View user's profile Send private message
amajhi

New User


Joined: 21 Jul 2006
Posts: 18
Location: Pune

PostPosted: Mon Jul 02, 2007 6:25 pm
Reply with quote

This is for staic but how to recompile programs which is calling a subprogram Dynamically

Thanks,
Arvind
Back to top
View user's profile Send private message
dick scherrer

Moderator Emeritus


Joined: 23 Nov 2006
Posts: 19244
Location: Inside the Matrix

PostPosted: Mon Jul 02, 2007 8:44 pm
Reply with quote

Hello,

Please talk with the system support people in your organization who support the compilers and link editor. Compile/link jcl is site-specific and you should use the standard jcl of your organization.
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 Compile rexx code with jcl CLIST & REXX 6
No new posts C Compile time time stamps Java & MQSeries 10
No new posts Fetch data from programs execute (dat... DB2 3
No new posts Passing Parameters to Programs Invoke... PL/I & Assembler 5
Search our Forums:

Back to Top