Fields not coming into program from screen

15 pts.
Tags:
AS/400 commands
EXFMT operation
I've written a simple program that reads a record and displays the fields on the screen.  When I change a field for some reason it does not come into the program changed.  I put a debug after the exfmt and it shows the field on the screen as if I did not entering anything new...it shows the original value from the file...the file displays the field as a 4 and i change it to a 6 but when i debug it shows that field as a 4 right after the exfmt...

Answer Wiki

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

Are you pressing a function key to return to your program?
If it’s a function key and if it’s coded in the DDS as CA – cammand allert as opposed to CF command function then it would act as you’ve described..change the CA to CF and you’re good to go. Otherwise, I’m at a lose.
Phil

Discuss This Question: 2  Replies

 
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
  • TomLiotta
    You'll need to show us the DDS for the field at the very least. If you don't show us definitions, there's no way we can guess -- there are multiple possibilities. And if the field looks okay, the record-format level definition would be needed. If the record format looks okay, the file level will be needed. If those look okay, we'll probably need evidence that the source you supply is the source for the actual display file being accessed by the job -- that might involve library list or QRPLOBJ or activation group or...? In any case, we need something to go by. Tom
    125,585 pointsBadges:
    report
  • Harrisom
    Phil thanks for the answer! It has been a while since I have programmed and totally forgot about the CA and CF! I changed it and it works! Thanks!
    15 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