IBM Mainframe Forum Index
 
Log In
 
IBM Mainframe Forum Index Mainframe: Search IBM Mainframe Forum: FAQ Register
 

DDM creation in Natural


IBM Mainframe Forums -> Java & MQSeries
Post new topic   Reply to topic
View previous topic :: View next topic  
Author Message
gadiyarampavan

New User


Joined: 22 Feb 2005
Posts: 18
Location: Hyderabad

PostPosted: Wed May 14, 2008 11:50 am
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
ofer71

Global Moderator


Joined: 27 Dec 2005
Posts: 2358
Location: Israel

PostPosted: Wed May 14, 2008 2:46 pm
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: 18
Location: Hyderabad

PostPosted: Wed May 14, 2008 4:42 pm
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: 2358
Location: Israel

PostPosted: Wed May 14, 2008 4:50 pm
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
View previous topic :: :: View next topic  
Post new topic   Reply to topic View Bookmarks
All times are GMT + 6 Hours
Forum Index -> Java & MQSeries

 


Similar Topics
Topic Forum Replies
No new posts JCL sort card for file creation condi... DFSORT/ICETOOL 4
No new posts VSAM KSDS CREATION AND LOAD WITH RAND... JCL & VSAM 1
No new posts DataSet member creation failed with B... Java & MQSeries 15
No new posts panel creation question TSO/ISPF 12
No new posts IMS DB using Natural Language IMS DB/DC 0
Search our Forums:

Back to Top