MVSFORUMS.com Forum Index MVSFORUMS.com
A Community of and for MVS Professionals
 
 FAQFAQ   SearchSearch   Quick Manuals   RegisterRegister 
 ProfileProfile   Log in to check your private messagesLog in to check your private messages   Log inLog in 

Internal storage of files

 
Post new topic   Reply to topic   printer-friendly view    MVSFORUMS.com Forum Index -> Data Management
View previous topic :: View next topic  
Author Message
Milind
Beginner


Joined: 29 Dec 2004
Posts: 26
Topics: 20

PostPosted: Tue Jul 05, 2005 6:32 am    Post subject: Internal storage of files Reply with quote

Hi,

Recently my friend has attended a interviewed in which he was asked a question as:
"Internally all files are stored as Variable Length File. What do you say?"

I don't know the answer of this particular answer.

Waiting egarly for your replies.

Thanks in advance.
Milind Deshmukh.
Back to top
View user's profile Send private message Send e-mail
kolusu
Site Admin
Site Admin


Joined: 26 Nov 2002
Posts: 12380
Topics: 75
Location: San Jose

PostPosted: Tue Jul 05, 2005 6:42 am    Post subject: Reply with quote

Milind,

IMHO that statement is FALSE. Not all files are stored internally as variable block files.

Kolusu
_________________
Kolusu
www.linkedin.com/in/kolusu
Back to top
View user's profile Send private message Send e-mail Visit poster's website
Milind
Beginner


Joined: 29 Dec 2004
Posts: 26
Topics: 20

PostPosted: Tue Jul 05, 2005 11:16 pm    Post subject: Reply with quote

Hi Kolusu,

I didn't get your anwer. Can u please explain it in detail or can some site where I can get the info regarding this?

Thanks in advance,
Milind Deshmukh.
Back to top
View user's profile Send private message Send e-mail
kolusu
Site Admin
Site Admin


Joined: 26 Nov 2002
Posts: 12380
Topics: 75
Location: San Jose

PostPosted: Wed Jul 06, 2005 5:55 am    Post subject: Reply with quote

Milind,

My answer is simple. I don't beleive that all files are internally stored as variable block files.

Kolusu
_________________
Kolusu
www.linkedin.com/in/kolusu
Back to top
View user's profile Send private message Send e-mail Visit poster's website
bablack
Beginner


Joined: 04 Dec 2002
Posts: 71
Topics: 0
Location: Little Falls, NJ

PostPosted: Mon Jul 11, 2005 1:46 pm    Post subject: Reply with quote

Quote:
Recently my friend has attended a interviewed in which he was asked a question as:
"Internally all files are stored as Variable Length File. What do you say?"


This sounds like a trick question. On a gross level, it is DEFINITELY NOT TRUE. While it is true that for some file types (such as most type of VSAM), all records have a variable record format (starting with a length field), EVEN if they are all the same length, other types of files, such as simple sequential, are stored as true fixed (no length fields).

But if you get down to the disk level, then in the CKD format used by MVS, every block (not record) has a length field in the count field and could be considered variable. But I would not expect most programmers to know that.

You can read more about this at
http://publibz.boulder.ibm.com/epubs/pdf/dgt2d430.pdf
_________________
Bruce A. Black
Senior Software Developer
Innovation Data Processing
Back to top
View user's profile Send private message Send e-mail Visit poster's website
Display posts from previous:   
Post new topic   Reply to topic   printer-friendly view    MVSFORUMS.com Forum Index -> Data Management All times are GMT - 5 Hours
Page 1 of 1

 
Jump to:  
You cannot post new topics in this forum
You cannot reply to topics in this forum
You cannot edit your posts in this forum
You cannot delete your posts in this forum
You cannot vote in polls in this forum


MVSFORUMS
Powered by phpBB © 2001, 2005 phpBB Group