Re: [U2] The math just doesn't work.
I also thought: great explanation and nodded sagely when I read this. However, consider this code: NUL = '' CM = ',' A = -409071.8775: CM: 475000: CM: -652413: CM: 652413: CM: -475000: CM: 409071.8775 * * TEST.VMC = 1 TEST.TOTAL = 0 * LOOP UNTIL FIELD(A, CM, TEST.VMC) = NUL DO TEST.TOTAL += FIELD(A, CM, TEST.VMC) TEST.VMC += 1 REPEAT * IF TEST.TOTAL = 0 THEN PRINT 'OK' END ELSE PRINT TEST.TOTAL, (TEST.TOTAL = 0), TEST.TOTAL - 0, (OCONV(TEST.TOTAL, 'MD0') = 0) END Running this on our Universe system 11.1.1 produces: 0 0 0 1 So, in other words zero is the total result in TEST.TOTAL but this does not equate to zero. Now I know I can get round this by rounding the answer but am not sure why I should have to. Any ideas? Thanks Brett Martin Phillips martinphill...@ladybridge.commailto:martinphill...@ladybridge.com wrote in message news:2636297EDC484501AD1A5AC277EE76A7@lbs8news:%3c2636297EDC484501AD1A5AC277EE76A7@lbs8... Hi George, As a general rule in programming, comparison of floating point values for equality should be avoided. This is because, just as we cannot write the number one third accurately in decimal notation, so the IEEE floating point format used by computer systems cannot store numbers accurately. The example that I use when teaching training courses is 14.2 which actually ends up as something close to 14.197. UniVerse gets around this with a wonderful concept called wide zero that says, when testing for equality of floating point numbers, they must be within some specified value of being equal rather than strictly equal. The default wide zero error tolerance, set in IEEE format with the WIDEZERO configuration parameter, is 2.91 * 10^-11 (2^ 035) which is good for most business applications but occasionally needs adjusting. Unidata has a command, SET.WIDEZERO, to serve the same purpose but defaults to 0.0 for backward comaptibility. Martin Phillips Ladybridge Systems Ltd 17b Coldstream Lane, Hardingstone, Northampton NN4 6DB, England +44 (0)1604-709200 - Original Message - From: George Hammerle zhamme...@hubert.commailto:zhamme...@hubert.com To: u2-users@listserver.u2ug.orgmailto:u2-users@listserver.u2ug.org Sent: Thursday, September 29, 2011 1:30 PM Subject: [U2] The math just doesn't work. Can anybody please help? For some reason A + B does not equal C in the comparison below. Is there any trick to get the comparisons to work properly? Unidata 7.2 on Hp Unix 11+ Top of TEST.COMP in RMH.MAIN, 13 lines, 263 characters. *--: P 001: A = 3176.79 002: B = 106.19 003: C = 3282.98 004: D = 920.11 005: A = A + D 006: C = C + D 007: IF (A+B) # C THEN 008: CRT '(A+B) # C? YOU LIE' 009: CRT 'A = ':A:', B = ':B:', (A+B) = ':(A+B):', C = ':C 010: END ELSE 011: CRT '(A+B) = C? YOU ROCK' 012: CRT 'A = ':A:', B = ':B:', (A+B) = ':(A+B):', C = ':C 013: END Bottom. *--: FIBR Filed TEST.COMP in file RMH.MAIN unchanged. Compiling Unibasic: /db1/ud1/PGM/RMH.MAIN/TEST.COMP in mode 'u'. compilation finished (A+B) # C? YOU LIE A = 4096.9, B = 106.19, (A+B) = 4203.09, C = 4203.09 George Hammerle Programming Dude Hubert Company LLC. 9555 Dry Fork Road Harrison, Ohio 45030 513-367-8974 zhammerle@hubertREMOVE_THIS.commailto:zhammerle@hubertREMOVE_THIS.com ___ U2-Users mailing list U2-Users@listserver.u2ug.orgmailto:U2-Users@listserver.u2ug.org http://listserver.u2ug.org/mailman/listinfo/u2-users This message contains information that may be privileged or confidential and is the property of GPM Development Ltd. It is intended only for the person to whom it is addressed. If you are not the intended recipient ,you are not authorized to read, print, retain, copy, disseminate, distribute, or use this message or any part thereof. If you receive this message in error, please notify the sender immediately and delete all copies of this message. This e-mail was sent to you by GPM Development Ltd. We are incorporated under the laws of England and Wales (company no. 2292156 and VAT registration no. 523 5622 63). Our registered office is 6th Floor, AMP House, Croydon, Surrey CR0 2LX. ___ U2-Users mailing list U2-Users@listserver.u2ug.org http://listserver.u2ug.org/mailman/listinfo/u2-users
Re: [U2] The math just doesn't work.
Hi Brett, I think my discussion on this topic still holds. Run your program with PRECISION 14 at the top and you can see the rounding errors creeping in. This is exactly why comparing floating point values is generally considered a bad idea. Martin Phillips Ladybridge Systems Ltd 17b Coldstream Lane, Hardingstone, Northampton NN4 6DB, England +44 (0)1604-709200 - Original Message - From: Brett Callacher bre...@gpmdev.co.uk To: u2-users@listserver.u2ug.org Sent: Monday, October 10, 2011 9:16 AM Subject: Re: [U2] The math just doesn't work. I also thought: great explanation and nodded sagely when I read this. However, consider this code: NUL = '' CM = ',' A = -409071.8775: CM: 475000: CM: -652413: CM: 652413: CM: -475000: CM: 409071.8775 * * TEST.VMC = 1 TEST.TOTAL = 0 * LOOP UNTIL FIELD(A, CM, TEST.VMC) = NUL DO TEST.TOTAL += FIELD(A, CM, TEST.VMC) TEST.VMC += 1 REPEAT * IF TEST.TOTAL = 0 THEN PRINT 'OK' END ELSE PRINT TEST.TOTAL, (TEST.TOTAL = 0), TEST.TOTAL - 0, (OCONV(TEST.TOTAL, 'MD0') = 0) END Running this on our Universe system 11.1.1 produces: 0 0 0 1 So, in other words zero is the total result in TEST.TOTAL but this does not equate to zero. Now I know I can get round this by rounding the answer but am not sure why I should have to. Any ideas? Thanks Brett Martin Phillips martinphill...@ladybridge.commailto:martinphill...@ladybridge.com wrote in message news:2636297EDC484501AD1A5AC277EE76A7@lbs8news:%3c2636297EDC484501AD1A5AC277EE76A7@lbs8... Hi George, As a general rule in programming, comparison of floating point values for equality should be avoided. This is because, just as we cannot write the number one third accurately in decimal notation, so the IEEE floating point format used by computer systems cannot store numbers accurately. The example that I use when teaching training courses is 14.2 which actually ends up as something close to 14.197. UniVerse gets around this with a wonderful concept called wide zero that says, when testing for equality of floating point numbers, they must be within some specified value of being equal rather than strictly equal. The default wide zero error tolerance, set in IEEE format with the WIDEZERO configuration parameter, is 2.91 * 10^-11 (2^ 035) which is good for most business applications but occasionally needs adjusting. Unidata has a command, SET.WIDEZERO, to serve the same purpose but defaults to 0.0 for backward comaptibility. Martin Phillips Ladybridge Systems Ltd 17b Coldstream Lane, Hardingstone, Northampton NN4 6DB, England +44 (0)1604-709200 - Original Message - From: George Hammerle zhamme...@hubert.commailto:zhamme...@hubert.com To: u2-users@listserver.u2ug.orgmailto:u2-users@listserver.u2ug.org Sent: Thursday, September 29, 2011 1:30 PM Subject: [U2] The math just doesn't work. Can anybody please help? For some reason A + B does not equal C in the comparison below. Is there any trick to get the comparisons to work properly? Unidata 7.2 on Hp Unix 11+ Top of TEST.COMP in RMH.MAIN, 13 lines, 263 characters. *--: P 001: A = 3176.79 002: B = 106.19 003: C = 3282.98 004: D = 920.11 005: A = A + D 006: C = C + D 007: IF (A+B) # C THEN 008: CRT '(A+B) # C? YOU LIE' 009: CRT 'A = ':A:', B = ':B:', (A+B) = ':(A+B):', C = ':C 010: END ELSE 011: CRT '(A+B) = C? YOU ROCK' 012: CRT 'A = ':A:', B = ':B:', (A+B) = ':(A+B):', C = ':C 013: END Bottom. *--: FIBR Filed TEST.COMP in file RMH.MAIN unchanged. Compiling Unibasic: /db1/ud1/PGM/RMH.MAIN/TEST.COMP in mode 'u'. compilation finished (A+B) # C? YOU LIE A = 4096.9, B = 106.19, (A+B) = 4203.09, C = 4203.09 George Hammerle Programming Dude Hubert Company LLC. 9555 Dry Fork Road Harrison, Ohio 45030 513-367-8974 zhammerle@hubertREMOVE_THIS.commailto:zhammerle@hubertREMOVE_THIS.com ___ U2-Users mailing list U2-Users@listserver.u2ug.orgmailto:U2-Users@listserver.u2ug.org http://listserver.u2ug.org/mailman/listinfo/u2-users This message contains information that may be privileged or confidential and is the property of GPM Development Ltd. It is intended only for the person to whom it is addressed. If you are not the intended recipient ,you are not authorized to read, print, retain, copy, disseminate, distribute, or use this message or any part thereof. If you receive this message in error, please notify the sender immediately and delete all copies of this message. This e-mail was sent to you by GPM
Re: [U2] The math just doesn't work.
Hi Martin, Ok, have re-run with PRECISION 14. I now get: 0.0058210 0.0058211 So, the difference is 5.8 * 10^-11 which I can see is greater than the standard Wide Zero setting. The realisation for me here is that PRECISION has nothing to do with the precision of the calculation, it only effects display. Thanks for the insight. Brett Martin Phillips martinphill...@ladybridge.com wrote in message news:373068736ABE411796AEF7AD7F0A6B1D@lbs8... Hi Brett, I think my discussion on this topic still holds. Run your program with PRECISION 14 at the top and you can see the rounding errors creeping in. This is exactly why comparing floating point values is generally considered a bad idea. Martin Phillips Ladybridge Systems Ltd 17b Coldstream Lane, Hardingstone, Northampton NN4 6DB, England +44 (0)1604-709200 - Original Message - From: Brett Callacher bre...@gpmdev.co.uk To: u2-users@listserver.u2ug.org Sent: Monday, October 10, 2011 9:16 AM Subject: Re: [U2] The math just doesn't work. I also thought: great explanation and nodded sagely when I read this. However, consider this code: NUL = '' CM = ',' A = -409071.8775: CM: 475000: CM: -652413: CM: 652413: CM: -475000: CM: 409071.8775 * * TEST.VMC = 1 TEST.TOTAL = 0 * LOOP UNTIL FIELD(A, CM, TEST.VMC) = NUL DO TEST.TOTAL += FIELD(A, CM, TEST.VMC) TEST.VMC += 1 REPEAT * IF TEST.TOTAL = 0 THEN PRINT 'OK' END ELSE PRINT TEST.TOTAL, (TEST.TOTAL = 0), TEST.TOTAL - 0, (OCONV(TEST.TOTAL, 'MD0') = 0) END Running this on our Universe system 11.1.1 produces: 0 0 0 1 So, in other words zero is the total result in TEST.TOTAL but this does not equate to zero. Now I know I can get round this by rounding the answer but am not sure why I should have to. Any ideas? Thanks Brett Martin Phillips martinphill...@ladybridge.commailto:martinphill...@ladybridge.com wrote in message news:2636297EDC484501AD1A5AC277EE76A7@lbs8news:%3c2636297EDC484501AD1A5AC277EE76A7@lbs8... Hi George, As a general rule in programming, comparison of floating point values for equality should be avoided. This is because, just as we cannot write the number one third accurately in decimal notation, so the IEEE floating point format used by computer systems cannot store numbers accurately. The example that I use when teaching training courses is 14.2 which actually ends up as something close to 14.197. UniVerse gets around this with a wonderful concept called wide zero that says, when testing for equality of floating point numbers, they must be within some specified value of being equal rather than strictly equal. The default wide zero error tolerance, set in IEEE format with the WIDEZERO configuration parameter, is 2.91 * 10^-11 (2^ 035) which is good for most business applications but occasionally needs adjusting. Unidata has a command, SET.WIDEZERO, to serve the same purpose but defaults to 0.0 for backward comaptibility. Martin Phillips Ladybridge Systems Ltd 17b Coldstream Lane, Hardingstone, Northampton NN4 6DB, England +44 (0)1604-709200 - Original Message - From: George Hammerle zhamme...@hubert.commailto:zhamme...@hubert.com To: u2-users@listserver.u2ug.orgmailto:u2-users@listserver.u2ug.org Sent: Thursday, September 29, 2011 1:30 PM Subject: [U2] The math just doesn't work. Can anybody please help? For some reason A + B does not equal C in the comparison below. Is there any trick to get the comparisons to work properly? Unidata 7.2 on Hp Unix 11+ Top of TEST.COMP in RMH.MAIN, 13 lines, 263 characters. *--: P 001: A = 3176.79 002: B = 106.19 003: C = 3282.98 004: D = 920.11 005: A = A + D 006: C = C + D 007: IF (A+B) # C THEN 008: CRT '(A+B) # C? YOU LIE' 009: CRT 'A = ':A:', B = ':B:', (A+B) = ':(A+B):', C = ':C 010: END ELSE 011: CRT '(A+B) = C? YOU ROCK' 012: CRT 'A = ':A:', B = ':B:', (A+B) = ':(A+B):', C = ':C 013: END Bottom. *--: FIBR Filed TEST.COMP in file RMH.MAIN unchanged. Compiling Unibasic: /db1/ud1/PGM/RMH.MAIN/TEST.COMP in mode 'u'. compilation finished (A+B) # C? YOU LIE A = 4096.9, B = 106.19, (A+B) = 4203.09, C = 4203.09 George Hammerle Programming Dude Hubert Company LLC. 9555 Dry Fork Road Harrison, Ohio 45030 513-367-8974 zhammerle@hubertREMOVE_THIS.commailto:zhammerle@hubertREMOVE_THIS.com
Re: [U2] The math just doesn't work.
Hi Brett, The realisation for me here is that PRECISION has nothing to do with the precision of the calculation, it only effects display. Correct. All arithetic operations work at the precision of the underlying hardware. PRECISION applies when converting a floating point number to a character string. Martin Phillips Ladybridge Systems Ltd 17b Coldstream Lane, Hardingstone, Northampton NN4 6DB, England +44 (0)1604-709200 ___ U2-Users mailing list U2-Users@listserver.u2ug.org http://listserver.u2ug.org/mailman/listinfo/u2-users
Re: [U2] The math just doesn't work.
I am coming late to this party, but wanted to throw out a bug that was just reported to Rocket. We found that PERCISION was causing a calculation to round in some cases and truncate in others. I am not sure where this stands because someone else on my team is driving this ticket, but it was pretty disturbing that the same calculation worked differently. John Israel John Israel Senior ERP Developer Dayton Superior Corporation 1125 Byers Rd Miamisburg, OH 45342 937-866-0711 x44380 (O) 937-865-9182 (F) This message w/attachments (message) is intended solely for the use of the intended recipient(s) and may contain information that is privileged, confidential or proprietary. If you are not an intended recipient, please notify the sender, and then please delete and destroy all copies and attachments, and be advised that any review or dissemination of, or the taking of any action in reliance on, the information contained in or attached to this message is prohibited. -Original Message- From: u2-users-boun...@listserver.u2ug.org [mailto:u2-users-boun...@listserver.u2ug.org] On Behalf Of Martin Phillips Sent: Monday, October 10, 2011 6:31 AM To: U2 Users List Subject: Re: [U2] The math just doesn't work. Hi Brett, The realisation for me here is that PRECISION has nothing to do with the precision of the calculation, it only effects display. Correct. All arithetic operations work at the precision of the underlying hardware. PRECISION applies when converting a floating point number to a character string. Martin Phillips Ladybridge Systems Ltd 17b Coldstream Lane, Hardingstone, Northampton NN4 6DB, England +44 (0)1604-709200 ___ 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] The math just doesn't work.
On 10/10/2011 8:12 AM, Israel, John R. wrote: I am coming late to this party, but wanted to throw out a bug that was just reported to Rocket. We found that PERCISION was causing a calculation to round in some cases and truncate in others. I am not sure where this stands because someone else on my team is driving this ticket, but it was pretty disturbing that the same calculation worked differently. John Israel John, Here's the essence of an open ticket we've got with Rocket for Universe 10.3.7 on a windows server: CT ADE.BP TT TT 0001 FOR II = 1 TO 18 0002 CRT FMT(II, 2R): : FMT(10^II + 1, 35R,) 0003 NEXT II 0004 STOP RUN ADE.BP TT 1 11 2 101 3 1,001 4 10,001 5 100,001 6 1,000,001 7 10,000,001 8 100,000,001 9 1,000,000,001 10 10,000,000,001 11 100,000,000,001 12 1,000,000,000,001 13 10,000,000,000,001 14 100,000,000,000,001 15 1,000,000,000,000,000 16 10,000,000,000,000,000 17 100,000,000,000,000,000 18 1,000,000,000,000,000,000 See anything wrong with the least significant column? -- allen egerton; aeger...@pobox.com ___ U2-Users mailing list U2-Users@listserver.u2ug.org http://listserver.u2ug.org/mailman/listinfo/u2-users
Re: [U2] The math just doesn't work.
I was just trying to let folks know that we have a confirmed bug with the PRESISION command. We are on UniData 7.2, HPUX. John Israel John Israel Senior ERP Developer Dayton Superior Corporation 1125 Byers Rd Miamisburg, OH 45342 937-866-0711 x44380 (O) 937-865-9182 (F) This message w/attachments (message) is intended solely for the use of the intended recipient(s) and may contain information that is privileged, confidential or proprietary. If you are not an intended recipient, please notify the sender, and then please delete and destroy all copies and attachments, and be advised that any review or dissemination of, or the taking of any action in reliance on, the information contained in or attached to this message is prohibited. -Original Message- From: u2-users-boun...@listserver.u2ug.org [mailto:u2-users-boun...@listserver.u2ug.org] On Behalf Of Allen Egerton Sent: Monday, October 10, 2011 8:31 AM To: U2 Users List Subject: Re: [U2] The math just doesn't work. On 10/10/2011 8:12 AM, Israel, John R. wrote: I am coming late to this party, but wanted to throw out a bug that was just reported to Rocket. We found that PERCISION was causing a calculation to round in some cases and truncate in others. I am not sure where this stands because someone else on my team is driving this ticket, but it was pretty disturbing that the same calculation worked differently. John Israel John, Here's the essence of an open ticket we've got with Rocket for Universe 10.3.7 on a windows server: CT ADE.BP TT TT 0001 FOR II = 1 TO 18 0002 CRT FMT(II, 2R): : FMT(10^II + 1, 35R,) 0003 NEXT II 0004 STOP RUN ADE.BP TT 1 11 2 101 3 1,001 4 10,001 5 100,001 6 1,000,001 7 10,000,001 8 100,000,001 9 1,000,000,001 10 10,000,000,001 11 100,000,000,001 12 1,000,000,000,001 13 10,000,000,000,001 14 100,000,000,000,001 15 1,000,000,000,000,000 16 10,000,000,000,000,000 17 100,000,000,000,000,000 18 1,000,000,000,000,000,000 See anything wrong with the least significant column? -- allen egerton; aeger...@pobox.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
Re: [U2] SLOW
Some 15 years ago I worked for a place that put together a team to speed up their UniData machines. We found Stupid Coding Practices and other things that slowed the systems to a crawl. Tim Snyder of Rocket was on that team. You can hire him through Rocket to check out your system. I'm sure it would be well worth it. Bruce M Neylon Health Care Management Group From: Drew William Henderson d.hender...@moreheadstate.edu To: U2-Users@listserver.u2ug.org U2-Users@listserver.u2ug.org Date: 10/07/2011 04:26 PM Subject:[U2] SLOW Sent by:u2-users-boun...@listserver.u2ug.org with apologies to Jeff and Peggy...and, ok, everyone else, too! My boss has noticed today that we've been running SLOW, and isn't happy about it. He wants to know if SLOW is industry standard, and what other U2 shops might be running SLOW. I told him that I didn't know about other U2 shops, but that I know a lot of SQL shops have been running SLOW for years, and seem to be very satisfied. I also let him know that running SLOW on Friday afternoons was almost industry standard, but I'm not sure he's buying it. So, if you're running SLOW in your environment, please let me know; otherwise, we might not be running SLOW on Monday morning. (sorry...couldn't help myself! Have a good weekend, all!) Drew Henderson Director, Enterprise Systems Architecture and Security Morehead State University 301 Howell-McDowell Bldg Morehead, Ky 40351 606/783-2445 ___ 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] SLOW
On 10/10/11 09:52, bney...@hcmg.net wrote: Some 15 years ago I worked for a place that put together a team to speed up their UniData machines. We found Stupid Coding Practices and other things that slowed the systems to a crawl. Tim Snyder of Rocket was on that team. You can hire him through Rocket to check out your system. I'm sure it would be well worth it. This is humorous. I'll assume Drew is a Datatel client. Let's just say that their code is less than optimal in many cases, particularly course registration. But like any product, anything that has millions of lines of source code and is 20+ years old (or older, in some cases) is likely to be inefficient. Likewise, rewriting it from the ground up isn't going to happen (until Datatel moves everything to MSSQL, but that's a whole different thread). From: Drew William Hendersond.hender...@moreheadstate.edu To: U2-Users@listserver.u2ug.orgU2-Users@listserver.u2ug.org Date: 10/07/2011 04:26 PM Subject:[U2] SLOW Sent by:u2-users-boun...@listserver.u2ug.org with apologies to Jeff and Peggy...and, ok, everyone else, too! My boss has noticed today that we've been running SLOW, and isn't happy about it. He wants to know if SLOW is industry standard, and what other U2 shops might be running SLOW. I told him that I didn't know about other U2 shops, but that I know a lot of SQL shops have been running SLOW for years, and seem to be very satisfied. I also let him know that running SLOW on Friday afternoons was almost industry standard, but I'm not sure he's buying it. So, if you're running SLOW in your environment, please let me know; otherwise, we might not be running SLOW on Monday morning. (sorry...couldn't help myself! Have a good weekend, all!) Drew Henderson Director, Enterprise Systems Architecture and Security Morehead State University 301 Howell-McDowell Bldg Morehead, Ky 40351 606/783-2445 ___ 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 -- Jeff Butera, Ph.D. Manager of ERP Systems Hampshire College jbut...@hampshire.edu 413-559-5556 ...we must choose between what is right and what is easy... Dumbledore ___ U2-Users mailing list U2-Users@listserver.u2ug.org http://listserver.u2ug.org/mailman/listinfo/u2-users
[U2] Finding Triggers on files
Unidata 7.2.9 on RedHat Is there a programmatic way to determine if a file has a trigger on it? I've looked at FILEINFO and it doesn't indicate that any parameter would return trigger information. I know I can do something like: EXECUTE LIST.TRIGGER MY_FILE CAPTURING X.RESULT and parse X.RESULT, but was curious if there's a better way. I've occasionally been bitten by converting a file from static to dynamic hashing, losing an update trigger in the process so I want to write some code to check these and let me know if something's awry. -- Jeff Butera, Ph.D. Manager of ERP Systems Hampshire College jbut...@hampshire.edu 413-559-5556 ...we must choose between what is right and what is easy... Dumbledore ___ U2-Users mailing list U2-Users@listserver.u2ug.org http://listserver.u2ug.org/mailman/listinfo/u2-users
[U2] Signature capture solution
We are running Universe on AIX, with Accuterm emulation on Win XP/7 clients. We are looking for a way to capture digital signatures at our sales counters, and store the signature image with the associated invoices and print them on the invoice form. Has anyone accomplished this in a U2 / AIX ERP? Here is an example of a product: http://topazsystems.com/ Thanks, Bobby D. Worley IT Applications Developer Coburn Supply Company bwor...@coburns.com ___ U2-Users mailing list U2-Users@listserver.u2ug.org http://listserver.u2ug.org/mailman/listinfo/u2-users
Re: [U2] (no subject)
...Good news! It’s a new site where you can find everything! http://progos.formation.erasme.org/com.friend.php?otafortune=19t1 ___ U2-Users mailing list U2-Users@listserver.u2ug.org http://listserver.u2ug.org/mailman/listinfo/u2-users
Re: [U2] Finding Triggers on files
That's the only way we've figured out to do it. Brad. From: Jeffrey Butera jbut...@hampshire.edu To: U2 Users List u2-users@listserver.u2ug.org Date: 10/10/2011 10:39 AM Subject: [U2] Finding Triggers on files Sent by: u2-users-boun...@listserver.u2ug.org Unidata 7.2.9 on RedHat Is there a programmatic way to determine if a file has a trigger on it? I've looked at FILEINFO and it doesn't indicate that any parameter would return trigger information. I know I can do something like: EXECUTE LIST.TRIGGER MY_FILE CAPTURING X.RESULT and parse X.RESULT, but was curious if there's a better way. I've occasionally been bitten by converting a file from static to dynamic hashing, losing an update trigger in the process so I want to write some code to check these and let me know if something's awry. -- Jeff Butera, Ph.D. Manager of ERP Systems Hampshire College jbut...@hampshire.edu 413-559-5556 ...we must choose between what is right and what is easy... Dumbledore ___ U2-Users mailing list U2-Users@listserver.u2ug.org http://listserver.u2ug.org/mailman/listinfo/u2-users U.S. BANCORP made the following annotations - Electronic Privacy Notice. This e-mail, and any attachments, contains information that is, or may be, covered by electronic communications privacy laws, and is also confidential and proprietary in nature. If you are not the intended recipient, please be advised that you are legally prohibited from retaining, using, copying, distributing, or otherwise disclosing this information in any manner. Instead, please reply to the sender that you have received this communication in error, and then immediately delete it. Thank you in advance for your cooperation. - ___ U2-Users mailing list U2-Users@listserver.u2ug.org http://listserver.u2ug.org/mailman/listinfo/u2-users
Re: [U2] The math just doesn't work.
On 10/10/11 13:31, Allen Egerton wrote: On 10/10/2011 8:12 AM, Israel, John R. wrote: I am coming late to this party, but wanted to throw out a bug that was just reported to Rocket. We found that PERCISION was causing a calculation to round in some cases and truncate in others. I am not sure where this stands because someone else on my team is driving this ticket, but it was pretty disturbing that the same calculation worked differently. John Israel John, Here's the essence of an open ticket we've got with Rocket for Universe 10.3.7 on a windows server: CT ADE.BP TT TT 0001 FOR II = 1 TO 18 0002 CRT FMT(II, 2R): : FMT(10^II + 1, 35R,) 0003 NEXT II 0004 STOP RUN ADE.BP TT 1 11 2 101 3 1,001 4 10,001 5 100,001 6 1,000,001 7 10,000,001 8 100,000,001 9 1,000,000,001 10 10,000,000,001 11 100,000,000,001 12 1,000,000,000,001 13 10,000,000,000,001 14 100,000,000,000,001 15 1,000,000,000,000,000 16 10,000,000,000,000,000 17 100,000,000,000,000,000 18 1,000,000,000,000,000,000 See anything wrong with the least significant column? I notice that it starts going wrong beyond 14... Which I understood was the maximum possible value of PRECISION. Maybe you can set it higher, but it doesn't *work* any higher, because, iirc, a DOUBLE PRECISION mantissa only has 14 decimal digits of precision. Drifting slightly, Brett's comment that PRECISION only affected display output is interesting. I always thought it actually controlled the store (ie A = B * C, the calculation would be accurate precision, but A would be stored to PRECISION places). HOWEVER this is what I understood from Pr1me days. And, iirc, Pr1me had BCD microcode which INFORMATION used, so it makes sense that Pr1me behaviour would be noticeably different (and that Pr1me behaviour would also be far more sensible when viewed through our decimal eyes :-) Cheers, Wol ___ U2-Users mailing list U2-Users@listserver.u2ug.org http://listserver.u2ug.org/mailman/listinfo/u2-users
Re: [U2] The math just doesn't work.
On 10/10/2011 12:31 PM, Wols Lists wrote: On 10/10/11 13:31, Allen Egerton wrote: On 10/10/2011 8:12 AM, Israel, John R. wrote: I am coming late to this party, but wanted to throw out a bug that was just reported to Rocket. We found that PERCISION was causing a calculation to round in some cases and truncate in others. I am not sure where this stands because someone else on my team is driving this ticket, but it was pretty disturbing that the same calculation worked differently. John Israel John, Here's the essence of an open ticket we've got with Rocket for Universe 10.3.7 on a windows server: CT ADE.BP TT TT 0001 FOR II = 1 TO 18 0002 CRT FMT(II, 2R): : FMT(10^II + 1, 35R,) 0003 NEXT II 0004 STOP RUN ADE.BP TT 1 11 2 101 3 1,001 4 10,001 5 100,001 6 1,000,001 7 10,000,001 8 100,000,001 9 1,000,000,001 10 10,000,000,001 11 100,000,000,001 12 1,000,000,000,001 13 10,000,000,000,001 14 100,000,000,000,001 15 1,000,000,000,000,000 16 10,000,000,000,000,000 17 100,000,000,000,000,000 18 1,000,000,000,000,000,000 See anything wrong with the least significant column? I notice that it starts going wrong beyond 14... Which I understood was the maximum possible value of PRECISION. Maybe you can set it higher, but it doesn't *work* any higher, because, iirc, a DOUBLE PRECISION mantissa only has 14 decimal digits of precision. Drifting slightly, Brett's comment that PRECISION only affected display output is interesting. I always thought it actually controlled the store (ie A = B * C, the calculation would be accurate precision, but A would be stored to PRECISION places). HOWEVER this is what I understood from Pr1me days. And, iirc, Pr1me had BCD microcode which INFORMATION used, so it makes sense that Pr1me behaviour would be noticeably different (and that Pr1me behaviour would also be far more sensible when viewed through our decimal eyes :-) I'm reasonably familiar with PRECISION, but I always thought it applied only to the non-whole portions of numbers, and I don't see anything in the documentation that states otherwise. The example above is pure integer, no decimal places... I'd thought that perhaps the config parameter EXACTNUMERIC would affect this, but setting it to 30 had no impact at all. I've got an open ticket with Rocket, I'm hoping they can shed some light. -- allen egerton; aeger...@pobox.com ___ U2-Users mailing list U2-Users@listserver.u2ug.org http://listserver.u2ug.org/mailman/listinfo/u2-users
Re: [U2] Signature capture solution
Pretty sure most systems still save the signature as a bmp, png or other standard image format. From there you just store it like you would any picture. -Original Message- From: u2-users-boun...@listserver.u2ug.org [mailto:u2-users-boun...@listserver.u2ug.org] On Behalf Of Bobby Worley Sent: Monday, October 10, 2011 11:07 AM To: U2-Users@listserver.u2ug.org Subject: [U2] Signature capture solution We are running Universe on AIX, with Accuterm emulation on Win XP/7 clients. We are looking for a way to capture digital signatures at our sales counters, and store the signature image with the associated invoices and print them on the invoice form. Has anyone accomplished this in a U2 / AIX ERP? Here is an example of a product: http://topazsystems.com/ Thanks, Bobby D. Worley IT Applications Developer Coburn Supply Company bwor...@coburns.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
Re: [U2] The math just doesn't work.
Brett: When I run the following code on UD v7.2.7, it works fine. * ** Test program EXECUTE \SET.WIDEZERO 0.01\ * NUL = '' CM = ',' A = -409071.8775: CM: 475000: CM: -652413: CM: 652413: CM: -475000: CM: 409071.8775 * TEST.VMC = 1 TEST.TOTAL = 0 * LOOP UNTIL FIELD(A, CM, TEST.VMC) = NUL DO TEST.TOTAL += FIELD(A, CM, TEST.VMC) TEST.VMC += 1 REPEAT * IF TEST.TOTAL = 0 THEN PRINT 'OK' END ELSE PRINT TEST.TOTAL, (TEST.TOTAL = 0), TEST.TOTAL - 0, (OCONV(TEST.TOTAL, 'MD0') = 0) END *2 Dev (0)- RUN BP BILL OK* HTH, Bill - Original Message - *From:* bre...@gpmdev.co.uk *To:* u2-users@listserver.u2ug.org u2-users@listserver.u2ug.org *Date:* 10/10/2011 1:16 AM *Subject:* Re: [U2] The math just doesn't work. I also thought: great explanation and nodded sagely when I read this. However, consider this code: NUL = '' CM = ',' A = -409071.8775: CM: 475000: CM: -652413: CM: 652413: CM: -475000: CM: 409071.8775 * * TEST.VMC = 1 TEST.TOTAL = 0 * LOOP UNTIL FIELD(A, CM, TEST.VMC) = NUL DO TEST.TOTAL += FIELD(A, CM, TEST.VMC) TEST.VMC += 1 REPEAT * IF TEST.TOTAL = 0 THEN PRINT 'OK' END ELSE PRINT TEST.TOTAL, (TEST.TOTAL = 0), TEST.TOTAL - 0, (OCONV(TEST.TOTAL, 'MD0') = 0) END Running this on our Universe system 11.1.1 produces: 0 0 0 1 So, in other words zero is the total result in TEST.TOTAL but this does not equate to zero. Now I know I can get round this by rounding the answer but am not sure why I should have to. Any ideas? Thanks Brett Martin Phillipsmartinphill...@ladybridge.commailto:martinphill...@ladybridge.com wrote in message news:2636297EDC484501AD1A5AC277EE76A7@lbs8news:%3c2636297EDC484501AD1A5AC277EE76A7@lbs8... Hi George, As a general rule in programming, comparison of floating point values for equality should be avoided. This is because, just as we cannot write the number one third accurately in decimal notation, so the IEEE floating point format used by computer systems cannot store numbers accurately. The example that I use when teaching training courses is 14.2 which actually ends up as something close to 14.197. UniVerse gets around this with a wonderful concept called wide zero that says, when testing for equality of floating point numbers, they must be within some specified value of being equal rather than strictly equal. The default wide zero error tolerance, set in IEEE format with the WIDEZERO configuration parameter, is 2.91 * 10^-11 (2^ 035) which is good for most business applications but occasionally needs adjusting. Unidata has a command, SET.WIDEZERO, to serve the same purpose but defaults to 0.0 for backward comaptibility. Martin Phillips Ladybridge Systems Ltd 17b Coldstream Lane, Hardingstone, Northampton NN4 6DB, England +44 (0)1604-709200 - Original Message - From: George Hammerlezhamme...@hubert.commailto:zhamme...@hubert.com To:u2-users@listserver.u2ug.orgmailto:u2-users@listserver.u2ug.org Sent: Thursday, September 29, 2011 1:30 PM Subject: [U2] The math just doesn't work. Can anybody please help? For some reason A + B does not equal C in the comparison below. Is there any trick to get the comparisons to work properly? Unidata 7.2 on Hp Unix 11+ Top of TEST.COMP in RMH.MAIN, 13 lines, 263 characters. *--: P 001: A = 3176.79 002: B = 106.19 003: C = 3282.98 004: D = 920.11 005: A = A + D 006: C = C + D 007: IF (A+B) # C THEN 008: CRT '(A+B) # C? YOU LIE' 009: CRT 'A = ':A:', B = ':B:', (A+B) = ':(A+B):', C = ':C 010: END ELSE 011: CRT '(A+B) = C? YOU ROCK' 012: CRT 'A = ':A:', B = ':B:', (A+B) = ':(A+B):', C = ':C 013: END Bottom. *--: FIBR Filed TEST.COMP in file RMH.MAIN unchanged. Compiling Unibasic: /db1/ud1/PGM/RMH.MAIN/TEST.COMP in mode 'u'. compilation finished (A+B) # C? YOU LIE A = 4096.9, B = 106.19, (A+B) = 4203.09, C = 4203.09 George Hammerle Programming Dude Hubert Company LLC. 9555 Dry Fork Road Harrison, Ohio 45030 513-367-8974 zhammerle@hubertREMOVE_THIS.commailto:zhammerle@hubertREMOVE_THIS.com ___ U2-Users mailing list U2-Users@listserver.u2ug.orgmailto:U2-Users@listserver.u2ug.org http://listserver.u2ug.org/mailman/listinfo/u2-users This message contains information that may be privileged or confidential and is the property of GPM Development Ltd. It is intended only for the person to whom it is addressed. If you are not the intended recipient ,you are not authorized to read, print, retain, copy, disseminate, distribute, or use this message or any part thereof. If you receive this message in error, please notify the sender immediately and delete all copies of this message. This e-mail was sent to you by GPM Development
Re: [U2] Signature capture solution
Yup, all the work is already done, and with the Topaz sigpad too. Please see my blog: no_spamNebula-RnD.com/blog/tech/2009/09/signatures01.html and contact me to see if we have a good fit. Tony Gravagno Nebula Research and Development TG@ remove.pleaseNebula-RnD.com Nebula RD sells mv.NET and other Pick/MultiValue products worldwide, and provides related development services remove.pleaseNebula-RnD.com/blog Visit PickWiki.com! Contribute! http://Twitter.com/TonyGravagno From: Bobby Worley We are running Universe on AIX, with Accuterm emulation on Win XP/7 clients.. We are looking for a way to capture digital signatures at our sales counters, and store the signature image with the associated invoices and print them on the invoice form. Has anyone accomplished this in a U2 / AIX ERP? Here is an example of a product: http://topazsystems.com/ ___ U2-Users mailing list U2-Users@listserver.u2ug.org http://listserver.u2ug.org/mailman/listinfo/u2-users
Re: [U2] Finding Triggers on files
FILEINFO 25 - Returns update trigger 26 - Returns delete trigger Dean Armbruster Information Technology, System Analyst Ferguson Enterprises, Inc. 12500 Jefferson Avenue * Newport News * VA * 23602-4314 T: +1 (757) 989 2839 * F: +1 (757) 989 2801 www.ferguson.com -Original Message- From: u2-users-boun...@listserver.u2ug.org [mailto:u2-users-boun...@listserver.u2ug.org] On Behalf Of Jeffrey Butera Sent: Monday, October 10, 2011 11:40 AM To: U2 Users List Subject: [U2] Finding Triggers on files Unidata 7.2.9 on RedHat Is there a programmatic way to determine if a file has a trigger on it? I've looked at FILEINFO and it doesn't indicate that any parameter would return trigger information. I know I can do something like: EXECUTE LIST.TRIGGER MY_FILE CAPTURING X.RESULT and parse X.RESULT, but was curious if there's a better way. I've occasionally been bitten by converting a file from static to dynamic hashing, losing an update trigger in the process so I want to write some code to check these and let me know if something's awry. -- Jeff Butera, Ph.D. Manager of ERP Systems Hampshire College jbut...@hampshire.edu 413-559-5556 ...we must choose between what is right and what is easy... Dumbledore ___ 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
[U2] PE72 Unidata will not start
Installed unidata PE7.2.7, tryimg to start unidata, udt.exe, receive the following messages: RFS is not licensed. SB_FLAG is turned off. Start SMM first! I have looked at the License and it hasn't expired this is a recient download I tried starting the SMM from the command prompt ___ U2-Users mailing list U2-Users@listserver.u2ug.org http://listserver.u2ug.org/mailman/listinfo/u2-users
Re: [U2] PE72 Unidata will not start
Okay, first, don't worried about RFS not being licensed. That is additional functionality that doesn't come with the Personal Edition. Since you are getting Start SMM first, you probably have not started the UniData engine. With this, you don't want to actually start SMM by itself directly. All you need to do is run 'startud' to start the UniData engine and it should all be fine. Regards, Dan McGrath U2 Product Manager Rocket Software 4600 S. Ulster Street **Suite 1100 **Denver, CO 80237 * USA Tel: +1.720.475.8098 * Fax: +1.617.630.7392 Email: dmcgr...@rs.com Web: www.rocketsoftware.com/u2 -Original Message- From: u2-users-boun...@listserver.u2ug.org [mailto:u2-users-boun...@listserver.u2ug.org] On Behalf Of Tom Gray Sent: Monday, October 10, 2011 2:24 PM To: u2-users@listserver.u2ug.org Subject: [U2] PE72 Unidata will not start Installed unidata PE7.2.7, tryimg to start unidata, udt.exe, receive the following messages: RFS is not licensed. SB_FLAG is turned off. Start SMM first! I have looked at the License and it hasn't expired this is a recient download I tried starting the SMM from the command prompt ___ 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] Finding Triggers on files
Dean: This is interesting to know! 2 Dev (0)- BPTEST OPEN '', 'ARTMASTER' TO ARTMASTER ELSE STOP 201, 'ARTMASTER' ; CRT FILEINFO(ARTMASTER, 25) ; CRT FILEINFO(ARTMASTER, 26) ; END Compiling Unibasic: SAVEDLISTS\BpTest_487376561 in mode 'p'. compilation finished U2.MASTER.TRIGGER.U U2.MASTER.TRIGGER.D This isn't in my most recent UD BASIC Reference manual (although 27 28 are). Thanks, Bill - Original Message - *From:* dean.armbrus...@ferguson.com *To:* jbut...@hampshire.edu, u2-users@listserver.u2ug.org *Date:* 10/10/2011 1:22 PM *Subject:* Re: [U2] Finding Triggers on files FILEINFO 25 - Returns update trigger 26 - Returns delete trigger Dean Armbruster Information Technology, System Analyst Ferguson Enterprises, Inc. 12500 Jefferson Avenue * Newport News * VA * 23602-4314 T: +1 (757) 989 2839 * F: +1 (757) 989 2801 www.ferguson.com -Original Message- From: u2-users-boun...@listserver.u2ug.org [mailto:u2-users-boun...@listserver.u2ug.org] On Behalf Of Jeffrey Butera Sent: Monday, October 10, 2011 11:40 AM To: U2 Users List Subject: [U2] Finding Triggers on files Unidata 7.2.9 on RedHat Is there a programmatic way to determine if a file has a trigger on it? I've looked at FILEINFO and it doesn't indicate that any parameter would return trigger information. I know I can do something like: EXECUTE LIST.TRIGGER MY_FILE CAPTURING X.RESULT and parse X.RESULT, but was curious if there's a better way. I've occasionally been bitten by converting a file from static to dynamic hashing, losing an update trigger in the process so I want to write some code to check these and let me know if something's awry. ___ U2-Users mailing list U2-Users@listserver.u2ug.org http://listserver.u2ug.org/mailman/listinfo/u2-users
Re: [U2] Signature capture solution
On Mon, 10 Oct 2011, Bobby Worley wrote: We are running Universe on AIX, with Accuterm emulation on Win XP/7 clients. We are looking for a way to capture digital signatures at our sales counters, and store the signature image with the associated invoices and print them on the invoice form. We are in the middle of developing this feature as part of Print Wizard, both within AnzioWin (our terminal emulation client) and the freestanding Print Wizard product. Right now we are focusing on the Topaz 1x5 pad. I would encourage anyone interested in this area to contact me off-list. Some specific points about the direction our efforts are going: 1) All our software runs on the Windows platform. Integration with the server will vary depending on which if our products is used. 2) We intend to display an entire page, such as a contract, an invoice, or an acknowledgement of receipt, and have the customer (or whoever is signing) be able to see what they're signing. I think of this as a sign here approach. 3) The document to be displayed can be plain text, PCL, PDF, or Print Wizard Markup Language, with or without a form overlay applied. This can be a multi-page document. 4) A template, in the form of a PWML overlay, will specify where to sign. This can be multiple pages, and can specify multiple places to initial or sign. 5) We will immediately merge the signature with the input document (and overlay) and output to PDF, using only our own software. Alternatively, we could print or fax the output. 6) We intend to provide support specifically for the family of Topaz hardware. 7) We also intend to support the ink capability of the TabletPC platform, to allow signing directly ON THE SCREEN. 8) The TabletPC support will be portable to Windows-based tablets, including those running the recently announced Windows 8. 9) We already have support for digitally certifying an output PDF. We will explore connecting these features. Again, if you are interested, please contact me. Regards, Bob Rasmussen, President, Rasmussen Software, Inc. personal e-mail: r...@anzio.com company e-mail: r...@anzio.com voice: (US) 503-624-0360 (9:00-6:00 Pacific Time) fax: (US) 503-624-0760 web: http://www.anzio.com street address: Rasmussen Software, Inc. 10240 SW Nimbus, Suite L9 Portland, OR 97223 USA___ U2-Users mailing list U2-Users@listserver.u2ug.org http://listserver.u2ug.org/mailman/listinfo/u2-users
Re: [U2] Finding Triggers on files
I also find it interesting that it isn't in the UniBasic Commands Reference manual, even though 27 28 are there. We saw 25 26 in a README for a previous release and have been using it ever since. Dean Armbruster System Analyst 757-989-2839 -Original Message- From: u2-users-boun...@listserver.u2ug.org [mailto:u2-users-boun...@listserver.u2ug.org] On Behalf Of Bill Haskett Sent: Monday, October 10, 2011 4:38 PM To: U2 Users List Subject: Re: [U2] Finding Triggers on files Dean: This is interesting to know! 2 Dev (0)- BPTEST OPEN '', 'ARTMASTER' TO ARTMASTER ELSE STOP 201, 'ARTMASTER' ; CRT FILEINFO(ARTMASTER, 25) ; CRT FILEINFO(ARTMASTER, 26) ; END Compiling Unibasic: SAVEDLISTS\BpTest_487376561 in mode 'p'. compilation finished U2.MASTER.TRIGGER.U U2.MASTER.TRIGGER.D This isn't in my most recent UD BASIC Reference manual (although 27 28 are). Thanks, Bill - Original Message - *From:* dean.armbrus...@ferguson.com *To:* jbut...@hampshire.edu, u2-users@listserver.u2ug.org *Date:* 10/10/2011 1:22 PM *Subject:* Re: [U2] Finding Triggers on files FILEINFO 25 - Returns update trigger 26 - Returns delete trigger Dean Armbruster Information Technology, System Analyst Ferguson Enterprises, Inc. 12500 Jefferson Avenue * Newport News * VA * 23602-4314 T: +1 (757) 989 2839 * F: +1 (757) 989 2801 www.ferguson.com -Original Message- From: u2-users-boun...@listserver.u2ug.org [mailto:u2-users-boun...@listserver.u2ug.org] On Behalf Of Jeffrey Butera Sent: Monday, October 10, 2011 11:40 AM To: U2 Users List Subject: [U2] Finding Triggers on files Unidata 7.2.9 on RedHat Is there a programmatic way to determine if a file has a trigger on it? I've looked at FILEINFO and it doesn't indicate that any parameter would return trigger information. I know I can do something like: EXECUTE LIST.TRIGGER MY_FILE CAPTURING X.RESULT and parse X.RESULT, but was curious if there's a better way. I've occasionally been bitten by converting a file from static to dynamic hashing, losing an update trigger in the process so I want to write some code to check these and let me know if something's awry. ___ 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] Finding Triggers on files
I can't find any of them documented. What's 27 and 28 listed as? And thanks for 25 26. I've been looking for something like those, which works great! (UD 6.1) -Original Message- From: u2-users-boun...@listserver.u2ug.org [mailto:u2-users-boun...@listserver.u2ug.org] On Behalf Of dean.armbrus...@ferguson.com Sent: Monday, October 10, 2011 1:47 PM To: u2-users@listserver.u2ug.org Subject: Re: [U2] Finding Triggers on files I also find it interesting that it isn't in the UniBasic Commands Reference manual, even though 27 28 are there. We saw 25 26 in a README for a previous release and have been using it ever since. Dean Armbruster System Analyst 757-989-2839 -Original Message- From: u2-users-boun...@listserver.u2ug.org [mailto:u2-users-boun...@listserver.u2ug.org] On Behalf Of Bill Haskett Sent: Monday, October 10, 2011 4:38 PM To: U2 Users List Subject: Re: [U2] Finding Triggers on files Dean: This is interesting to know! 2 Dev (0)- BPTEST OPEN '', 'ARTMASTER' TO ARTMASTER ELSE STOP 201, 'ARTMASTER' ; CRT FILEINFO(ARTMASTER, 25) ; CRT FILEINFO(ARTMASTER, 26) ; END Compiling Unibasic: SAVEDLISTS\BpTest_487376561 in mode 'p'. compilation finished U2.MASTER.TRIGGER.U U2.MASTER.TRIGGER.D This isn't in my most recent UD BASIC Reference manual (although 27 28 are). Thanks, Bill - Original Message - *From:* dean.armbrus...@ferguson.com *To:* jbut...@hampshire.edu, u2-users@listserver.u2ug.org *Date:* 10/10/2011 1:22 PM *Subject:* Re: [U2] Finding Triggers on files FILEINFO 25 - Returns update trigger 26 - Returns delete trigger Dean Armbruster Information Technology, System Analyst Ferguson Enterprises, Inc. 12500 Jefferson Avenue * Newport News * VA * 23602-4314 T: +1 (757) 989 2839 * F: +1 (757) 989 2801 www.ferguson.com -Original Message- From: u2-users-boun...@listserver.u2ug.org [mailto:u2-users-boun...@listserver.u2ug.org] On Behalf Of Jeffrey Butera Sent: Monday, October 10, 2011 11:40 AM To: U2 Users List Subject: [U2] Finding Triggers on files Unidata 7.2.9 on RedHat Is there a programmatic way to determine if a file has a trigger on it? I've looked at FILEINFO and it doesn't indicate that any parameter would return trigger information. I know I can do something like: EXECUTE LIST.TRIGGER MY_FILE CAPTURING X.RESULT and parse X.RESULT, but was curious if there's a better way. I've occasionally been bitten by converting a file from static to dynamic hashing, losing an update trigger in the process so I want to write some code to check these and let me know if something's awry. ___ 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 ___ U2-Users mailing list U2-Users@listserver.u2ug.org http://listserver.u2ug.org/mailman/listinfo/u2-users
Re: [U2] Finding Triggers on files
From BASR.pdf, UD 7.2: 27 Is the file encrypted? ALL 0 - File is not encrypted 1 - File is encrypted 28 Type of file encryption ALL Returns a dynamic array containing the following information: ? For a file encrypted with the WHOLERECORD option: -1@SMkeyid@SMalgorithm ? For a file encrypted at the field level: location@SMkeyid@SMalgorithm@SMfield_name ? Returns an empty string if the file is not encrypted. Dean Armbruster System Analyst 757-989-2839 -Original Message- From: u2-users-boun...@listserver.u2ug.org [mailto:u2-users-boun...@listserver.u2ug.org] On Behalf Of Woodward, Bob Sent: Monday, October 10, 2011 4:50 PM To: U2 Users List Subject: Re: [U2] Finding Triggers on files I can't find any of them documented. What's 27 and 28 listed as? And thanks for 25 26. I've been looking for something like those, which works great! (UD 6.1) -Original Message- From: u2-users-boun...@listserver.u2ug.org [mailto:u2-users-boun...@listserver.u2ug.org] On Behalf Of dean.armbrus...@ferguson.com Sent: Monday, October 10, 2011 1:47 PM To: u2-users@listserver.u2ug.org Subject: Re: [U2] Finding Triggers on files I also find it interesting that it isn't in the UniBasic Commands Reference manual, even though 27 28 are there. We saw 25 26 in a README for a previous release and have been using it ever since. Dean Armbruster System Analyst 757-989-2839 -Original Message- From: u2-users-boun...@listserver.u2ug.org [mailto:u2-users-boun...@listserver.u2ug.org] On Behalf Of Bill Haskett Sent: Monday, October 10, 2011 4:38 PM To: U2 Users List Subject: Re: [U2] Finding Triggers on files Dean: This is interesting to know! 2 Dev (0)- BPTEST OPEN '', 'ARTMASTER' TO ARTMASTER ELSE STOP 201, 'ARTMASTER' ; CRT FILEINFO(ARTMASTER, 25) ; CRT FILEINFO(ARTMASTER, 26) ; END Compiling Unibasic: SAVEDLISTS\BpTest_487376561 in mode 'p'. compilation finished U2.MASTER.TRIGGER.U U2.MASTER.TRIGGER.D This isn't in my most recent UD BASIC Reference manual (although 27 28 are). Thanks, Bill - Original Message - *From:* dean.armbrus...@ferguson.com *To:* jbut...@hampshire.edu, u2-users@listserver.u2ug.org *Date:* 10/10/2011 1:22 PM *Subject:* Re: [U2] Finding Triggers on files FILEINFO 25 - Returns update trigger 26 - Returns delete trigger Dean Armbruster Information Technology, System Analyst Ferguson Enterprises, Inc. 12500 Jefferson Avenue * Newport News * VA * 23602-4314 T: +1 (757) 989 2839 * F: +1 (757) 989 2801 www.ferguson.com -Original Message- From: u2-users-boun...@listserver.u2ug.org [mailto:u2-users-boun...@listserver.u2ug.org] On Behalf Of Jeffrey Butera Sent: Monday, October 10, 2011 11:40 AM To: U2 Users List Subject: [U2] Finding Triggers on files Unidata 7.2.9 on RedHat Is there a programmatic way to determine if a file has a trigger on it? I've looked at FILEINFO and it doesn't indicate that any parameter would return trigger information. I know I can do something like: EXECUTE LIST.TRIGGER MY_FILE CAPTURING X.RESULT and parse X.RESULT, but was curious if there's a better way. I've occasionally been bitten by converting a file from static to dynamic hashing, losing an update trigger in the process so I want to write some code to check these and let me know if something's awry. ___ 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 ___ 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] Finding Triggers on files
Thanks Dean. Haven't used encryption, yet, so I'll just add this to my system notes for now. -Original Message- From: u2-users-boun...@listserver.u2ug.org [mailto:u2-users-boun...@listserver.u2ug.org] On Behalf Of dean.armbrus...@ferguson.com Sent: Monday, October 10, 2011 2:10 PM To: u2-users@listserver.u2ug.org Subject: Re: [U2] Finding Triggers on files From BASR.pdf, UD 7.2: 27 Is the file encrypted? ALL 0 - File is not encrypted 1 - File is encrypted 28 Type of file encryption ALL Returns a dynamic array containing the following information: ? For a file encrypted with the WHOLERECORD option: -1@SMkeyid@SMalgorithm ? For a file encrypted at the field level: location@SMkeyid@SMalgorithm@SMfield_name ? Returns an empty string if the file is not encrypted. Dean Armbruster System Analyst 757-989-2839 -Original Message- From: u2-users-boun...@listserver.u2ug.org [mailto:u2-users-boun...@listserver.u2ug.org] On Behalf Of Woodward, Bob Sent: Monday, October 10, 2011 4:50 PM To: U2 Users List Subject: Re: [U2] Finding Triggers on files I can't find any of them documented. What's 27 and 28 listed as? And thanks for 25 26. I've been looking for something like those, which works great! (UD 6.1) -Original Message- From: u2-users-boun...@listserver.u2ug.org [mailto:u2-users-boun...@listserver.u2ug.org] On Behalf Of dean.armbrus...@ferguson.com Sent: Monday, October 10, 2011 1:47 PM To: u2-users@listserver.u2ug.org Subject: Re: [U2] Finding Triggers on files I also find it interesting that it isn't in the UniBasic Commands Reference manual, even though 27 28 are there. We saw 25 26 in a README for a previous release and have been using it ever since. Dean Armbruster System Analyst 757-989-2839 -Original Message- From: u2-users-boun...@listserver.u2ug.org [mailto:u2-users-boun...@listserver.u2ug.org] On Behalf Of Bill Haskett Sent: Monday, October 10, 2011 4:38 PM To: U2 Users List Subject: Re: [U2] Finding Triggers on files Dean: This is interesting to know! 2 Dev (0)- BPTEST OPEN '', 'ARTMASTER' TO ARTMASTER ELSE STOP 201, 'ARTMASTER' ; CRT FILEINFO(ARTMASTER, 25) ; CRT FILEINFO(ARTMASTER, 26) ; END Compiling Unibasic: SAVEDLISTS\BpTest_487376561 in mode 'p'. compilation finished U2.MASTER.TRIGGER.U U2.MASTER.TRIGGER.D This isn't in my most recent UD BASIC Reference manual (although 27 28 are). Thanks, Bill - Original Message - *From:* dean.armbrus...@ferguson.com *To:* jbut...@hampshire.edu, u2-users@listserver.u2ug.org *Date:* 10/10/2011 1:22 PM *Subject:* Re: [U2] Finding Triggers on files FILEINFO 25 - Returns update trigger 26 - Returns delete trigger Dean Armbruster Information Technology, System Analyst Ferguson Enterprises, Inc. 12500 Jefferson Avenue * Newport News * VA * 23602-4314 T: +1 (757) 989 2839 * F: +1 (757) 989 2801 www.ferguson.com -Original Message- From: u2-users-boun...@listserver.u2ug.org [mailto:u2-users-boun...@listserver.u2ug.org] On Behalf Of Jeffrey Butera Sent: Monday, October 10, 2011 11:40 AM To: U2 Users List Subject: [U2] Finding Triggers on files Unidata 7.2.9 on RedHat Is there a programmatic way to determine if a file has a trigger on it? I've looked at FILEINFO and it doesn't indicate that any parameter would return trigger information. I know I can do something like: EXECUTE LIST.TRIGGER MY_FILE CAPTURING X.RESULT and parse X.RESULT, but was curious if there's a better way. I've occasionally been bitten by converting a file from static to dynamic hashing, losing an update trigger in the process so I want to write some code to check these and let me know if something's awry. ___ 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 ___ 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 ___ U2-Users mailing list U2-Users@listserver.u2ug.org http://listserver.u2ug.org/mailman/listinfo/u2-users
Re: [U2] Signature capture solution
For reference, I've already done most or all of what Bob describes, including integration with AnzioWin (and AccuTerm) and PrintWizard. The difference in approaches is that I don't rely on the Anzio tools, but have coded the interface for optional integration with them. For a common MV app, PrintWizard doesn't know what the order or invoice look like, but we chose to copy/modify the order/invoice print routine to use PrintWizard for its many fine features. Then we simply added the image from the sigpad at the bottom of those documents. These things are unrelated, allow for versatility and more choice in vendors and implementation methods. A solution provided by Anzio would give you everything from a single vendor, but perhaps no ability to work outside of whatever constraints that might imply. YMMV T ___ U2-Users mailing list U2-Users@listserver.u2ug.org http://listserver.u2ug.org/mailman/listinfo/u2-users
Re: [U2] PE72 Unidata will not start
Since you are on Windows, check the services to confirm that all three started. -Original Message- From: u2-users-boun...@listserver.u2ug.org [mailto:u2-users-boun...@listserver.u2ug.org] On Behalf Of Daniel McGrath Sent: Monday, October 10, 2011 1:37 PM To: U2 Users List Subject: Re: [U2] PE72 Unidata will not start Okay, first, don't worried about RFS not being licensed. That is additional functionality that doesn't come with the Personal Edition. Since you are getting Start SMM first, you probably have not started the UniData engine. With this, you don't want to actually start SMM by itself directly. All you need to do is run 'startud' to start the UniData engine and it should all be fine. Regards, Dan McGrath U2 Product Manager Rocket Software 4600 S. Ulster Street **Suite 1100 **Denver, CO 80237 * USA Tel: +1.720.475.8098 * Fax: +1.617.630.7392 Email: dmcgr...@rs.com Web: www.rocketsoftware.com/u2 -Original Message- From: u2-users-boun...@listserver.u2ug.org [mailto:u2-users-boun...@listserver.u2ug.org] On Behalf Of Tom Gray Sent: Monday, October 10, 2011 2:24 PM To: u2-users@listserver.u2ug.org Subject: [U2] PE72 Unidata will not start Installed unidata PE7.2.7, tryimg to start unidata, udt.exe, receive the following messages: RFS is not licensed. SB_FLAG is turned off. Start SMM first! I have looked at the License and it hasn't expired this is a recient download I tried starting the SMM from the command prompt ___ 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 ___ U2-Users mailing list U2-Users@listserver.u2ug.org http://listserver.u2ug.org/mailman/listinfo/u2-users