Cursor not open in joblog

240 pts.
Tags:
AS 400
RPG
SQLRPGLE
I have a SQLRPGLE program, where I'm performing few activities using cursor. When I view the joblog after the program is called, I see "Cursor not open" message. I understand the reason for this message. But, my doubt is, when I debug the program, I could also see other messages like "row not found for cursor" or "Cursor closed". What makes the message "Cursor not open" particularly special? (ie) why only this message is listed in joblog once the program ends)? Is it an error message compared to other messages? Is there a way to avoid this message through compilation parameters?
0

Answer Wiki

Thanks. We'll let you know when a new response is added.
Send me notifications when members answer or reply to this question.

Discuss This Question: 3  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.
  • Splat
    Is the message interfering with processing in some manner?
    12,845 pointsBadges:
    report
  • sri8707
    Hi Splat, Please ignore this. I realized that "Cursor not open" is indeed a diagnostic message whereas the others are informational messages. Thats the reason, this particular message is getting captured in joblog after the program completion. 

    And to answer you, it doesnt interfere with processing, however, when we release the product, customers doesnt like to view a strange message. 
    240 pointsBadges:
    report
  • Splat
    Understood. Hope your development goes well.
    12,845 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.

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

Following

Share this item with your network: