Re: [U2] Is there any way to tell if I am in an EXECUTE level and CAPTURING is turned on?
I just noticed this in the help for QM's SYSTEM() 1000 Returns 1 if EXECUTE CAPTURING is in effect, 0 otherwise Checked if this was an undocumented feature that Martin had reproduced; but no, it doesn't work in Universe. Regards, Keith ___ U2-Users mailing list U2-Users@listserver.u2ug.org http://listserver.u2ug.org/mailman/listinfo/u2-users
Re: [U2] Is there any way to tell if I am in an EXECUTE level and CAPTURING is turned on?
The @LEVEL solution was suggested earlier by myself and another poster. But the OP doesn't want to do that :) -Original Message- From: Keith Johnson [DATACOM] To: 'u2-users@listserver.u2ug.org' Sent: Wed, Jun 27, 2012 7:08 pm Subject: Re: [U2] Is there any way to tell if I am in an EXECUTE level and CAPTURING is turned on? Hi Doug, Another way to skin the cat- Check the @LEVEL in the error display program and if it's not 1 use a timed input. Unidata has INPUT WAITING, while for Universe, there is a program do do the same at http://www.pickwiki.com/cgi-bin/wiki.pl?InputWait Perhaps do the timed input anyway with different times depending on the level? Regards, Keith ___ U2-Users mailing list U2-Users@listserver.u2ug.org http://listserver.u2ug.org/mailman/listinfo/u2-users ___ U2-Users mailing list U2-Users@listserver.u2ug.org http://listserver.u2ug.org/mailman/listinfo/u2-users
Re: [U2] Is there any way to tell if I am in an EXECUTE level and CAPTURING is turned on?
Hi Doug, Another way to skin the cat- Check the @LEVEL in the error display program and if it's not 1 use a timed input. Unidata has INPUT WAITING, while for Universe, there is a program do do the same at http://www.pickwiki.com/cgi-bin/wiki.pl?InputWait Perhaps do the timed input anyway with different times depending on the level? Regards, Keith ___ U2-Users mailing list U2-Users@listserver.u2ug.org http://listserver.u2ug.org/mailman/listinfo/u2-users
Re: [U2] Is there any way to tell if I am in an EXECUTE level and CAPTURING is turned on?
On UniVerse, the @LEVEL will tell you what level number you are on. Do not know how to determine if CAPTURING is on. -Original Message- From: u2-users-boun...@listserver.u2ug.org [mailto:u2-users-boun...@listserver.u2ug.org] On Behalf Of Doug Farmer Sent: Friday, 22 June 2012 12:09 AM To: U2 Users List Subject: [U2] Is there any way to tell if I am in an EXECUTE level and CAPTURING is turned on? I just had a situation where a program was printing an error message and waiting for the user to respond by pressing Enter. But, the program was being executed by another program using the CAPTURING option. Is there any way someone knows of to tell if the CAPTURING option is on? If so, I can write the error message to a log file instead of displaying it and waiting for a response. I looked at all the SYSTEM(xx) options and do not see anything there. Thanks in Advance Doug This e-mail is for the use of the intended recipient(s) only. If you have received this e-mail in error, please notify the sender immediately and then delete it. If you are not the intended recipient, you must not use, disclose or distribute this e-mail without the author's prior permission. We have taken precautions to minimize the risk of transmitting software viruses, but we advise you to carry out your own virus checks on any attachment to this message. We cannot accept liability for any loss or damage caused by software viruses. Any views and/or opinions expressed in this e-mail are of the author only and do not represent the views of Epicor Software Corporation or any other company within its group. This message has been scanned for malware by Websense. www.websense.com ___ U2-Users mailing list U2-Users@listserver.u2ug.org http://listserver.u2ug.org/mailman/listinfo/u2-users -- Message protected by DealerGuard: e-mail anti-virus, anti-spam and content filtering. http://www.pentanasolutions.com Click here to report this message as spam: https://login.mailguard.com.au/report/1EZeYvK8br/7wuRyiZpsveE2fo7O505O1/0 This email and any attachments to it are confidential. You must not use, disclose or act on the email if you are not the intended recipient. Liability limited by a scheme approved under Professional Standards Legislation. ___ U2-Users mailing list U2-Users@listserver.u2ug.org http://listserver.u2ug.org/mailman/listinfo/u2-users
Re: [U2] Is there any way to tell if I am in an EXECUTE level and CAPTURING is turned on?
universe or unidata? I don't have a full answer either way, but I seem to recall that unidata holds CAPTURING output in a temporary file. Maybe that file can be checked for. On Jun 21, 2012, at 10:08 AM, Doug Farmer wrote: > I just had a situation where a program was printing an error message and > waiting for the user to respond by pressing Enter. But, the program was > being executed by another program using the CAPTURING option. > > Is there any way someone knows of to tell if the CAPTURING option is on? > If so, I can write the error message to a log file instead of displaying > it and waiting for a response. > > I looked at all the SYSTEM(xx) options and do not see anything there. > > Thanks in Advance > > Doug > > > This e-mail is for the use of the intended recipient(s) only. If you have > received this e-mail in error, please notify the sender immediately and then > delete it. If you are not the intended recipient, you must not use, disclose > or distribute this e-mail without the author's prior permission. We have > taken precautions to minimize the risk of transmitting software viruses, but > we advise you to carry out your own virus checks on any attachment to this > message. We cannot accept liability for any loss or damage caused by software > viruses. Any views and/or opinions expressed in this e-mail are of the author > only and do not represent the views of Epicor Software Corporation or any > other company within its group. > > > This message has been scanned for malware by Websense. www.websense.com > ___ > U2-Users mailing list > U2-Users@listserver.u2ug.org > http://listserver.u2ug.org/mailman/listinfo/u2-users ___ U2-Users mailing list U2-Users@listserver.u2ug.org http://listserver.u2ug.org/mailman/listinfo/u2-users