View previous topic :: View next topic
|
Author |
Message |
Mahendran3784
New User
Joined: 04 May 2007 Posts: 20 Location: INDIA
|
|
|
|
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 |
|
|
Sandy Zimmer
Active Member
Joined: 13 Jun 2007 Posts: 826 Location: Wilmington, DE
|
|
|
|
This is "simple" DBD rules. Pointers are assigned for effiiciecy rules. Search this forum for more info. |
|
Back to top |
|
|
Mahendran3784
New User
Joined: 04 May 2007 Posts: 20 Location: INDIA
|
|
|
|
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 |
|
|
enrico-sorichetti
Superior Member
Joined: 14 Mar 2007 Posts: 10873 Location: italy
|
|
Back to top |
|
|
Anuj Dhawan
Superior Member
Joined: 22 Apr 2006 Posts: 6250 Location: Mumbai, India
|
|
|
|
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 |
|
|
|