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

Cobol Db Application Programs


IBM Mainframe Forums -> DB2
Post new topic   Reply to topic
View previous topic :: View next topic  
Author Message
ggopakumar

New User


Joined: 20 Aug 2003
Posts: 2

PostPosted: Wed Aug 20, 2003 8:34 am
Reply with quote

> Hi
>
> I have the following question. I could not find an answer for this in
your
> site. Appreciate your help.
>
> I have one Main program (non db2) calling 2 subprograms :-
> subprogram1 is cobol program
> subprogram2 is cobol/db2 program.
> I have the following questions :-
>
> 1. If I change only subprogram2 , which all components i should
> compile/link/bind so that i can test subprogram2.
> 2. If I change only subprogram1, which all components I should
> compile/link/bind so that i can test subprogram1.
> 3. If i change only the main program, which all components I should
> compile/link/bind so that i can test the main program.
> 4. If i change all the components what is the compile/link/bind
process.
>
>
> Thanks
>
> Regards
> Gopakumar
Back to top
View user's profile Send private message
mdtendulkar

Active User


Joined: 29 Jul 2003
Posts: 237
Location: USA

PostPosted: Wed Aug 20, 2003 9:25 am
Reply with quote

Hello ggopakumar,

Below is the solution for the queries...

Compilation of the programs depend upon the type of call made for the 2 subprograms. (static / dynamic)

1)
Dynamic call: Compile and bind the subprog 2 only
Static call: compile & bind subprog 2 & main prog

2)
Dynamic call: Compile / link only sub prog 1
Static Call: compile & link subprog 1 & main prog and
compile / link / bind sub prog 2 also

3)
For the main prog changes...you will have to compile / link sub prog 1
and compile / link / bind subprog 2

4)
If you are making changes in all the programs...you will need to compile / link / bind all the 3 programs.

compile / link sub prog 1
compile / link / bind sub prog 2
with the main prog

Correct me if i am wrong...

Hope this helps you.

Regards

Mayuresh Tendulkar
Back to top
View user's profile Send private message
bhoja

New User


Joined: 31 Jan 2006
Posts: 49

PostPosted: Thu Jun 14, 2007 3:30 pm
Reply with quote

Hi,
I am running one non db2 program, it is calling one db2 program, it is a static call. While running it is confusing with
plan and package. Let anyone tell me in run jcl which plan and which program name I have to give.
ie, //systsin dd *
dsn system(icon_cool.gif
run program(?) plan(?)

thanks
raj
Back to top
View user's profile Send private message
saiprasadh

Active User


Joined: 20 Sep 2006
Posts: 154
Location: US

PostPosted: Thu Jun 14, 2007 3:41 pm
Reply with quote

Hi


You have to give the Main program Name as the Program Name and the Plan name which has the Package of you sub program(Cobol DB2)



Thanks
Sai
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 -> DB2

 


Similar Topics
Topic Forum Replies
No new posts Replace each space in cobol string wi... COBOL Programming 3
No new posts COBOL -Linkage Section-Case Sensitive COBOL Programming 1
No new posts COBOL ZOS Web Enablement Toolkit HTTP... COBOL Programming 0
No new posts Calling DFSORT from Cobol, using OUTF... DFSORT/ICETOOL 5
No new posts Generate random number from range of ... COBOL Programming 3
Search our Forums:

Back to Top