COBOL PRECOMPILER ERROR:
"XXXXXX" (TABLE) PREVIOUSLY DECLARED OR REFERENCED
DCLGEN VARIABLES GETS IMPORTED TWICE FOR ONLY ONE EXEC SQL
STATEMENT.
WHAT COULD BE THE PROBLEM?



COBOL PRECOMPILER ERROR: "XXXXXX" (TABLE) PREVIOUSLY DECLARED OR REFERENCED DCLGEN VARIA..

Answer / praveen kumar

ensure that u hv included dclgen members before executing
any query or using table name anywhere in the program

Is This Answer Correct ?    2 Yes 2 No

Post New Answer

More DB2 Interview Questions

What is db2 instance?

0 Answers  


what needs to be done if a table is in copy pending / check pending status?

5 Answers   Xansa,


Hi Everyone... Under the Logical files, when am working on multiple rec format logical file, I have joined two pf's using the multiple record format logical file concept, but when i run queried the LF only the first mentioned pf records are reflecting and I am not able to see any of the field records specified under the second pf. Kindly let me know whats the reason behind this. Below is the str of LF., R rec PFILE(LOGICAA) CUSTNO CUSTNAME BILL K CUSTNO R rec1 PFILE(LOGICAA1) CUSTNO ADD K CUSTNO .....

0 Answers  


What are the three lock types?

2 Answers  


What is the significance of DB2 free space and what parameters control it?

1 Answers  






what is the sqlcode -501

5 Answers   IBM, Polaris, Zeus,


What is buffer pool in the db2 database?

0 Answers  


Is db2 a programming language?

0 Answers  


What is host variable in db2 cobol?

0 Answers  


How do you run JCL in cobol program

1 Answers   IBM, Syntel,


Can you search give an array in the WHERE clause of a db2 query?

1 Answers  


Can we use select * statement in cobol program without giving field names ???

3 Answers   Zensar,


Categories