Significance of record format in physical file

255 pts.
Tags:
AS/400
Physical File
What is the main significance of Record format while defining a physical file or logical file. that is while defining the physical file we specify the record format. In some situations we also use file name as record format, and sometimes we use the different names other than file names for defining the record structures. So is there any advantage of using other than file names for defining the record structures?

Answer Wiki

Thanks. We'll let you know when a new response is added.

One of the uses of the record format is when you have a file with multiple record layouts. This is not very common anymore, but years ago, the value in position 1 of the record would define the layout for the remaing fields. For example, an ‘H’ might be a header record and a ‘D’ could be a detail record.

Discuss This Question: 1  Reply

 
There was an error processing your information. Please try again later.
Thanks. We'll let you know when a new response is added.
Send me notifications when members answer or reply to this question.

REGISTER or login:

Forgot Password?
By submitting you agree to receive email from TechTarget and its partners. If you reside outside of the United States, you consent to having your personal data transferred to and processed in the United States. Privacy
  • TomLiotta
    The main significance is that it provides a name that allows you to reference the format. It has a significance similar to the name of a program or name of a file or name of a user profile. It's a 'name'.   By default, SQL will assign a format name that is the same as the table name. Some HLL languages won't allow you to use the same name for different objects. With RPG, a file and a format need to have different names for native (not SQL) I/O.   If you are using SQL, the format name isn't usually relevant. Format names are mostly an element of 'externally described files'.   Tom
    125,585 pointsBadges:
    report

Forgot Password

No problem! Submit your e-mail address below. We'll send you an e-mail containing your password.

Your password has been sent to:

To follow this tag...

There was an error processing your information. Please try again later.

REGISTER or login:

Forgot Password?
By submitting you agree to receive email from TechTarget and its partners. If you reside outside of the United States, you consent to having your personal data transferred to and processed in the United States. Privacy

Thanks! We'll email you when relevant content is added and updated.

Following