Portal | Manuals | References | Downloads | Info | Programs | JCLs | Master the Mainframes
IBM Mainframe Computers Forums Index
 
Register
 
IBM Mainframe Computers Forums Index Mainframe: Search IBM Mainframe Forum: FAQ Memberlist Usergroups Profile Log in to check your private messages Log in
 

 

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

 
Post new topic   Reply to topic    IBMMAINFRAMES.com Support Forums -> IMS DB/DC
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    Post subject: Explain me about the PTR, RULES, TYE and U fields in DBD
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    Post subject:
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: 1105
Location: The Netherlands at Hole 19

PostPosted: Mon Sep 17, 2007 4:08 am    Post subject:
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    IBMMAINFRAMES.com Support Forums -> IMS DB/DC All times are GMT + 6 Hours
Page 1 of 1

 

Search our Forum:

Similar Topics
Topic Author Forum Replies Posted
No new posts How to write Specific Fields from Mul... Padhu SYNCSORT 6 Thu Jul 06, 2017 10:26 am
No new posts Validate date and numeric fields and ... Rick Silvers DFSORT/ICETOOL 6 Thu May 11, 2017 6:51 pm
No new posts Sum Fields ballaswaroop DFSORT/ICETOOL 4 Tue May 02, 2017 11:07 am
No new posts RULES(NOEVENPACK) in cobol jackzhang75 COBOL Programming 5 Wed Mar 29, 2017 12:47 am
No new posts DFSORT MUL FIELDS tspr52 DFSORT/ICETOOL 16 Fri Mar 03, 2017 11:53 pm


Facebook
Back to Top
 
Mainframe Wiki | Forum Rules | Bookmarks | Subscriptions | FAQ | Tutorials | Contact Us