275 pts.
 Files
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..

Software/Hardware used:
ASKED: March 8, 2012  11:30 AM
UPDATED: March 17, 2012  1:03 AM

Answer Wiki:
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.
Last Wiki Answer Submitted:  March 8, 2012  1:52 pm  by  CharlieBrowne   33,695 pts.
All Answer Wiki Contributors:  CharlieBrowne   33,695 pts.
To see all answers submitted to the Answer Wiki: View Answer History.


Discuss This Question:
_ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _


 

Why to you want to do this?

 44,630 pts.

 

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

 110,115 pts.