AS/400 Workstation error 22

5 pts.
Tags:
AS/400 errors
AS/400 Workstations
I have written expanded subfile program and display records correctly when i select one record based in the from field it is showing correctly then when i press page up it is not displaying anything and even pressing page down displaying anything. I am geeting WORKSTATION ERROR 22,23 AND 41. can you please help on this. Thanks in advance

Answer Wiki

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

Can you provide us with additional info ? It looks like you are having issues with the subfile rollup/rolldown feature. A listing of your dds will help.

==============================
I’m sorry, I’m having serious difficulty understanding your discription of the issues.
1. Your program displayed a subfile
2. You selected an item
3. It displayed ?? another subfile???
4. Page-up and Page-down didn’t work
5. Then you got messages WORKSTATION ERROR 22,23 AND 41
These messages were your screen??? in your joblog???
What is the text of these messages? Could you do a dump.

Obviously, your display should return to your program when the page down is pressed and your program should load some more records in the subfile — make sure that you set the RRN properly when loading the records. If you have SFLRCDNBR keyword in the control then the variable must be set to a value between 1 and the # of records that are actually in your subfile.

Phil

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.

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

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