|
Rob, Would you mind posting your MemberWithListOfStatusCodes member? -mark Original Message: ----------------- From: rob@dekko.com Date: Fri, 24 Jan 2003 08:38:29 -0500 To: rpg400-l@midrange.com Subject: Re: How does the RPG MONITOR operation code work I think you are trying to mix and match a couple of different methods of error trapping. IMHO that is not what you want to do in this situation. Drop the MONITOR for this case. Add the E extender as in D/include yourlib/yourfile,MemberWithListOfStatusCodes C/FREE open (e) inputr; select; when not %error; exsr ChkData; when %status = FileAlreadyOpened; // skip it when %status = GeneralExplicitError; // Look up major/minor return codes EndSl; /END-FREE -------------------------------------------------------------------- mail2web - Check your email from the web at http://mail2web.com/ .
As an Amazon Associate we earn from qualifying purchases.
This mailing list archive is Copyright 1997-2025 by midrange.com and David Gibbs as a compilation work. Use of the archive is restricted to research of a business or technical nature. Any other uses are prohibited. Full details are available on our policy page. If you have questions about this, please contact [javascript protected email address].
Operating expenses for this site are earned using the Amazon Associate program and Google Adsense.