[BR_forum] Reseting ERR
Posted: Mon May 11, 2009 3:27 pm
If a NOKEY is encountered in a READ statement, then ERR is set 4272.
How do I reset ERR?
How do I reset ERR?
A discussion board for Business Rules! programming.
https://brulescorp.com/brforum/
Force it to another error that you specifically trap. Gabriel uses zero divide
Let x=1/0 error zdiv
Zdiv:continue
George L. Tisdale, CPA
Tisdale CPA
75 Junction Square Drive
Concord, MA 01742
(978) 369-5585
IRS Circular 230 Notice: "To ensure compliance with requirements imposed by the IRS, we inform you that any U.S. tax advice contained in this communication (including any attachments) is not intended or written to be used, and cannot be used, for the purpose of (i) avoiding penalties under the Internal Revenue Code or (ii) promoting, marketing or recommending to another party any transaction or matter addressed herein."
This electronic message transmission contains information which is intended only for the use of the individual or entity to which it is addressed and may contain information that is privileged, confidential and exempt from disclosure under applicable law. If the reader of this message is not the intended recipient, you are hereby notified that any dissemination or distribution of this communication to other than the intended recipient is strictly prohibited. If you have received this communication in error, please notify us immediately by calling (978) 369-5585 or by electronic mail (gtisdale@tisdalecpa.com (gtisdale@tisdalecpa.com)) Thank you.
From: br_forum-bounces@ads.net (br_forum-bounces@ads.net) [mailto:br_forum-bounces@ads.net (br_forum-bounces@ads.net)] On Behalf Of Mikhail Zheleznov
Sent: Monday, May 11, 2009 5:27 PM
To: Business Rules Forum
Subject: [BR_forum] Reseting ERR
If a NOKEY is encountered in a READ statement, then ERR is set 4272.
How do I reset ERR?
_______________________________________________
BR_forum mailing list
BR_forum@ads.net (BR_forum@ads.net)
http://ads.net/mailman/listinfo/br_forum_ads.net
Thanks, George!
2009/5/11 George Tisdale <GTISDALE@tisdalecpa.com (GTISDALE@tisdalecpa.com)>
Force it to another error that you specifically trap. Gabriel uses zero divide
Let x=1/0 error zdiv
Zdiv:continue
George L. Tisdale, CPA
Tisdale CPA
75 Junction Square Drive
Concord, MA 01742
(978) 369-5585
IRS Circular 230 Notice: "To ensure compliance with requirements imposed by the IRS, we inform you that any U.S. tax advice contained in this communication (including any attachments) is not intended or written to be used, and cannot be used, for the purpose of (i) avoiding penalties under the Internal Revenue Code or (ii) promoting, marketing or recommending to another party any transaction or matter addressed herein."
This electronic message transmission contains information which is intended only for the use of the individual or entity to which it is addressed and may contain information that is privileged, confidential and exempt from disclosure under applicable law. If the reader of this message is not the intended recipient, you are hereby notified that any dissemination or distribution of this communication to other than the intended recipient is strictly prohibited. If you have received this communication in error, please notify us immediately by calling (978) 369-5585 or by electronic mail (gtisdale@tisdalecpa.com (gtisdale@tisdalecpa.com)) Thank you.
From: br_forum-bounces@ads.net (br_forum-bounces@ads.net) [mailto:br_forum-bounces@ads.net (br_forum-bounces@ads.net)] On Behalf Of Mikhail Zheleznov
Sent: Monday, May 11, 2009 5:27 PM
To: Business Rules Forum
Subject: [BR_forum] Reseting ERR
If a NOKEY is encountered in a READ statement, then ERR is set 4272.
How do I reset ERR?
_______________________________________________
BR_forum mailing list
BR_forum@ads.net (BR_forum@ads.net)
http://ads.net/mailman/listinfo/br_forum_ads.net
_______________________________________________
BR_forum mailing list
BR_forum@ads.net (BR_forum@ads.net)
http://ads.net/mailman/listinfo/br_forum_ads.net
Wouldn't FILE(1)<> 0 be true in other cases as well, and not only if there is a NOKEY?
I think FILE returns
-1File not opened. 0Operation performed successfully. 10End of file occurred during input. 11End of file occurred during output. 20Transmission error during input. 21Transmission error during output.
And NONE of these values is used specifically for NOKEY, at least not according to the documentation I'm looking at.
_______________________________________________
BR_forum mailing list
BR_forum@ads.net (BR_forum@ads.net)
http://ads.net/mailman/listinfo/br_forum_ads.net
Wouldn't FILE(1)<> 0 be true in other cases as well, and not only if there is a NOKEY?
I think FILE returns
-1 File not opened. 0 Operation performed successfully. 10 End of file occurred during input. 11 End of file occurred during output. 20 Transmission error during input. 21 Transmission error during output.
And NONE of these values is used specifically for NOKEY, at least not according to the documentation I'm looking at.
_______________________________________________
BR_forum mailing list
BR_forum@ads.net (BR_forum@ads.net)
http://ads.net/mailman/listinfo/br_forum_ads.net