Link to home
Start Free TrialLog in
Avatar of valmatic
valmaticFlag for United States of America

asked on

Create AS400 Logical File

Hi.  I have an AS400 PF named MODLIB/VMQMSTD in file QDDSSRC.  The key attribute in this file is called QNUMB.  I need to create a logical file and then change the name of that key field in the logical file.    I have never created a logical file but from what I am piecing together online, my command should look like this?  
CRTLF   FILE(MODLIB/VMQMSTDL1)  SRCFILE(MODLIB/QDDSSRC)  DTAMBRS(VMQMSTD)  

Is this the correct format?  Once created, can I just change the definition in the DDS file to change that field name?

thanks
SOLUTION
Avatar of Member_2_2484401
Member_2_2484401
Flag of United States of America image

Link to home
membership
This solution is only available to members.
To access this solution, you must be a member of Experts Exchange.
Start Free Trial
SOLUTION
Link to home
membership
This solution is only available to members.
To access this solution, you must be a member of Experts Exchange.
Start Free Trial
ASKER CERTIFIED SOLUTION
Link to home
membership
This solution is only available to members.
To access this solution, you must be a member of Experts Exchange.
Start Free Trial
Avatar of valmatic

ASKER

Thanks all for the feedback.  Obviously this is more involved than I thought.  I've asked a programmer friend to give me a little more training in this area.  I'm splitting the points.
Avatar of Member_2_276102
Member_2_276102

It didn't seem that the thread was finished, but thanks for the points. When you feel that you're ready to proceed, or if you need discussion of anything your friend says, let's have a go at an actual solution.