crrindia
Active User
Joined: 02 Jul 2005 Posts: 124 Location: Gurgaon
|
|
|
|
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. |
|
abin
Active User
Joined: 14 Aug 2006 Posts: 198
|
|
|
|
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. |
|