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
 

 

give me procedure?

 
Post new topic   Reply to topic    IBMMAINFRAMES.com Support Forums -> DB2
View previous topic :: :: View next topic  
Author Message
shriya reddy
Warnings : 1

New User


Joined: 05 Jun 2004
Posts: 43

PostPosted: Tue Sep 14, 2004 8:43 pm    Post subject: give me procedure?
Reply with quote

Hi,

I have one DB2-COBOL program. In this for one table i added new coloum. what are the modification do in program.

please give the steps to follow in excution of the cobol-db2 program. give me detailes information.

BYE
Shriya Reddy
Back to top
View user's profile Send private message

harinadh

New User


Joined: 01 Sep 2004
Posts: 18

PostPosted: Sat Sep 18, 2004 5:29 pm    Post subject: Re: give me procedure?
Reply with quote

Hai,

You added one column in a table. So, you have to following things...

1. Generate DCLGEN again( if u use DCLGEN)
2. Change Code in the program regarding SQL statemens..
like....changes in INTO, etc...
Before Insert into table1 values(:ws-host1,:ws-host2)
Now, you have to add :ws-host3.

Like that whereever change needed u have to change it....

3. Precompile and compile-linkedit, and bind again.
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 Regarding COBOL Stored Procedure opti... selvamsrinivasan85 DB2 4 Fri Nov 04, 2016 8:57 pm
No new posts Access SQLCA fields inside a stored p... gangapd DB2 4 Thu Oct 27, 2016 10:20 am
No new posts Is possible to call subprogram from c... cmsmoon COBOL Programming 3 Fri Aug 05, 2016 6:46 pm
This topic is locked: you cannot edit posts or make replies. Stored procedure on Federated thru DB2 arif677 DB2 6 Tue May 31, 2016 11:48 pm
No new posts Mainframe COBOL - DB2 Stored Procedure Elixir DB2 2 Sat Mar 19, 2016 9:39 am


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