#1: ADABAS and DB2 Calls in COBOL Program Author: selva21, Posted: Mon Jan 09, 2006 9:00 am Hi,
Is it possible for a COBOL program to contain both ADABS calls (EXEC ADABAS) and DB2 Calls (EXEC SQL) ?
If yes, what is the process of compilation for that COBOL program (like Adabas pre-compilation/DB2 pre-compilation/COBOL Compilation..etc)?
Thanks,
Selva.
#2: Author: ofer71, Location: IsraelPosted: Mon Jan 09, 2006 3:57 pm You compile it like a regular DB2 program, just add the ADABAS load library to your STEPLIB, or an ADARUN card.
Last edited by ofer71 on Sat Feb 05, 2011 11:26 am; edited 1 time in total
#3: Author: selva21, Posted: Mon Jan 09, 2006 10:28 pm Hi ofer71,
Thanks for the reply. From your reply, I assume that it is possible for a COBOL program to contain both ADABS calls (EXEC ADABAS) and DB2 Calls (EXEC SQL).
Thanks,
Selva.
#4: Author: ofer71, Location: IsraelPosted: Thu Jan 12, 2006 12:38 pm Yes, I have programs using both ADABAS abd DB2. You can access ADABAS from within any conventional programming language, filling the buffers, and using the CALL interface standards.