View previous topic :: View next topic |
Author |
Message |
manu Beginner
Joined: 26 Dec 2002 Posts: 47 Topics: 19
|
Posted: Thu Apr 16, 2009 10:42 am Post subject: DBRM with only include statements |
|
|
A cobol program has only INCLUDE DCLGEN statement and no DB2 table access.When compiling DBRM is getting created.I don't think it is needed.Can you please let me know the purpose and if not required,how to get rid of it? |
|
Back to top |
|
|
dbzTHEdinosauer Supermod
Joined: 20 Oct 2006 Posts: 1411 Topics: 26 Location: germany
|
Posted: Thu Apr 16, 2009 11:37 am Post subject: |
|
|
are any of the reference names in the DCLGEN statement referenced?
sounds as if the sql was removed and someone forgot to remove the table declare.
happens often.
remove the INCLUDE and compile it as straight COBOL without DB2 and see if you have any errors. _________________ Dick Brenholtz
American living in Varel, Germany |
|
Back to top |
|
|
Terry_Heinze Supermod
Joined: 31 May 2004 Posts: 391 Topics: 4 Location: Richfield, MN, USA
|
Posted: Sat Apr 18, 2009 4:20 pm Post subject: |
|
|
A possibility is that the DCLGEN was left in intentionally to serve the purpose of a record layout (poor practice in my opinion), but Dick's guess is a good one. Check for references to the DCLGEN fields. _________________ ....Terry |
|
Back to top |
|
|
manu Beginner
Joined: 26 Dec 2002 Posts: 47 Topics: 19
|
Posted: Wed Apr 22, 2009 1:49 pm Post subject: |
|
|
ok.Thanks very much for your inputs |
|
Back to top |
|
|
|
|