Portal | Manuals | References | Downloads | Info | Programs | JCLs | Mainframe wiki | Quick Ref
IBM Mainframe Computers Forums Index
 
Register
 
IBM Mainframe Computers Forums Index Mainframe: Search IBM Mainframe Forum: FAQ Memberlist 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
This topic is locked: you cannot edit posts or make replies. Difference between EQUAL and EQUAL TO... jithinraghavan COBOL Programming 3 Thu Apr 19, 2018 2:22 am
No new posts Repeat Sequence Number Until change i... rahulabvp DFSORT/ICETOOL 6 Thu Mar 29, 2018 12:51 pm
No new posts Detect break in the sequence tuxama DFSORT/ICETOOL 6 Tue Mar 20, 2018 1:35 pm
No new posts add sequence number for duplicate rec... SRUTHI DRAVIDAMANI COBOL Programming 11 Thu Feb 22, 2018 5:37 pm
No new posts ISMF Difference between volume count ... upendrasri IBM Tools 2 Tue Dec 05, 2017 12:40 pm

Facebook
Back to Top
 
Job Vacancies | Forum Rules | Bookmarks | Subscriptions | FAQ | Polls | Contact Us