Physical File

295 pts.
Tags:
AS/400
RPG
I have a Physical File which is used in a RPG program as A. I added one field to the Physical File and provide LVLCHK prarameter as *NO in CRTPF command and did not comple the RPG Program A. Now what will happen if I tried to update or add record in this file from the Program A? Will it give me any error or warning or it will allow me to update PF with old fields? Thank You.
1

Answer Wiki

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

As long as you added the new field to the end of the file you will be able to update the file in program A. If the field you added is alpha you will have blanks at the end of the file. If the field is numeric I can not remember if it causes a problem. I always recompile all my programs when I add a field therefore I can not remember what happens if a numeric fields is added to the end of a file and the program is not recompiled.

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.

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.

Thanks! We'll email you when relevant content is added and updated.

Following

Share this item with your network: