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

Need to Precompile on change in a cobol-db2 program


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

New User


Joined: 22 Mar 2005
Posts: 51
Location: chennai

PostPosted: Wed May 18, 2005 5:28 pm
Reply with quote

hi

i have cobol-db2 program is there. it is already precompiled. after that I can do changes on cobol program. is it necessary to precompilation again?




regards

naveen
Back to top
View user's profile Send private message
priyesh.agrawal

Senior Member


Joined: 28 Mar 2005
Posts: 1448
Location: Chicago, IL

PostPosted: Wed May 18, 2005 5:58 pm
Reply with quote

I think Yes.

Regards,

Priyesh.
Back to top
View user's profile Send private message
ajay_dheepak

New User


Joined: 12 May 2005
Posts: 32
Location: Chennai

PostPosted: Thu May 19, 2005 2:53 pm
Reply with quote

Yes u need to.. Or else ul get -811 error.
Back to top
View user's profile Send private message
ajay_dheepak

New User


Joined: 12 May 2005
Posts: 32
Location: Chennai

PostPosted: Thu May 19, 2005 2:53 pm
Reply with quote

sorry ul get -818 error
Back to top
View user's profile Send private message
David P

Active User


Joined: 11 Apr 2005
Posts: 106
Location: Cincinnati Ohio

PostPosted: Thu May 19, 2005 2:56 pm
Reply with quote

Hi,
I beleive if you want your changes to reflect in the outcome of the execution you need to precompile it again, otherwise not.

regards,
David.
Back to top
View user's profile Send private message
ajay_dheepak

New User


Joined: 12 May 2005
Posts: 32
Location: Chennai

PostPosted: Thu May 19, 2005 3:01 pm
Reply with quote

No David. Actually -818 sqlcode comes when the timestamp of the Compilation and binding mismatches.

After you bind the program, when u make some changes to the program and compile it once again and then try to run it with the previously bounded DBRM member, ul get -818.
Back to top
View user's profile Send private message
avalanches

New User


Joined: 10 May 2005
Posts: 28

PostPosted: Sun May 22, 2005 4:28 pm
Reply with quote

Ajay & David,

The question was not clear for the part of the argument.

Cheers,
avalanches.
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 Using API Gateway from CICS program CICS 0
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
Search our Forums:

Back to Top