Files

285 pts.
Tags:
AS/400
AS/400 Subfiles
hai friends, i have PF in this format --------------PF1-NAME R   REC      FLD1      FLD2 ------------------------ FOR LF: ------------------LF1 R   REC   PFILE(PF1) -------------------- My question Is it possible to have some other record format name in my LF??? Example:: ------------------------LF1 R   ANC    PFILE(PF1) ------------------- Thanks in advance..

Answer Wiki

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

Yes, you can use a different format name.
The advantage of using the same name is then you do not need to include all the fields. It is done atomatically.
If you have a different name, you need to list the fields you want to include.
If your concern is because an RPG program will not compile, you can have the same format name for files, you just need to use the RENAME option on the F spec.

Discuss This Question: 2  Replies

 
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
  • philpl1jb
    Why to you want to do this?
    49,960 pointsBadges:
    report
  • TomLiotta
    Is it possible to have some other record format name in my LF? Do you only want to change the name or are you asking about having an additional record format with a different name? 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