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
 

 

difference between file record and database record

 
Post new topic   Reply to topic    IBMMAINFRAMES.com Support Forums -> IMS DB/DC
View previous topic :: :: View next topic  
Author Message
KAMALAK

New User


Joined: 18 Jul 2005
Posts: 12

PostPosted: Thu Sep 29, 2005 2:23 pm    Post subject: difference between file record and database record
Reply with quote

can u please explain briefy difference between file record and database record.....
Back to top
View user's profile Send private message

priyesh.agrawal

Senior Member


Joined: 28 Mar 2005
Posts: 1452
Location: Chicago, IL

PostPosted: Thu Sep 29, 2005 4:19 pm    Post subject: Re: difference between file record and database record
Reply with quote

Please make it more clear.....

Regards,

Priyesh.
Back to top
View user's profile Send private message
varunraisharma

New User


Joined: 01 Sep 2005
Posts: 15
Location: Bangalore

PostPosted: Thu Sep 29, 2005 6:25 pm    Post subject:
Reply with quote

Hi

A File record can be compared with a segment occurence in a IMS database. File record consist of some specified fields. Similarily a segment occurence has fields.
File record
01 File-Record
05 Name PIC X(10)
05 Address PIC X(20)
05 FILLER PIC X(50)

Segment
01 W200-SEGMENT-IO-AREA
03 FILLER PIC X(13)
03 W201-SEGMENT1-IO-AREA.
05 IM-SEGMENT1
10 IM-RSRVD-DATA PIC S9(4) COMP.
10 IM-KFLDIM PIC X(20)
10 IM-NAME PIC X(10)
10 IM-ADDRESS PIC X(20)

What i m trying to establish with these examples is that a file record is comparable to a segment occurence in a database.
A Database record is a collection of such segment occurences.
Starting from the root segment and traversing along the hierarchical structure of the IMS database from one segment to other until the last segment in the database constitutes one databse record.

Regards
Varun
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 SORTJOIN - Copy Matched and Unmatched... Steve Ironmonger DFSORT/ICETOOL 5 Tue Jan 17, 2017 4:26 pm
No new posts Difference between TWALENG and TWASIZE Arunkumar Chandrasekaran CICS 3 Tue Jan 03, 2017 12:57 pm
No new posts Copy RECFM =VB TO FB file with RECL =... sahil41352 DFSORT/ICETOOL 3 Wed Dec 28, 2016 11:29 pm
No new posts Add PD field from 2nd file to PD in 1st Sushant Garje DFSORT/ICETOOL 6 Thu Dec 01, 2016 4:32 pm
No new posts File Aid to File Manager conversion murali3955 IBM Tools 4 Thu Nov 24, 2016 3:41 pm


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