View previous topic :: View next topic
|
Author |
Message |
cdhami
New User
Joined: 24 Jan 2006 Posts: 28
|
|
|
|
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 |
|
|
enrico-sorichetti
Superior Member
Joined: 14 Mar 2007 Posts: 10873 Location: italy
|
|
|
|
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 |
|
|
CICS Guy
Senior Member
Joined: 18 Jul 2007 Posts: 2146 Location: At my coffee table
|
|
|
|
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 |
|
|
|