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

query on Non db2 cobol program


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

New User


Joined: 24 Jan 2006
Posts: 28

PostPosted: Wed Apr 14, 2010 11:10 am
Reply with quote

In our workshop, we have a cobol program which was last compiled in 2004.

This program just has include exec SQL SQLCA end-exec
no other query.
I am not able to see any DBRM also for this code.

When i try to compile it again using db2 option, it gives error that dbrm is empty, and when i compile it as non-db2, it gives error that 'exec sql' is not recognized.

I want to know, how this program was initially created in 2004 where it got compiled and installed properly

Thanks in advance
cdhami
Back to top
View user's profile Send private message
enrico-sorichetti

Superior Member


Joined: 14 Mar 2007
Posts: 10873
Location: italy

PostPosted: Wed Apr 14, 2010 11:22 am
Reply with quote

Quote:
I want to know, how this program was initially created in 2004 where it got compiled and installed properly


unlikely You will find any useful answer outside Your organization
Back to top
View user's profile Send private message
CICS Guy

Senior Member


Joined: 18 Jul 2007
Posts: 2146
Location: At my coffee table

PostPosted: Wed Apr 14, 2010 3:40 pm
Reply with quote

cdhami wrote:
When i try to compile it again using db2 option, it gives error that dbrm is empty, and when i compile it as non-db2, it gives error that 'exec sql' is not recognized.

I want to know, how this program was initially created in 2004 where it got compiled and installed properly
Probably, the pre-compile translator didn't care if the dbrm was empty....
Why is the SQLCA included?
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