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 Db Application Programs

 
Post new topic   Reply to topic    IBMMAINFRAMES.com Support Forums -> DB2
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    Post subject: Cobol Db Application Programs
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: 238
Location: USA

PostPosted: Wed Aug 20, 2003 9:25 am    Post subject:
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    Post subject:
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    Post subject:
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    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
This topic is locked: you cannot edit posts or make replies. Cobol GUI (like Editor) Kala Mainframe COBOL Programming 14 Wed May 10, 2017 12:30 pm
No new posts IMS T-Pipe queue counts in a COBOL Pr... Siva NKK Kothamasu IMS DB/DC 0 Tue May 09, 2017 6:31 pm
No new posts COBOL Code Parsers and Lineage Establ... balimanja COBOL Programming 2 Tue May 02, 2017 3:30 am
No new posts Cobol upgrade - source code missing f... gthmrj IBM Tools 1 Wed Apr 26, 2017 6:04 pm
No new posts COBOL Programming Sandpit? jodrisco COBOL Programming 6 Wed Apr 12, 2017 3:47 am


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