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
 

 

Cobol-Db2 precompilation for sub programs

 
Post new topic   Reply to topic    IBMMAINFRAMES.com Support Forums -> DB2
View previous topic :: :: View next topic  
Author Message
ganna_f16

New User


Joined: 07 Mar 2005
Posts: 17
Location: India

PostPosted: Fri Aug 17, 2007 6:10 pm    Post subject: Cobol-Db2 precompilation for sub programs
Reply with quote

Hi,
I am having a called and calling programs. Both contains the Db2 code.
Please explain for both Static and Dynamic calls.

1) What are all the steps I need to do to run this progrm ( i.e precopilie,compile..)
2) If I cange any of the programs in future, what are the steps I need to take care while precompiling.
Back to top
View user's profile Send private message

kgumraj2

New User


Joined: 01 Aug 2007
Posts: 42
Location: Hyderabad

PostPosted: Fri Aug 17, 2007 6:17 pm    Post subject:
Reply with quote

Static Calls:
There is only one Load module, and the load module is linked through OBJ files.

Dynamic Calls:
Each program has one load module. but cant excecute independently

Say ProgramA calls ProgramB and ProgramB is edited

Satic Calls:
You need to precompile ProgramB and ProgramA, with all subprogram OBJ file passing.

Dynamic call:
You need to precompile ProgramB and ProgramA.

OBJ files of all the programs needs to be stored in saparate dataset, hence space problem. this is not there in Dynamic calls .
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 -> DB2 All times are GMT + 6 Hours
Page 1 of 1

 

Search our Forum:

Similar Topics
Topic Author Forum Replies Posted
No new posts Why myself doing Package Bind always ... Susanta DB2 5 Thu Mar 02, 2017 10:47 pm
No new posts SQL query not working in Cobol program. CuriousMainframer COBOL Programming 14 Wed Feb 22, 2017 5:56 pm
No new posts Execute TSO ACF commands from COBOL-I... supreethi.srid TSO/ISPF 0 Tue Feb 21, 2017 5:19 pm
No new posts Mainframe Interview Questions CICS,CO... akshathan Mainframe Interview Questions 6 Thu Feb 09, 2017 6:38 pm
No new posts Submit job from Cobol with input data abdulrafi COBOL Programming 4 Wed Feb 01, 2017 12:41 pm


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