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

What is a flat file?


IBM Mainframe Forums -> Mainframe Interview Questions
Post new topic   Reply to topic
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
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
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: 1448
Location: Chicago, IL

PostPosted: Fri Nov 25, 2005 3:05 pm
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

Global Moderator


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

PostPosted: Fri Nov 25, 2005 7:11 pm
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

Global Moderator


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

PostPosted: Mon Dec 12, 2005 6:41 pm
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 View Bookmarks
All times are GMT + 6 Hours
Forum Index -> Mainframe Interview Questions

 


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