MVSFORUMS.com Forum Index MVSFORUMS.com
A Community of and for MVS Professionals
 
 FAQFAQ   SearchSearch   Quick Manuals   RegisterRegister 
 ProfileProfile   Log in to check your private messagesLog in to check your private messages   Log inLog in 

ADABAS and DB2 Calls in COBOL Program

 
Post new topic   Reply to topic   printer-friendly view    MVSFORUMS.com Forum Index -> Database
View previous topic :: View next topic  
Author Message
selva21
Beginner


Joined: 30 Dec 2003
Posts: 52
Topics: 30

PostPosted: Mon Jan 09, 2006 9:00 am    Post subject: ADABAS and DB2 Calls in COBOL Program Reply with quote

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.
_________________
--------------------------------------------------------
Knowledge is power. But Imagination is more important than Knowledge. -Albert Einstein
--------------------------------------------------------
Back to top
View user's profile Send private message
ofer71
Intermediate


Joined: 12 Feb 2003
Posts: 358
Topics: 4
Location: Israel

PostPosted: Mon Jan 09, 2006 3:57 pm    Post subject: Reply with quote

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
Back to top
View user's profile Send private message Send e-mail
selva21
Beginner


Joined: 30 Dec 2003
Posts: 52
Topics: 30

PostPosted: Mon Jan 09, 2006 10:28 pm    Post subject: Reply with quote

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.
_________________
--------------------------------------------------------
Knowledge is power. But Imagination is more important than Knowledge. -Albert Einstein
--------------------------------------------------------
Back to top
View user's profile Send private message
ofer71
Intermediate


Joined: 12 Feb 2003
Posts: 358
Topics: 4
Location: Israel

PostPosted: Thu Jan 12, 2006 12:38 pm    Post subject: Reply with quote

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
Back to top
View user's profile Send private message Send e-mail
Display posts from previous:   
Post new topic   Reply to topic   printer-friendly view    MVSFORUMS.com Forum Index -> Database All times are GMT - 5 Hours
Page 1 of 1

 
Jump to:  
You cannot post new topics in this forum
You cannot reply to topics in this forum
You cannot edit your posts in this forum
You cannot delete your posts in this forum
You cannot vote in polls in this forum


MVSFORUMS
Powered by phpBB © 2001, 2005 phpBB Group