Portal | IBM Manuals | Downloads | Products | Refer | Info | Programs | JCLs | Forum Rules*| Site Map | Mainframe CD 
IBMMAINFRAMES.com - IBM Mainframe Support Forums Index
 
Register
 
IBMMAINFRAMES.com - IBM Mainframe Support Forums Index FAQ Search Memberlist Usergroups Profile Log in to check your private messages Log in
 
How different the Natural/DB2 working environment

 
Post new topic   Reply to topic    IBMMAINFRAMES.com Support Forums -> NATURAL & MQSERIES
Author Message
monasu1998

Active User


Joined: 23 Dec 2005
Posts: 88
Location: Hyderabad

PostPosted: Thu Aug 23, 2007 8:56 am    Post subject: How different the Natural/DB2 working environment
Reply with quote

Hi All,

There are chances that I will be working in a Natural/DB2 project. Could any one help me to understand how different Natural/Db2 environment and what all things need to be considered.

Thanks in Advance
Back to top
View user's profile Send private message
References
PostPosted: Thu Aug 23, 2007 8:56 am    Post subject: Re: How different the Natural/DB2 working environment Reply with quote

ofer71

Global Moderator


Joined: 27 Dec 2005
Posts: 1754
Location: Israel

PostPosted: Thu Aug 23, 2007 11:31 am    Post subject:
Reply with quote

Different from what?

O.
Back to top
View user's profile Send private message
dr_te_z

Active User


Joined: 08 Jun 2007
Posts: 74
Location: Zoetermeer, the Netherlands

PostPosted: Thu Aug 23, 2007 11:46 am    Post subject:
Reply with quote

It depends:

are you using natural DML (read/histrogram/find) or SQL?
are you allowed (as application programmer) to define DB2-views?

I'd say: use natural DML. Simple.

If you require more than simple access: build a view (containg all the complex-SQL-joins-and-stuff) and access that using simple natural DML!

So, start by bringing the DBA his/her coffee icon_smile.gif
Back to top
View user's profile Send private message
M Venkatesh

New User


Joined: 24 Aug 2007
Posts: 2
Location: Chennai

PostPosted: Fri Aug 24, 2007 12:57 pm    Post subject:
Reply with quote

There are lot of programs in my shop which needs uses Natural/ DB2. For the programming consideration you need not worry. Natural DDM(which is natural view of the Db2 table) is one you will use. When you write your Natural code the, Natural will transalate the these statements into SQL equilavent. I can tell you it is Natural at any given is easier to code.. If you need more information, please get back.. icon_biggrin.gif
Back to top
View user's profile Send private message
Display posts from previous:   
Post new topic   Reply to topic    IBMMAINFRAMES.com Support Forums -> NATURAL & MQSERIES All times are GMT + 6 Hours
Page 1 of 1