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
 
DDM creation in Natural

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

New User


Joined: 22 Feb 2005
Posts: 14
Location: Hyderabad

PostPosted: Wed May 14, 2008 11:50 am    Post subject: DDM creation in Natural
Reply with quote

Hi,

This is Pavan Kumar. While creating the DDM, if we have the same DB name, how we can consider. Please have a look into the below example.

Level DB name Name Type
-------------------------------------------------
1 AA REC-ID-AREA Group
1 AA RI-REC-ID-AREA Group


2 AB PM01-CONTRACT-NUMBER Packed Dec 11.0 Elementary
2 AB RI-CONTRACT-NUMBER Packed Dec 11.0 Elementary


In the above example, we have two DBNAMEs as AA and AA. So, while creating DDM, do we need to consider the second one also.

Please suggest me if anybody know about this issue.


Thanks,
Pavan Kumar
Back to top
View user's profile Send private message
References
PostPosted: Wed May 14, 2008 11:50 am    Post subject: Re: DDM creation in Natural Reply with quote

ofer71

Global Moderator


Joined: 27 Dec 2005
Posts: 1812
Location: Israel

PostPosted: Wed May 14, 2008 2:46 pm    Post subject:
Reply with quote

What do you mean by "do we need to consider"?

Indeed, Natural DDMs allow for multiple definitions of the same ADABAS fields, even with different formats. This is done in order to facilitate the coding work of the Natural programmer and to avoid redefines within the program. However, sometimes this flexibility (as with other Natural features) might be confusing as the novice programmer might use the incorrect field.

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

New User


Joined: 22 Feb 2005
Posts: 14
Location: Hyderabad

PostPosted: Wed May 14, 2008 4:42 pm    Post subject:
Reply with quote

In the above example, I want to know, do we need to declare the fields having same DB name's.

Level DB name Name Type
------ --------- -------------- --------
1 AA REC-ID-AREA Group
1 AA RI-REC-ID-AREA Group


2 AB PM01-CONTRACT-NUMBER Packed Dec 11.0
2 AB RI-CONTRACT-NUMBER Packed Dec 11.0

Here, in the above example, AB and AB are the two DB names with same structure. In this case, do we need to declare both?


Thanks,
Pavan Kumar
Back to top
View user's profile Send private message
ofer71

Global Moderator


Joined: 27 Dec 2005
Posts: 1812
Location: Israel

PostPosted: Wed May 14, 2008 4:50 pm    Post subject:
Reply with quote

Where do you want do declare it?

You don't declare ADABAS fields directly. You declare DDM fields with their long name(that's why they invented the DDM...).

O.
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