ADABAS and DB2 Calls in COBOL Program
Select messages from
# through # FAQ
[/[Print]\]

MVSFORUMS.com -> Database

#1: ADABAS and DB2 Calls in COBOL Program Author: selva21 PostPosted: 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: ofer71Location: Israel PostPosted: 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.

O.
________
n02 vaporizer


Last edited by ofer71 on Sat Feb 05, 2011 11:26 am; edited 1 time in total

#3:  Author: selva21 PostPosted: 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: ofer71Location: Israel PostPosted: 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.

O.
________
How To Roll A Joint



MVSFORUMS.com -> Database


output generated using printer-friendly topic mod. All times are GMT - 5 Hours

Page 1 of 1

Powered by phpBB © 2001, 2005 phpBB Group