FORMAT keyword in non-join logical files — what and how?

Tags:
DB2
FORMAT keyword
Logical File
How do I use FORMAT keyword in a non-join logical file? What is the main purpose of that keyword?
ASKED: November 4, 2008  5:46 PM
UPDATED: November 4, 2008  6:14 PM

Answer Wiki

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

The format keyword isn’t used in this way very often.
It allow you to create a logical over one file but use the formating of another file.
File1 contains fields FLDA, FLDB, FLDC and FLDD
File2contains fields FLDA, FLDB, FLDC

Logical1 is created over file1 and would contain the four fields
Logical2 is created over file1 but with format FIle2 it would deliver the data from File1 but just the three
fields of file2.

http://www.itjungle.com/fhg/fhg012308-story01.html

Discuss This Question:  

 
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

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