IBM Mainframe Forum Index
 
Log In
 
IBM Mainframe Forum Index Mainframe: Search IBM Mainframe Forum: FAQ Register
 

FILE versus DATASET


IBM Mainframe Forums -> All Other Mainframe Topics
Post new topic   Reply to topic
View previous topic :: View next topic  
Author Message
jerryte

Active User


Joined: 29 Oct 2010
Posts: 202
Location: Toronto, ON, Canada

PostPosted: Fri Jun 29, 2018 10:47 pm
Reply with quote

My early years of computing was on everything from a original PC to a original Macintosh. Everything was called a "file". My first job was at a mainframe shop where it is called a "dataset". I soon learned that IBM has their own way of naming things. They even developed their own character set instead of using ASCII. To be fair IBM has been at the computing game a lot longer then Microsoft or Apple.

The name is different but the function is the same. It is bytes of data stored in an external format that can then be read and updated by other programs. I don't make fuss about a name. It is six of one or half a dozen of the other.

Unless someone says they want to run a SPUFI and then I remind them of the difference.
Back to top
View user's profile Send private message
vasanthz

Global Moderator


Joined: 28 Aug 2007
Posts: 1742
Location: Tirupur, India

PostPosted: Fri Jun 29, 2018 11:42 pm
Reply with quote

Quote:
I don't make fuss about a name. It is six of one or half a dozen of the other.


I second this.
www.ibmmainframeforum.com/tso-ispf/topic11881.html?hilit=terminology

Even programming languages like SAS use INFILE, OUTFILE, FILENAME statements when referencing mainframe datasets/files

Maybe there should be a poll to decide if it is ok or not :-)
Back to top
View user's profile Send private message
don.leahy

Active Member


Joined: 06 Jul 2010
Posts: 765
Location: Whitby, ON, Canada

PostPosted: Sat Jun 30, 2018 12:33 am
Reply with quote

I once heard a mainframe philosopher proclaim that a "data set" becomes a "file" only after it has been opened. A "file" has a logical structure that cannot be known until its container is opened. A "data set" is that container.

Discuss among yourselves. icon_neutral.gif
Back to top
View user's profile Send private message
RahulG31

Active User


Joined: 20 Dec 2014
Posts: 446
Location: USA

PostPosted: Sat Jun 30, 2018 12:50 am
Reply with quote

Not again please..

http://ibmmainframes.com/about65400.html

.
Back to top
View user's profile Send private message
don.leahy

Active Member


Joined: 06 Jul 2010
Posts: 765
Location: Whitby, ON, Canada

PostPosted: Sat Jun 30, 2018 1:47 am
Reply with quote

I recently wrote a document that attempted to explain mainframe technology to non-mainframe professionals. I told them not to be confused when a mainframer says "Data set" and that most of us use "Data Set" and "File" interchangeably. So do many IBM manuals.

For what it is worth, and it ain't worth much, I try to use the term "Data Set" when talking about the mainframe and "File" when talking about other platforms.
Back to top
View user's profile Send private message
vasanthz

Global Moderator


Joined: 28 Aug 2007
Posts: 1742
Location: Tirupur, India

PostPosted: Sat Jun 30, 2018 3:17 am
Reply with quote

....
Back to top
View user's profile Send private message
Nic Clouston

Global Moderator


Joined: 10 May 2007
Posts: 2455
Location: Hampshire, UK

PostPosted: Sat Jun 30, 2018 3:57 pm
Reply with quote

Inside a program when you issue an OPEN on your file you are not opening the dataset but you are opening the 'pipeline' down which the bytes flow from the data set. This 'pipeline' has the same name as the DD statement that specifies the data set.

The data in the data set is not stored exactly as the program sees it - it has gaps between blocks, for example. Even tapes have inter-block gaps and therefore the data is held in a data set.

Somewhere, on one of the forums, I posted an extract from a PL/1 manual that explained the difference.

Yes, we understand that when someone says 'file' they probably mean data set but if they say 'data set' then they do mean data set, but that does not mean that they should get their terminology wrong once they are made aware of the fault.
Back to top
View user's profile Send private message
daveporcelan

Active Member


Joined: 01 Dec 2006
Posts: 792
Location: Pennsylvania

PostPosted: Mon Jul 02, 2018 5:09 pm
Reply with quote

Quote:
but that does not mean that they should get their terminology wrong once they are made aware of the fault.


Differentiation between the two is very much behind the scene and not simple for most if not all people to understand.

Yet on the OP second post, people on this forum are all over this persons case 'yelling' in large bold face type.

I think as though we have gotten way off the point of answering posts to help people out.

Instead we are caught up in the make sure people know they are WRONG.

When in fact, the COBOL manual mentions file 1800+ plus times, and data set just a few.

Why can't the technical experts just let go trying to explain the minute differences between File and Data Set, and feeling the need to yell at people telling them they are WRONG.
Back to top
View user's profile Send private message
enrico-sorichetti

Superior Member


Joined: 14 Mar 2007
Posts: 10873
Location: italy

PostPosted: Mon Jul 02, 2018 7:30 pm
Reply with quote

IMO it is time to stop bickering about file VS. dataset/"data set" difference/"improper use"
The time the senior members spend on the forum could have a better use

[/quote]
Back to top
View user's profile Send private message
daveporcelan

Active Member


Joined: 01 Dec 2006
Posts: 792
Location: Pennsylvania

PostPosted: Mon Jul 02, 2018 7:34 pm
Reply with quote

That is what I am trying to say.

You know what the poster is talking about when they say File.

Just answer the question and move on.

Do get all over their case that 'technically' it should be the other word.
Back to top
View user's profile Send private message
View previous topic :: :: View next topic  
Post new topic   Reply to topic View Bookmarks
All times are GMT + 6 Hours
Forum Index -> All Other Mainframe Topics

 


Similar Topics
Topic Forum Replies
No new posts Compare 2 files and retrive records f... DFSORT/ICETOOL 3
No new posts FTP VB File from Mainframe retaining ... JCL & VSAM 8
No new posts Extract the file name from another fi... DFSORT/ICETOOL 6
No new posts How to split large record length file... DFSORT/ICETOOL 10
No new posts Extracting Variable decimal numbers f... DFSORT/ICETOOL 17
Search our Forums:

Back to Top