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 physical sequence and logical sequence

 
Post new topic   Reply to topic    IBMMAINFRAMES.com Support Forums -> DFSORT/ICETOOL
View previous topic :: :: View next topic  
Author Message
sairam_12_06

New User


Joined: 05 Apr 2006
Posts: 2

PostPosted: Sun Apr 09, 2006 9:51 pm    Post subject: Difference between physical sequence and logical sequence
Reply with quote

pl. explain the difference between physical sequence and logical sequence of records in a file.
Back to top
View user's profile Send private message

DavidatK

Active Member


Joined: 22 Nov 2005
Posts: 700
Location: Troy, Michigan USA

PostPosted: Tue Apr 11, 2006 2:07 am    Post subject: Re: Difference between physical sequence and logical sequenc
Reply with quote

sairam_12_06,

I believe the difference can probably be seen best in a keyed indexed file.

Say you have a file of members of this forum with Name, date joined Indexed by Name

Entries are:

(physical
Record) Name / Join Date

(Rec 1) Mcmillan / 2003-05-18
(Rec 2) Mmwife / 2003-05-30
(Rec 3) Anuradha / 2004-01-06
(Rec 4) Iknow / 2005-08-22
(Rec 5) DavidatK / 2005-11-22
(Rec 6) sairam_12_06 / 2006-05-05

If you look at the file physically sequentially, you will see the records actually how they are physically on the file, one after the other, in the order they were entered into the file

(rec 1) Mcmillan
(rec 2) Mmwife
(rec 3) Anuradha
(rec 4) Iknow
(rec 5) Davidatk
(rec 6) Sairam_12_06

But, if you want to look at them in a Name logical sequential order, you will see the records, one after the other, not how they are physically on the file, but in a logical name order, from the Name index.

(rec 3) Anuradh
(rec 5) DavidatK
(rec 4) Iknow
(rec 1) mcmillan
(rec 2) mmwife
(rec 6) sairam_12_06

Dave
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 -> DFSORT/ICETOOL All times are GMT + 6 Hours
Page 1 of 1

 

Search our Forum:

Similar Topics
Topic Author Forum Replies Posted
No new posts Difference between TWALENG and TWASIZE Arunkumar Chandrasekaran CICS 3 Tue Jan 03, 2017 12:57 pm
No new posts Sticky: difference between ... DUMMY ... and ... enrico-sorichetti JCL & VSAM 0 Mon Oct 17, 2016 4:31 pm
No new posts Sequence number add in SORT pshongal SYNCSORT 3 Fri Sep 02, 2016 3:32 pm
No new posts creating a physical sequential file i... Shaheen Shaik JCL & VSAM 8 Wed Jun 29, 2016 3:46 pm
No new posts Difference space showed for TS and it... autobox DB2 1 Thu Apr 14, 2016 1:07 pm


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