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

clarification required on DBD


IBM Mainframe Forums -> IMS DB/DC
Post new topic   Reply to topic
View previous topic :: View next topic  
Author Message
Mahendran3784

New User


Joined: 04 May 2007
Posts: 20
Location: INDIA

PostPosted: Thu Aug 07, 2008 9:47 pm
Reply with quote

I have a piece of code from DBD as shown below.
Code:
SEGM   NAME=SEG1,BYTES=200,PTR=(T),PARENT=0                      X
       RULES=(LLL,LAST),COMPRTN=(DPIEXIT,DATA,INIT)
FIELD  NAME=(FIELD1,SEQ,M),BYTES=5,START=7,TYPE=C

Could any one explain about PTR, RULES, COMPRTN parameters? And also what does "M" signifies in the field description of FIELD1? I know a "U" meaning uniqueness of the field value.

_____________
Thanks
M.
Back to top
View user's profile Send private message
Sandy Zimmer

Active Member


Joined: 13 Jun 2007
Posts: 826
Location: Wilmington, DE

PostPosted: Fri Aug 08, 2008 5:36 am
Reply with quote

This is "simple" DBD rules. Pointers are assigned for effiiciecy rules. Search this forum for more info.
Back to top
View user's profile Send private message
Mahendran3784

New User


Joined: 04 May 2007
Posts: 20
Location: INDIA

PostPosted: Fri Aug 08, 2008 9:58 pm
Reply with quote

thanks for ur reply. i got the info about rules and an "M" in the field name.
I looked at some other posts for PTR but i couldn't understand it. plz explain with an example.
Quote:
PTR Specifies the pointer fields to be reserved in the prefix area of occurrences of the segment type being defined. These fields are used to relate this segment to its immediate parent segments and twin segments.

PTR=T means pointer type in twin and Reserves a 4-byte physical twin forward pointer field in the segment prefix being defined.

And also about the parameter COMPRT, i could not find out any POST. plz help.
_____________
Thanks
M.
Back to top
View user's profile Send private message
enrico-sorichetti

Superior Member


Joined: 14 Mar 2007
Posts: 10873
Location: italy

PostPosted: Fri Aug 08, 2008 11:12 pm
Reply with quote

why not look at the appropriate IMS manual
starting from the manual link at the top of the page
or at the first hand source of all the knowledge at
http://www-03.ibm.com/systems/z/os/zos/bkserv/index.html#other_pubs
Back to top
View user's profile Send private message
Anuj Dhawan

Superior Member


Joined: 22 Apr 2006
Posts: 6250
Location: Mumbai, India

PostPosted: Mon Aug 11, 2008 11:18 am
Reply with quote

Mahendran3784 wrote:
plz explain with an example.
It's a over broad request, if I don't know something I must read the exaples & come back with what I don't understand..
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 -> IMS DB/DC

 


Similar Topics
Topic Forum Replies
No new posts Required Date Format in Include Sort ... DFSORT/ICETOOL 6
No new posts COMPUSET/XICS z/os document required All Other Mainframe Topics 1
No new posts Number of Packages required for stati... DB2 4
No new posts Receommendations required for adding ... JCL & VSAM 5
No new posts FTP help required All Other Mainframe Topics 3
Search our Forums:

Back to Top