Portal | Manuals | References | Downloads | Info | Programs | JCLs | Mainframe wiki | Quick Ref
IBM Mainframe Computers Forums Index
 
Register
 
IBM Mainframe Computers Forums Index Mainframe: Search IBM Mainframe Forum: FAQ Memberlist Profile Log in to check your private messages Log in
 
DDM creation in Natural

 
Post new topic   Reply to topic    IBMMAINFRAMES.com Support Forums -> Java & MQSeries
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    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

ofer71

Global Moderator


Joined: 27 Dec 2005
Posts: 2360
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: 18
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: 2360
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
View previous topic :: :: View next topic  
Post new topic   Reply to topic    IBMMAINFRAMES.com Support Forums -> Java & MQSeries All times are GMT + 6 Hours
Page 1 of 1

 

Search our Forum:

Similar Topics
Topic Author Forum Replies Posted
No new posts Reg:Displaying the particular month o... bhavana yalavarthi All Other Mainframe Topics 4 Sat Jul 08, 2017 8:13 pm
No new posts REXX - Dynamic file Creation d_sarlie CLIST & REXX 7 Tue Jun 27, 2017 7:30 pm
No new posts Dynamic output file creation in cobol... smileheal COBOL Programming 7 Thu Jun 15, 2017 10:53 pm
This topic is locked: you cannot edit posts or make replies. Natural ADABAS Opening with CTS enikhilk Mainframe Jobs 0 Wed Nov 30, 2016 5:37 pm
No new posts Casting a Binary Number to Numeric in... Bob Steinkraus Java & MQSeries 6 Tue Aug 09, 2016 5:58 pm

Facebook
Back to Top
 
Job Vacancies | Forum Rules | Bookmarks | Subscriptions | FAQ | Polls | Contact Us