Field exit keyword is not working

55 pts.
Tags:
Display File
DSPF
RPGLE
Hi,

     i am trying to use the keyword CHECK(FE) in display file field. But it is not happening. Below is the way how the field is declared:

          CAMT  R        B  8 14REFFLD(CAMTW) 64                                  DSPATR(RI)    64                                  DSPATR(PC)                                        OVRATR                                            EDTCDE(J)                                         [strong]CHECK(FE)[/strong]    



Software/Hardware used:
As400
ASKED: November 23, 2009  7:53 AM
UPDATED: November 24, 2009  6:20 PM

Answer Wiki

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

What do you mean by “it is not happening”? Are you getting an error in your compile? Are you able to leave the field without using the field exit key? What version of the O/S are you using?

Discuss This Question: 5  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
  • Satsho
    Are you missing the CHGINPDFT keyword ?
    1,245 pointsBadges:
    report
  • vipin2m
    Yes i am able to leave the fiels without pressing field Exit. The Version V5R3
    55 pointsBadges:
    report
  • CharlieBrowne
    How are you leaving the field? With TAB key or ARROW keys? * Also have you looked at the compile listing to ensure there was is not a low level error> * Are you sure the RPG program is using the DSPF that has that keyword? You may want to recompile both of them.
    39,790 pointsBadges:
    report
  • vipin2m
    am using the TAB key to leaving the field. There compilation went fine and also the program is using the correct display file
    55 pointsBadges:
    report
  • CharlieBrowne
    OK, here is your answer. The CHECK(FE) does not stop you from leaving the field using a TAB, or Arrow Keys. What the CHECK(FE) will do is to stop you from autmatically advancing to the next field without using the field exit key. So if you have a 5 position field, and you put CHECK(FE) on it, then when you try to key in the 6th character, it will stop you. Without the CHECK(FE), it would have advanced to the next field and put the 6th character in the first position of that field.
    39,790 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