[BR_forum] How do I check the soflow setting?
Posted: Tue Apr 28, 2009 8:43 am
There are only two states of soflow
“On soflow system” and “on soflow ignore”
So either of those commads will set it back…
I suppose that we could check it like this
00010 dim One$*1
00020 ! on soflow ignore
00030 let One$="too large" soflow TOO_LARGE
00040 print 'currently soflow ignore'
00042 end
00050 TOO_LARGE: !
00060 print 'currently soflow system'
I guess that answers both our questions.
-john
From: br_forum-bounces@ads.net [mailto:br_forum-bounces@ads.net] On Behalf Of Gabriel Bakker
Sent: Tuesday, April 28, 2009 10:15 AM
To: Business Rules Forum
Subject: Re: [BR_forum] How do I check the soflow setting?
I have an additional question along these same lines as well:
Sometimes, I need to set a special error checking routine in a particular library function. For example, in the FileIO's automatic update routine, its very important that if any errors happen (such as a comma in the wrong place in the file layout) that it does not destroy your data files, and instead rolls them back to the previous version automatically. When I'm done with the update routine, I want to set error checking back to wherever it was before.
How can I do that?
Johns Question: How can we tell what it was before?
My Additional Addendum to that Question: How can we set it back to what it was before once we do know what it was?
Gabriel
On Tue, Apr 28, 2009 at 8:58 AM, John Bowman <gothnerd@gmail.com (gothnerd@gmail.com)> wrote:
_______________________________________________
BR_forum mailing list
BR_forum@ads.net (BR_forum@ads.net)
http://ads.net/mailman/listinfo/br_forum_ads.net
“On soflow system” and “on soflow ignore”
So either of those commads will set it back…
I suppose that we could check it like this
00010 dim One$*1
00020 ! on soflow ignore
00030 let One$="too large" soflow TOO_LARGE
00040 print 'currently soflow ignore'
00042 end
00050 TOO_LARGE: !
00060 print 'currently soflow system'
I guess that answers both our questions.
-john
From: br_forum-bounces@ads.net [mailto:br_forum-bounces@ads.net] On Behalf Of Gabriel Bakker
Sent: Tuesday, April 28, 2009 10:15 AM
To: Business Rules Forum
Subject: Re: [BR_forum] How do I check the soflow setting?
I have an additional question along these same lines as well:
Sometimes, I need to set a special error checking routine in a particular library function. For example, in the FileIO's automatic update routine, its very important that if any errors happen (such as a comma in the wrong place in the file layout) that it does not destroy your data files, and instead rolls them back to the previous version automatically. When I'm done with the update routine, I want to set error checking back to wherever it was before.
How can I do that?
Johns Question: How can we tell what it was before?
My Additional Addendum to that Question: How can we set it back to what it was before once we do know what it was?
Gabriel
On Tue, Apr 28, 2009 at 8:58 AM, John Bowman <gothnerd@gmail.com (gothnerd@gmail.com)> wrote:
Is there a way to check if soflow is set to ignore or system? I looked in status all, but it didn’t contain the word soflow anywhere. -john
_______________________________________________
BR_forum mailing list
BR_forum@ads.net (BR_forum@ads.net)
http://ads.net/mailman/listinfo/br_forum_ads.net