1,025 pts.
 AS400 – Logical File
I have Physical file with 10 Members. I wanted to create logical file with 10 members based on Physical file members during compilation. Can you help me to create logical file with 10 members

Software/Hardware used:
As400
ASKED: May 25, 2010  7:59 AM
UPDATED: May 27, 2010  6:57 PM

Answer Wiki:
When you issue the CrtLF or ADDLFM (add logical file member) use F4 for prompting you will see that both commands allow you to specify which physical file members are to be mapped by the Logical file member. Phil
Last Wiki Answer Submitted:  May 26, 2010  2:25 am  by  philpl1jb   44,180 pts.
All Answer Wiki Contributors:  philpl1jb   44,180 pts.
To see all answers submitted to the Answer Wiki: View Answer History.


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


 

Can you clarify if you want your LF to have 10 members, one for each of 10 members in your PF? Or do you want your LF to have one member that includes 10 members of your PF all together?

You might use the ADDLFM command in the first case. You might simply list the 10 PF members in the CRTLF DTAMBRS() attribute in the second case.

The results may be very different depending on what you need.

Tom

 108,135 pts.

 

This may be unnecessary, but don’t forget to set the MAXMBRS() parameter on your physical and logical files.

 5,670 pts.