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
 

 

query on Non db2 cobol program

 
Post new topic   Reply to topic    IBMMAINFRAMES.com Support Forums -> DB2
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    Post subject: query on Non db2 cobol program
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

Global Moderator


Joined: 14 Mar 2007
Posts: 10256
Location: italy

PostPosted: Wed Apr 14, 2010 11:22 am    Post subject: Reply to: query on Non db2 cobol program
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: 2150
Location: At my coffee table

PostPosted: Wed Apr 14, 2010 3:40 pm    Post subject: Re: query on Non db2 cobol program
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    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 Need help in REXX CALL program Raje1002 CLIST & REXX 5 Wed Apr 19, 2017 11:18 pm


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