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 

About DB2 API.

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


Joined: 07 Feb 2004
Posts: 127
Topics: 67

PostPosted: Fri Feb 13, 2004 1:17 pm    Post subject: About DB2 API. Reply with quote

Hello:

When we access db2 we can using Embedded SQL or DB2 API. What's the rule to choice them? What's the difference ?

Thank you

Andy
Back to top
View user's profile Send private message
kolusu
Site Admin
Site Admin


Joined: 26 Nov 2002
Posts: 12376
Topics: 75
Location: San Jose

PostPosted: Fri Feb 13, 2004 1:36 pm    Post subject: Reply with quote

Andy,

API(Application Program Interface) is functional interface supplied by the operating system or by a separately orderable licensed program that allows an application program written in a high-level language to use specific data or functions of the operating system or the licensed program.

SPUFI(SQL processing using File input) and QMF(Query Management Facility) are a few examples of API. Both of the above mentioned products are interactive.

If your requirement is to just browse/generate simple reports the data in a DB2 table then you can simply use SPUFI or QMF.

Embedded SQL's are used to access DB2 via program where you browse/modify the data based on your business requirement.

Hope this helps...

Cheers

Kolusu
_________________
Kolusu
www.linkedin.com/in/kolusu
Back to top
View user's profile Send private message Send e-mail Visit poster's website
ANDY
Beginner


Joined: 07 Feb 2004
Posts: 127
Topics: 67

PostPosted: Fri Feb 13, 2004 2:39 pm    Post subject: Reply with quote

Hi Kolusu:

Thank you for your explantion.
But as I know, DB2 API can still be used to access DB2 by calling their function via program like Embedded SQL. I want to konw when we use it.

Thanks

Andy
_________________
cheers,
Andy
Back to top
View user's profile Send private message
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