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

Explain me about the PTR, RULES, TYE and U fields in DBD


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

Active User


Joined: 02 Jul 2005
Posts: 124
Location: Gurgaon

PostPosted: Tue Sep 11, 2007 11:37 am
Reply with quote

Hi All, can any one of you please explain the fields of PTR, RULES, TYE, U in the below mentioned code.
This is used to create the DBD segment of the database


SEGM NAME=MMHISTN,BYTES=XX,PTR=(T), X
PARENT=MMMEMBR,RULES=(LLL)
FIELD NAME=(MMSTRTDT,SEQ,U),BYTES=5,START=1,TYPE=C

Thanks!
Rathna.
Back to top
View user's profile Send private message
abin

Active User


Joined: 14 Aug 2006
Posts: 198

PostPosted: Tue Sep 11, 2007 2:30 pm
Reply with quote

Hi Rathan,

Rules here specifies Insert, delete, and replace rules of the segment.
L here means insert, delete and modify rules are logical.
Please refer http://publib.boulder.ibm.com/infocenter/dzichelp/v2r2/index.jsp?topic=/com.ibm.ims9.doc.adb/xf3f6c.htm for more info.

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.

TYPE= C
Specifies the type of data that is to be contained in this field is Alphanumeric data or a combination of types of data.

Thanks,
Abin.
Back to top
View user's profile Send private message
Bitneuker

CICS Moderator


Joined: 07 Nov 2005
Posts: 1104
Location: The Netherlands at Hole 19

PostPosted: Mon Sep 17, 2007 4:08 am
Reply with quote

icon_wink.gif Please refer
Quote:
http://publib.boulder.ibm.com/infocenter/dzichelp/v2r2/index.jsp?topic=/com.ibm.ims9.doc.adb/xf3f6c.htm for more info.


Love this link.........alway recommend people to take a look over there icon_rolleyes.gif
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 DB2 Statistics - Using EXPLAIN and qu... DB2 1
No new posts Concatenate 2 fields (usage national)... COBOL Programming 2
No new posts Cobol COMP-2 fields getting scrambled... Java & MQSeries 6
No new posts Converting unpacked fields to pack us... SYNCSORT 4
No new posts Data for newly added fields not displ... IMS DB/DC 6
Search our Forums:

Back to Top