LISTSERV at the University of Georgia
Menubar Imagemap
Home Browse Manage Request Manuals Register
Previous messageNext messagePrevious in topicNext in topicPrevious by same authorNext by same authorPrevious page (October 2004, week 3)Back to main SAS-L pageJoin or leave SAS-L (or change settings)ReplyPost a new messageSearchProportional fontNon-proportional font
Date:         Sat, 16 Oct 2004 06:33:30 GMT
Reply-To:     Alan Churchill <REM0VETHISSTRINGTechSupport@SAVIAN.NET>
Sender:       "SAS(r) Discussion" <SAS-L@LISTSERV.UGA.EDU>
From:         Alan Churchill <REM0VETHISSTRINGTechSupport@SAVIAN.NET>
Subject:      DCB-information on a PC-file

Jesper,

The file system handles it all for you on a PC. A possible source of info:

http://www.pcguide.com/ref/hdd/file/ntfs/archFiles-c.html

It really depends on what you are trying to do. I think a question along those lines might be easier to answer.

Bear with me since it has been a few years since my MVS days and coding DCBs&hellip;but on the mainframe, all resources need to be allocated prior to use. The PC operates very differently in that resources are demanded and received on the fly. Hence you have static information, at that time, about a file but there aren't caps per se on what it can hold. Also, I can call a picture a .gif or a .txt: the extension is merely a &lsquo;suggestion' but the file system determines the type based upon an event (user click saying &lsquo;open this in an image editor) or a binary representation in the file.

The article above describes accessing the file system for the info but I would be leery of going down this route w/o knowing more about what you are trying to do. SAS has some insights into the file system however there are other ways of getting much more information (including going through SAS to an O\S type of command).

Thanks,

Alan

Savian

"Bridging SAS and Microsoft technologies"

www.savian.net

nntp://news.qwest.net/comp.soft-sys.sas/<7bb4f21d.0410152127.6a0eef76@posting.google.com>

Hi!

On a mainframe-file I am used to specify a number of DCB-informations about a file, e.g. record length (LRECL), record format (VB, VBA, FB), block size (BLKSIZE) etc.

But what about a PC-file? Is this information kept in the file-type, e.g. .txt, .doc, .xls, .sas etc.? Can't be the whole truth.

How are PC-files in general organized (text- vs. binary-files etc.), and how do I retrieve this information?

Regards, Jesper

[comp.soft-sys.sas]


Back to: Top of message | Previous page | Main SAS-L page