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

give me procedure?


IBM Mainframe Forums -> DB2
Post new topic   Reply to topic
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
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
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 View Bookmarks
All times are GMT + 6 Hours
Forum Index -> DB2

 


Similar Topics
Topic Forum Replies
No new posts Invoke stored procedure via batch JCL. DB2 2
No new posts How to give complex condition in JCL . CLIST & REXX 30
No new posts Calling COBOL DB2 program from a COBO... COBOL Programming 2
No new posts Cond parameter and Rc code of a proce... JCL & VSAM 5
No new posts Can you give me examples of programs ... CLIST & REXX 22
Search our Forums:

Back to Top