IBM MAINFRAME HELP & SUPPORT FORUMS
Technical Forums for IBM Mainframe Applications like COBOL, JCL, CICS, DB2, FileAid, DFSORT, Endevor, Xpediter, CoolGen, CA-7&11, AbendAid, IMS, IDMS, PL/I, MqSeries, SyncSort, Assembler, ChangeMan, Easytrieve, InterTest, REXX, CLIST etc...
 

Foriegn Key Problem in a CICS-BD2-COBOL Program

THIS IS AN ARCHIVE FORUM: CLICK HERE TO GO TO THE ORIGINAL TOPIC

 
       IBMMAINFRAMES.com - IBM Mainframe Support Forums Index -> DB2
View previous topic :: View next topic  
Author Message
munish



Joined: 06 May 2005
Posts: 1

Posted: Wed Jun 08, 2005 5:31 pm    Post subject: Foriegn Key Problem in a CICS-BD2-COBOL Program  

Hi all,
I am facing one problem.I have two table in one table i m referencing forigen key and i am creating map for these table.but in cobol it is saying that deptno is ambigious while compling db2cobol.
what to do .

munish
Back to top  
arasu1982



Joined: 05 Mar 2005
Posts: 7
Location: Bangalore

Posted: Wed Jun 08, 2005 6:00 pm    Post subject:  

Hi,
I m also got the same problem. When removing referencing key from select statement i got expected result. Try this. If anything wrong plz sorry...........
Back to top  
 
       IBMMAINFRAMES.com - IBM Mainframe Support Forums Index -> DB2
Page 1 of 1
THIS IS AN ARCIVE FORUM IN READ ONLY MODE. IF YOU WANT TO ASK YOUR DOUBTS USE THE ACTUAL FORUM