Midrange News for the IBM i Community


Posted by: Chris Proctor
Programmer Analyst
Columbia Sports Company
Portland, OR
Can I check whether my cursor is open in an RPG program?
has no ratings.
Published: 02 May 2013
Revised: 03 May 2013 - 1930 days ago
Last viewed on: 15 Aug 2018 (7323 views) 

Using IBM i? Need to create Excel, CSV, HTML, JSON, PDF, SPOOL reports? Learn more about the fastest and least expensive tool for the job: SQL iQuery.

Can I check whether my cursor is open in an RPG program? Published by: Chris Proctor on 02 May 2013 view comments(5)

Good morning. Is there a way of checking whether or not my cursor is open in an RPG program? I'm thinking of something like you would use for a file. Like this:

if %open(cursorname);

  exec sql close cursorname;

endif;

Any help would be greatly appreciated.

Return to midrangenews.com home page.
Sort Ascend | Descend

COMMENTS