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
 

 

What is a flat file?

 
Post new topic   Reply to topic    IBMMAINFRAMES.com Support Forums -> Mainframe Interview Questions
View previous topic :: :: View next topic  
Author Message
dolly
Warnings : 1

New User


Joined: 25 Nov 2005
Posts: 3

PostPosted: Fri Nov 25, 2005 2:25 pm    Post subject: What is a flat file?
Reply with quote

Hi All,

Plaese let me know

"What is a flat file? "
Back to top
View user's profile Send private message

crm

New User


Joined: 14 Nov 2005
Posts: 25

PostPosted: Fri Nov 25, 2005 2:57 pm    Post subject: Re: What is a flat file?
Reply with quote

all sequencial files are flat files.


correct me if i'm wrong
Back to top
View user's profile Send private message
priyesh.agrawal

Senior Member


Joined: 28 Mar 2005
Posts: 1452
Location: Chicago, IL

PostPosted: Fri Nov 25, 2005 3:05 pm    Post subject: Re: What is a flat file?
Reply with quote

Flat File is a non- standard term being used for Non-Vsam Files in Mainframe.

A Physical Sequential file or a QSAM file is termed as Flat File.

http://ibmmainframes.com/viewtopic.php?t=2678

Regards,

Priyesh.
Back to top
View user's profile Send private message
superk

Moderator Team Head


Joined: 26 Apr 2004
Posts: 4648
Location: Raleigh, NC, USA

PostPosted: Fri Nov 25, 2005 7:11 pm    Post subject: Re: What is a flat file?
Reply with quote

A flat file is a file that has no depth, i.e. a file that is written in such a way that is contains a left-hand boundary in the first byte, and from there continues out to the nth byte without ever returning back to the first byte. In other words, a file of one record with an infinite length.

An example of a flat file is an ASCII binary file.

There is no related concept in the world of MVS datasets, which is why I continually fail to understand why this topic is even discussed here.
Back to top
View user's profile Send private message
superk

Moderator Team Head


Joined: 26 Apr 2004
Posts: 4648
Location: Raleigh, NC, USA

PostPosted: Mon Dec 12, 2005 6:41 pm    Post subject: Re: What is a flat file?
Reply with quote

As a follow-up, here are some web definitions of the terms "flat file":
Quote:

Flat files are data files that contain records with no structured relationships. Additional knowledge is required to interpret these files such as the file format properties.

A computer file where all the information is run together in a signal character string.

A file consisting of records of a single record type, in which there is no embedded structure information governing relationships between records.

Sometimes referred to as interface file, is designed to hold EDI data prior to and following translation or transmission to and from a trading partner.

An ASCII data file produced by a business application that is converted into ANSI ASC X12 format by translation software, and vice versa. It typically uses fixed-length format rather than variable length ANSI ASC X12 format. Also known as a User Defined File (UDF).

Said of a text file that contains only 7-bit ASCII characters and uses only ASCII-standard control characters (that is, has no embedded codes specific to a particular text formatter markup language, or output device, and no meta-characters).
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 -> Mainframe Interview Questions All times are GMT + 6 Hours
Page 1 of 1

 

Search our Forum:

Similar Topics
Topic Author Forum Replies Posted
No new posts Changing of LRECL of a file abdulrafi DFSORT/ICETOOL 1 Fri Mar 24, 2017 3:25 pm
No new posts splitting a file abdulrafi DFSORT/ICETOOL 2 Fri Mar 24, 2017 11:51 am
No new posts Receive a file using PCOMM macro Harald.v.K IBM Tools 0 Thu Mar 23, 2017 6:50 pm
No new posts Export flat file data into excel sheet murali.andaluri DFSORT/ICETOOL 2 Mon Mar 20, 2017 5:39 pm
No new posts Formatting VB File Learncoholic DFSORT/ICETOOL 3 Mon Mar 20, 2017 12:29 pm


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