DSPF prog

pts.
Tags:
AS/400 Display File
Display File
DSPF
RPG
RPG/400
Thanks for ur response.I have a small clarification.If all fields on the screen is from 1 file chain and then exfmt will work.What if the screen has fields form more than 1 file.

Answer Wiki

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

Hi,

As long as all the relevant datafiles have been read or chained, then the fields are filled and will be displayed on the record when you use exfmt. If more than one file needs to be updated, then you’ll also need extra updates in your program.

This can get tricky when you have the same field names in several files (possibly with different data in each file). Hopefully you won’t get yourself into that sort of situation.

Regards,

Martin Gilbert.

Discuss This Question: 1  Reply

 
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
    If you're adding a new file to the program you can include the prefix keyword in the F spec example Prefix (p2_). Then there is no chance of field name overlap. The new files fields woudl be addressed as p2_fieldName instead of their native name of fieldName. Good Luck Phil
    49,930 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