[U2] unibasic's sort function
I have a dynamic array built like this: LIST = KEY = CONDES.DESIGNATION : * : CONTRIB.DONOR.DATE : * : ID.NO IF LEN(LIST) = 0 THEN LIST = KEY END ELSE LIST := @AM : KEY END When I do: LIST = SORT(LIST) in Unibasic, compil and run it, it returns LIST=0 Can anyone tell me what I am doing wrong? Thanks for your help! Greg Schraiber Beloit College --- u2-users mailing list u2-users@listserver.u2ug.org To unsubscribe please visit http://listserver.u2ug.org/
[U2] converting universe files between aix/linux
hey all, I am attempting to make a QA virtual universe system and I think I am going to have a big Indian/little Indian issue (when moving the databases from aiz to linux), I seem recall that there was some tool available to convert the databases but for the life of me I cannot remember what its called. Also if anyone has any tools they already developed to do this and would be willing to share I would greatly appreciate it as well as any gotchas you may have run across doing such a conversion thanks dougc --- u2-users mailing list u2-users@listserver.u2ug.org To unsubscribe please visit http://listserver.u2ug.org/
RE: [U2] unibasic's sort function
I am not sure about the SORT, but I would suggest simply: LIST = KEY = LIST-1 = KEY David Laansma IT Manager Hubbard Supply Co. Direct: 810-342-7143 Office:810-234-8681 Fax: 810-234-6142 www.hubbardsupply.com Delivering Products, Services, and Innovative Solutions -Original Message- From: owner-u2-us...@listserver.u2ug.org [mailto:owner-u2-us...@listserver.u2ug.org] On Behalf Of Greg Schraiber Sent: Tuesday, February 03, 2009 11:30 AM To: u2-users@listserver.u2ug.org Subject: [U2] unibasic's sort function I have a dynamic array built like this: LIST = KEY = CONDES.DESIGNATION : * : CONTRIB.DONOR.DATE : * : ID.NO IF LEN(LIST) = 0 THEN LIST = KEY END ELSE LIST := @AM : KEY END When I do: LIST = SORT(LIST) in Unibasic, compil and run it, it returns LIST=0 Can anyone tell me what I am doing wrong? Thanks for your help! Greg Schraiber Beloit College --- u2-users mailing list u2-users@listserver.u2ug.org To unsubscribe please visit http://listserver.u2ug.org/ --- u2-users mailing list u2-users@listserver.u2ug.org To unsubscribe please visit http://listserver.u2ug.org/
Re: [U2] converting universe files between aix/linux
fnuxi In uv/bin doug chanco wrote: hey all, I am attempting to make a QA virtual universe system and I think I am going to have a big Indian/little Indian issue (when moving the databases from aiz to linux), I seem recall that there was some tool available to convert the databases but for the life of me I cannot remember what its called. Also if anyone has any tools they already developed to do this and would be willing to share I would greatly appreciate it as well as any gotchas you may have run across doing such a conversion thanks dougc --- u2-users mailing list u2-users@listserver.u2ug.org To unsubscribe please visit http://listserver.u2ug.org/ -- Jeff Schasny - Denver, Co, USA jschasny at gmail dot com /Come To The Dark Side, We Have Cookies./ --- u2-users mailing list u2-users@listserver.u2ug.org To unsubscribe please visit http://listserver.u2ug.org/
RE: [U2] unibasic's sort function
I am confused by the SORT, but I am guessing that something like this would work: LIST = (some selection criteria) LOOP WHILE READNEXT KEY LOCATE KEY IN LIST1 BY AL SETTING POS ELSE INS KEY BEFORE LISTPOS END REPEAT This builds you list and sorts it all at once. Based on the flavor you are running, you might need to replace: LIST1 with just LIST If you can build your select in a SELECT command, you could replace the LOCATE logic with a simple: LIST-1 = KEY John Israel Sr. Programmer/Analyst -Original Message- From: owner-u2-us...@listserver.u2ug.org [mailto:owner-u2-us...@listserver.u2ug.org] On Behalf Of Greg Schraiber Sent: Tuesday, February 03, 2009 11:30 AM To: u2-users@listserver.u2ug.org Subject: [U2] unibasic's sort function I have a dynamic array built like this: LIST = KEY = CONDES.DESIGNATION : * : CONTRIB.DONOR.DATE : * : ID.NO IF LEN(LIST) = 0 THEN LIST = KEY END ELSE LIST := @AM : KEY END When I do: LIST = SORT(LIST) in Unibasic, compil and run it, it returns LIST=0 Can anyone tell me what I am doing wrong? Thanks for your help! Greg Schraiber Beloit College --- u2-users mailing list u2-users@listserver.u2ug.org To unsubscribe please visit http://listserver.u2ug.org/ --- u2-users mailing list u2-users@listserver.u2ug.org To unsubscribe please visit http://listserver.u2ug.org/
RE: [U2] unibasic's sort function
The SORT function (which I'm embarrassed to say I didn't think existed, and I've been coding unibasic for the last 8 or 9 years!) sorts the data passed into it; there isn't a return value. So SORT(LIST) CRT LIST does work. Your original program sets LIST to 0 because LIST is set to the return result of the sort statement - perhaps this should throw a compiler error? Or perhaps there's an undocumented return code if the data could not be sorted? Edward -Original Message- From: owner-u2-us...@listserver.u2ug.org [mailto:owner-u2-us...@listserver.u2ug.org] On Behalf Of Dave Laansma Sent: 03 February 2009 16:56 To: u2-users@listserver.u2ug.org Subject: RE: [U2] unibasic's sort function I am not sure about the SORT, but I would suggest simply: LIST = KEY = LIST-1 = KEY David Laansma IT Manager Hubbard Supply Co. Direct: 810-342-7143 Office:810-234-8681 Fax: 810-234-6142 www.hubbardsupply.com Delivering Products, Services, and Innovative Solutions -Original Message- From: owner-u2-us...@listserver.u2ug.org [mailto:owner-u2-us...@listserver.u2ug.org] On Behalf Of Greg Schraiber Sent: Tuesday, February 03, 2009 11:30 AM To: u2-users@listserver.u2ug.org Subject: [U2] unibasic's sort function I have a dynamic array built like this: LIST = KEY = CONDES.DESIGNATION : * : CONTRIB.DONOR.DATE : * : ID.NO IF LEN(LIST) = 0 THEN LIST = KEY END ELSE LIST := @AM : KEY END When I do: LIST = SORT(LIST) in Unibasic, compil and run it, it returns LIST=0 Can anyone tell me what I am doing wrong? Thanks for your help! Greg Schraiber Beloit College --- u2-users mailing list u2-users@listserver.u2ug.org To unsubscribe please visit http://listserver.u2ug.org/ --- u2-users mailing list u2-users@listserver.u2ug.org To unsubscribe please visit http://listserver.u2ug.org/ --- Please remember to recycle wherever possible. Reduce, reuse, recycle, think do you need to print this e-mail? --- This e-mail and any attachment(s), is confidential and may be legally privileged. It is intended solely for the addressee. If you are not the addressee, dissemination, copying or use of this e-mail or any of its content is prohibited and may be unlawful. If you are not the intended recipient please inform the sender immediately and destroy the e-mail, any attachment(s) and any copies. All liability for viruses is excluded to the fullest extent permitted by law. It is your responsibility to scan or otherwise check this email and any attachment(s). Unless otherwise stated (i) views expressed in this message are those of the individual sender (ii) no contract may be construed by this e-mail. Emails may be monitored and you are taken to consent to this monitoring. Civica Services Limited, Company No. 02374268; Civica UK Limited, Company No. 01628868 Both companies are registered in England and Wales and each has its registered office at 2 Burston Road, Putney, London, SW15 6AR. --- --- u2-users mailing list u2-users@listserver.u2ug.org To unsubscribe please visit http://listserver.u2ug.org/
Re: [U2] converting universe files between aix/linux
Hi Doug, The tool you are looking for is format.conv and it runs from the Linux command line. You can find it documented in the UniVerse System Administation manual. Martin Phillips Ladybridge Systems Ltd 17b Coldstream Lane, Hardingstone, Northampton, NN4 6DB +44-(0)1604-709200 --- u2-users mailing list u2-users@listserver.u2ug.org To unsubscribe please visit http://listserver.u2ug.org/
RE: [U2] unibasic's sort function
On my ancient version of UD (5.2) I need to code it using a throw away; JUNK = SORT(LIST) Bruce Bruce M Neylon Health Care Management Group Phone: (301) 608-8633 Edward Brown ebr...@civica.co.uk Sent by: owner-u2-us...@listserver.u2ug.org 02/03/2009 12:14 PM Please respond to u2-users@listserver.u2ug.org To u2-users@listserver.u2ug.org cc Subject RE: [U2] unibasic's sort function The SORT function (which I'm embarrassed to say I didn't think existed, and I've been coding unibasic for the last 8 or 9 years!) sorts the data passed into it; there isn't a return value. So SORT(LIST) CRT LIST does work. Your original program sets LIST to 0 because LIST is set to the return result of the sort statement - perhaps this should throw a compiler error? Or perhaps there's an undocumented return code if the data could not be sorted? Edward --- u2-users mailing list u2-users@listserver.u2ug.org To unsubscribe please visit http://listserver.u2ug.org/
[U2] [UV] Where have all the printers gone?
Universe 10.2.4 In the process of setting up a new printer I've noticed that most of my printers have no entry in DEVICE. Where is UV storing them these days? -- Jeff Schasny - Denver, Co, USA jschasny at gmail dot com /Come To The Dark Side, We Have Cookies./ --- u2-users mailing list u2-users@listserver.u2ug.org To unsubscribe please visit http://listserver.u2ug.org/
RE: [U2] unibasic's sort function
I didn't think it existed either, that's pretty darned cool. I looked for it in the BASIC.HELP file, and it isn't there. Is it a UniData thing? Karen Bessel Software Developer Tyler Technologies, Inc. 6500 International Parkway, Suite 2000 Plano, TX 75093 Phone: 972.713.3770 ext:6227 Fax: 972.713.3777 Email: karen.bes...@tylertech.com Web: http://www.tylertech.com -Original Message- From: owner-u2-us...@listserver.u2ug.org [mailto:owner-u2-us...@listserver.u2ug.org] On Behalf Of Edward Brown Sent: Tuesday, February 03, 2009 11:15 AM To: u2-users@listserver.u2ug.org Subject: RE: [U2] unibasic's sort function The SORT function (which I'm embarrassed to say I didn't think existed, and I've been coding unibasic for the last 8 or 9 years!) sorts the data passed into it; there isn't a return value. So SORT(LIST) CRT LIST does work. Your original program sets LIST to 0 because LIST is set to the return result of the sort statement - perhaps this should throw a compiler error? Or perhaps there's an undocumented return code if the data could not be sorted? Edward -Original Message- From: owner-u2-us...@listserver.u2ug.org [mailto:owner-u2-us...@listserver.u2ug.org] On Behalf Of Dave Laansma Sent: 03 February 2009 16:56 To: u2-users@listserver.u2ug.org Subject: RE: [U2] unibasic's sort function I am not sure about the SORT, but I would suggest simply: LIST = KEY = LIST-1 = KEY David Laansma IT Manager Hubbard Supply Co. Direct: 810-342-7143 Office:810-234-8681 Fax: 810-234-6142 www.hubbardsupply.com Delivering Products, Services, and Innovative Solutions -Original Message- From: owner-u2-us...@listserver.u2ug.org [mailto:owner-u2-us...@listserver.u2ug.org] On Behalf Of Greg Schraiber Sent: Tuesday, February 03, 2009 11:30 AM To: u2-users@listserver.u2ug.org Subject: [U2] unibasic's sort function I have a dynamic array built like this: LIST = KEY = CONDES.DESIGNATION : * : CONTRIB.DONOR.DATE : * : ID.NO IF LEN(LIST) = 0 THEN LIST = KEY END ELSE LIST := @AM : KEY END When I do: LIST = SORT(LIST) in Unibasic, compil and run it, it returns LIST=0 Can anyone tell me what I am doing wrong? Thanks for your help! Greg Schraiber Beloit College --- u2-users mailing list u2-users@listserver.u2ug.org To unsubscribe please visit http://listserver.u2ug.org/ --- u2-users mailing list u2-users@listserver.u2ug.org To unsubscribe please visit http://listserver.u2ug.org/ --- Please remember to recycle wherever possible. Reduce, reuse, recycle, think do you need to print this e-mail? --- This e-mail and any attachment(s), is confidential and may be legally privileged. It is intended solely for the addressee. If you are not the addressee, dissemination, copying or use of this e-mail or any of its content is prohibited and may be unlawful. If you are not the intended recipient please inform the sender immediately and destroy the e-mail, any attachment(s) and any copies. All liability for viruses is excluded to the fullest extent permitted by law. It is your responsibility to scan or otherwise check this email and any attachment(s). Unless otherwise stated (i) views expressed in this message are those of the individual sender (ii) no contract may be construed by this e-mail. Emails may be monitored and you are taken to consent to this monitoring. Civica Services Limited, Company No. 02374268; Civica UK Limited, Company No. 01628868 Both companies are registered in England and Wales and each has its registered office at 2 Burston Road, Putney, London, SW15 6AR. --- --- u2-users mailing list u2-users@listserver.u2ug.org To unsubscribe please visit http://listserver.u2ug.org/ --- u2-users mailing list u2-users@listserver.u2ug.org To unsubscribe please visit http://listserver.u2ug.org/
RE: [U2] unibasic's sort function
LIST := @AM : KEY Could changing to this LIST:= (@AM:KEY) help? George From: owner-u2-us...@listserver.u2ug.org [mailto:owner-u2-us...@listserver.u2ug.org] On Behalf Of Greg Schraiber Sent: Tuesday, February 03, 2009 11:30 AM To: u2-users@listserver.u2ug.org Subject: [U2] unibasic's sort function I have a dynamic array built like this: LIST = KEY = CONDES.DESIGNATION : * : CONTRIB.DONOR.DATE : * : ID.NO IF LEN(LIST) = 0 THEN LIST = KEY END ELSE LIST := @AM : KEY END When I do: LIST = SORT(LIST) in Unibasic, compil and run it, it returns LIST=0 Can anyone tell me what I am doing wrong? Thanks for your help! Greg Schraiber Beloit College --- u2-users mailing list u2-users@listserver.u2ug.org To unsubscribe please visit http://listserver.u2ug.org/ --- u2-users mailing list u2-users@listserver.u2ug.org To unsubscribe please visit http://listserver.u2ug.org/ --- u2-users mailing list u2-users@listserver.u2ug.org To unsubscribe please visit http://listserver.u2ug.org/
RE: [U2] unibasic's sort function
It wasn't on the R91 / R95 systems we used to code on here, but it's definitely on Unidata 7.1 and based on an earlier reply, going back at least as far as version 5.2. FWIW, SORT is documented in BASR.PDF - part of the standard docs that come with unidata. Bit more info there regarding which delimiter is used when deciding what to sort, and one caveat - it treats all data as left aligned strings, so numeric sorting is out - unless the data is prepared just-so - perhaps by preceded the SORT with something like LIST = OCONVS(LIST,MR#10) - where the number is at least the length of the longest possible key. Edward -Original Message- From: owner-u2-us...@listserver.u2ug.org [mailto:owner-u2-us...@listserver.u2ug.org] On Behalf Of Bessel, Karen Sent: 03 February 2009 18:03 To: u2-users@listserver.u2ug.org Subject: RE: [U2] unibasic's sort function I didn't think it existed either, that's pretty darned cool. I looked for it in the BASIC.HELP file, and it isn't there. Is it a UniData thing? Karen Bessel Software Developer Tyler Technologies, Inc. 6500 International Parkway, Suite 2000 Plano, TX 75093 Phone: 972.713.3770 ext:6227 Fax: 972.713.3777 Email: karen.bes...@tylertech.com Web: http://www.tylertech.com -Original Message- From: owner-u2-us...@listserver.u2ug.org [mailto:owner-u2-us...@listserver.u2ug.org] On Behalf Of Edward Brown Sent: Tuesday, February 03, 2009 11:15 AM To: u2-users@listserver.u2ug.org Subject: RE: [U2] unibasic's sort function The SORT function (which I'm embarrassed to say I didn't think existed, and I've been coding unibasic for the last 8 or 9 years!) sorts the data passed into it; there isn't a return value. So SORT(LIST) CRT LIST does work. Your original program sets LIST to 0 because LIST is set to the return result of the sort statement - perhaps this should throw a compiler error? Or perhaps there's an undocumented return code if the data could not be sorted? Edward -Original Message- From: owner-u2-us...@listserver.u2ug.org [mailto:owner-u2-us...@listserver.u2ug.org] On Behalf Of Dave Laansma Sent: 03 February 2009 16:56 To: u2-users@listserver.u2ug.org Subject: RE: [U2] unibasic's sort function I am not sure about the SORT, but I would suggest simply: LIST = KEY = LIST-1 = KEY David Laansma IT Manager Hubbard Supply Co. Direct: 810-342-7143 Office:810-234-8681 Fax: 810-234-6142 www.hubbardsupply.com Delivering Products, Services, and Innovative Solutions -Original Message- From: owner-u2-us...@listserver.u2ug.org [mailto:owner-u2-us...@listserver.u2ug.org] On Behalf Of Greg Schraiber Sent: Tuesday, February 03, 2009 11:30 AM To: u2-users@listserver.u2ug.org Subject: [U2] unibasic's sort function I have a dynamic array built like this: LIST = KEY = CONDES.DESIGNATION : * : CONTRIB.DONOR.DATE : * : ID.NO IF LEN(LIST) = 0 THEN LIST = KEY END ELSE LIST := @AM : KEY END When I do: LIST = SORT(LIST) in Unibasic, compil and run it, it returns LIST=0 Can anyone tell me what I am doing wrong? Thanks for your help! Greg Schraiber Beloit College --- u2-users mailing list u2-users@listserver.u2ug.org To unsubscribe please visit http://listserver.u2ug.org/ --- u2-users mailing list u2-users@listserver.u2ug.org To unsubscribe please visit http://listserver.u2ug.org/ --- Please remember to recycle wherever possible. Reduce, reuse, recycle, think do you need to print this e-mail? --- This e-mail and any attachment(s), is confidential and may be legally privileged. It is intended solely for the addressee. If you are not the addressee, dissemination, copying or use of this e-mail or any of its content is prohibited and may be unlawful. If you are not the intended recipient please inform the sender immediately and destroy the e-mail, any attachment(s) and any copies. All liability for viruses is excluded to the fullest extent permitted by law. It is your responsibility to scan or otherwise check this email and any attachment(s). Unless otherwise stated (i) views expressed in this message are those of the individual sender (ii) no contract may be construed by this e-mail. Emails may be monitored and you are taken to consent to this monitoring. Civica Services Limited, Company No. 02374268; Civica UK Limited, Company No. 01628868 Both companies are registered in England and Wales and each has its registered office at 2 Burston Road, Putney, London, SW15 6AR. --- --- u2-users mailing list u2-users@listserver.u2ug.org To unsubscribe please visit http://listserver.u2ug.org/ --- u2-users mailing list u2-users@listserver.u2ug.org To unsubscribe please visit http://listserver.u2ug.org/ --- u2-users mailing list
RE: [U2] unibasic's sort function
It is in the Unidata Unibasic Reference Manual. However there was quite a lengthy discussion on sorting in general a few months ago or so. Look through the archives. David Laansma IT Manager Hubbard Supply Co. Direct: 810-342-7143 Office:810-234-8681 Fax: 810-234-6142 www.hubbardsupply.com Delivering Products, Services, and Innovative Solutions -Original Message- From: owner-u2-us...@listserver.u2ug.org [mailto:owner-u2-us...@listserver.u2ug.org] On Behalf Of Bessel, Karen Sent: Tuesday, February 03, 2009 1:03 PM To: u2-users@listserver.u2ug.org Subject: RE: [U2] unibasic's sort function I didn't think it existed either, that's pretty darned cool. I looked for it in the BASIC.HELP file, and it isn't there. Is it a UniData thing? Karen Bessel Software Developer Tyler Technologies, Inc. 6500 International Parkway, Suite 2000 Plano, TX 75093 Phone: 972.713.3770 ext:6227 Fax: 972.713.3777 Email: karen.bes...@tylertech.com Web: http://www.tylertech.com -Original Message- From: owner-u2-us...@listserver.u2ug.org [mailto:owner-u2-us...@listserver.u2ug.org] On Behalf Of Edward Brown Sent: Tuesday, February 03, 2009 11:15 AM To: u2-users@listserver.u2ug.org Subject: RE: [U2] unibasic's sort function The SORT function (which I'm embarrassed to say I didn't think existed, and I've been coding unibasic for the last 8 or 9 years!) sorts the data passed into it; there isn't a return value. So SORT(LIST) CRT LIST does work. Your original program sets LIST to 0 because LIST is set to the return result of the sort statement - perhaps this should throw a compiler error? Or perhaps there's an undocumented return code if the data could not be sorted? Edward -Original Message- From: owner-u2-us...@listserver.u2ug.org [mailto:owner-u2-us...@listserver.u2ug.org] On Behalf Of Dave Laansma Sent: 03 February 2009 16:56 To: u2-users@listserver.u2ug.org Subject: RE: [U2] unibasic's sort function I am not sure about the SORT, but I would suggest simply: LIST = KEY = LIST-1 = KEY David Laansma IT Manager Hubbard Supply Co. Direct: 810-342-7143 Office:810-234-8681 Fax: 810-234-6142 www.hubbardsupply.com Delivering Products, Services, and Innovative Solutions -Original Message- From: owner-u2-us...@listserver.u2ug.org [mailto:owner-u2-us...@listserver.u2ug.org] On Behalf Of Greg Schraiber Sent: Tuesday, February 03, 2009 11:30 AM To: u2-users@listserver.u2ug.org Subject: [U2] unibasic's sort function I have a dynamic array built like this: LIST = KEY = CONDES.DESIGNATION : * : CONTRIB.DONOR.DATE : * : ID.NO IF LEN(LIST) = 0 THEN LIST = KEY END ELSE LIST := @AM : KEY END When I do: LIST = SORT(LIST) in Unibasic, compil and run it, it returns LIST=0 Can anyone tell me what I am doing wrong? Thanks for your help! Greg Schraiber Beloit College --- u2-users mailing list u2-users@listserver.u2ug.org To unsubscribe please visit http://listserver.u2ug.org/ --- u2-users mailing list u2-users@listserver.u2ug.org To unsubscribe please visit http://listserver.u2ug.org/ --- Please remember to recycle wherever possible. Reduce, reuse, recycle, think do you need to print this e-mail? --- This e-mail and any attachment(s), is confidential and may be legally privileged. It is intended solely for the addressee. If you are not the addressee, dissemination, copying or use of this e-mail or any of its content is prohibited and may be unlawful. If you are not the intended recipient please inform the sender immediately and destroy the e-mail, any attachment(s) and any copies. All liability for viruses is excluded to the fullest extent permitted by law. It is your responsibility to scan or otherwise check this email and any attachment(s). Unless otherwise stated (i) views expressed in this message are those of the individual sender (ii) no contract may be construed by this e-mail. Emails may be monitored and you are taken to consent to this monitoring. Civica Services Limited, Company No. 02374268; Civica UK Limited, Company No. 01628868 Both companies are registered in England and Wales and each has its registered office at 2 Burston Road, Putney, London, SW15 6AR. --- --- u2-users mailing list u2-users@listserver.u2ug.org To unsubscribe please visit http://listserver.u2ug.org/ --- u2-users mailing list u2-users@listserver.u2ug.org To unsubscribe please visit http://listserver.u2ug.org/ --- u2-users mailing list u2-users@listserver.u2ug.org To unsubscribe please visit http://listserver.u2ug.org/
RE: [U2] [UV] Where have all the printers gone?
Jeff, I think most of the stuff is in uvspool/sp.config (at least on the Unix side). I always edited this file directly, and never added anything to DEVICE. Drew -Original Message- From: owner-u2-us...@listserver.u2ug.org [mailto:owner-u2-us...@listserver.u2ug.org] On Behalf Of Jeff Schasny Sent: Tuesday, February 03, 2009 12:55 PM To: u2-users@listserver.u2ug.org Subject: [U2] [UV] Where have all the printers gone? Universe 10.2.4 In the process of setting up a new printer I've noticed that most of my printers have no entry in DEVICE. Where is UV storing them these days? -- Jeff Schasny - Denver, Co, USA jschasny at gmail dot com /Come To The Dark Side, We Have Cookies./ --- u2-users mailing list u2-users@listserver.u2ug.org To unsubscribe please visit http://listserver.u2ug.org/ --- u2-users mailing list u2-users@listserver.u2ug.org To unsubscribe please visit http://listserver.u2ug.org/
RE: [U2] unibasic's sort function
I always use the LOCATE and INSert commands. --Bill -Original Message- From: owner-u2-us...@listserver.u2ug.org [mailto:owner-u2-us...@listserver.u2ug.org] On Behalf Of Greg Schraiber Sent: Tuesday, February 03, 2009 11:30 AM To: u2-users@listserver.u2ug.org Subject: [U2] unibasic's sort function I have a dynamic array built like this: LIST = KEY = CONDES.DESIGNATION : * : CONTRIB.DONOR.DATE : * : ID.NO IF LEN(LIST) = 0 THEN LIST = KEY END ELSE LIST := @AM : KEY END When I do: LIST = SORT(LIST) in Unibasic, compil and run it, it returns LIST=0 Can anyone tell me what I am doing wrong? Thanks for your help! Greg Schraiber Beloit College --- u2-users mailing list u2-users@listserver.u2ug.org To unsubscribe please visit http://listserver.u2ug.org/ --- u2-users mailing list u2-users@listserver.u2ug.org To unsubscribe please visit http://listserver.u2ug.org/
Re: [U2] RE: UV - Error when using WHEN [not-secure]
Yes, WHEN can be frustrating. 1st, make sure the multi-valued associated fields are properly defned with M's in field 6, association name in field 7 and, for good measure, create a phrase with said association name as the id of the phrase, and all the associated fields listed in 2. Then add a BY.EXP to the SORT(or other RetrieVe statement) statement, even if you don't care about the sort on the values, sub-values. Just piuck a field to sort by. If you really care about sorting by @IDs do that explicitly as the primary sort, the by.exp sort secondary: LIST OC34UD.WORK.SP16504BY @ID BY.EXP OC34UD.01_ OC34UD.01 OC34UD.02 OC34UD.03 OC34UD.04 OC34UD.06 OC34 I was really looking forward to that package. cds --- u2-users mailing list u2-users@listserver.u2ug.org To unsubscribe please visit http://listserver.u2ug.org/
Re: [U2] [UV] Where have all the printers gone?
Jeff, are you on Windows? or *NIX? Windows does not use the DEVICE file. Norm On Tue, Feb 3, 2009 at 12:54 PM, Jeff Schasny jscha...@gmail.com wrote: Universe 10.2.4 In the process of setting up a new printer I've noticed that most of my printers have no entry in DEVICE. Where is UV storing them these days? -- Jeff Schasny - Denver, Co, USA jschasny at gmail dot com /Come To The Dark Side, We Have Cookies./ --- u2-users mailing list u2-users@listserver.u2ug.org To unsubscribe please visit http://listserver.u2ug.org/ --- u2-users mailing list u2-users@listserver.u2ug.org To unsubscribe please visit http://listserver.u2ug.org/
RE: [U2] RE: UV - Error when using WHEN [not-secure]
Isn't the ...4A... evaluating to the match string and not the literal? That means it will match anything with 4 alphanumeric chars??? Hth Colin Alfke Calgary, Canada -Original Message- From: Charles Stevenson Yes, WHEN can be frustrating. 1st, make sure the multi-valued associated fields are properly defned with M's in field 6, association name in field 7 and, for good measure, create a phrase with said association name as the id of the phrase, and all the associated fields listed in 2. Then add a BY.EXP to the SORT(or other RetrieVe statement) statement, even if you don't care about the sort on the values, sub-values. Just piuck a field to sort by. If you really care about sorting by @IDs do that explicitly as the primary sort, the by.exp sort secondary: LIST OC34UD.WORK.SP16504BY @ID BY.EXP OC34UD.01_ OC34UD.01 OC34UD.02 OC34UD.03 OC34UD.04 OC34UD.06 OC34 I was really looking forward to that package. cds --- u2-users mailing list u2-users@listserver.u2ug.org To unsubscribe please visit http://listserver.u2ug.org/ --- u2-users mailing list u2-users@listserver.u2ug.org To unsubscribe please visit http://listserver.u2ug.org/
RE: [U2] RE: UV - Error when using WHEN [not-secure]
Remember 4A is a valid match qualifier, to look for 4 alphabetic characters. I experience this sort of behavior and had a real challenge to force it to find the values for which I was looking. Subject: [U2] RE: UV - Error when using WHEN [not-secure] Date: Tue, 3 Feb 2009 16:03:00 -0500 From: mark.hennes...@ct.gov To: u2-users@listserver.u2ug.org Apologies - no one has gotten a package from me... important or otherwise! Apparently something in my e-mail triggered our security appliance to lock the message. Sorry! From: Hennessey, Mark F. Sent: Tuesday, February 03, 2009 3:59 PM To: u2-users@listserver.u2ug.org Subject: UV - Error when using WHEN Solaris 10, UV 10.2.2, Information flavor. We are seeing some very odd behavior when trying to use SORT / WHEN on a multi-subvalued field. And by odd behavior I mean totally incorrect output... File Type: Dynamic File Makeup: The file contains associated multivalues and subvalues. Issue: When using the when clause with subvalued Field 7 like '...4a... (DISB LINE column), the only records displayed have PDSB in field 7 no records with 4A are displayed. Here's part of what an unconditional SORT looks like... Notice that OC34.UD.07 (DISB LINE) has values like 'PDSB', 4A. etc. SORT OC34UD.WORK.SP16504 OC34UD.01 OC34UD.02 OC34UD.03 OC34UD.04 OC34UD.06 OC34 UD.07 09:27:25 02-03-09 PAGE 1 LINE. PYEAMT ADD.RPTD.AMT SUB. DISB OC34UD.KEYCDSTO 2a-2h2a-2hLN 2a-2hAMT DISB LINE 14464*19030799*27 10.81REP 10.81 10.81 PDSB 14683*20382253*13 509.00VRC509.00 509.00 PDSB 14811*21191410*115.00VRC 5.005.00 PDSB 14840*21417980*1 22 21.00REP 21.00 21.00 PDSB 14859*21512820*11 142.04VRC142.04 142.04 PDSB 14863*21553328*11 20.00VRC 20.00 20.00 PDSB 14865*700369*1 1 900.00VRC900.00 900.00 PDSB 14869*21548157*17 76.14VRC 76.14 76.14 PDSB 14871*21578431*173.89VRC 3.893.89 PDSB 14877*21601594*17 76.14VRC 76.14 76.14 PDSB 14879*21653295*21 61.002E 61.00 4A 14879*21654502*11 78.002E 26.00 7dF 52.00 4A 14879*21654965*11 232.002E 232.00 4A 14884*21649378*11 379.172E 379.17 4A 14886*21700617*11 432.002E 432.00 4A Now when we try to limit output to just 4A: SORT OC34UD.WORK.SP16504 WHEN OC34UD.07 LIKE ...4A... OC34UD.01 OC34UD.02 OC3 4UD.03 OC34UD.04 OC34UD.05 OC34UD.06 OC34UD.07 09:58:32 02-03-09 PAGE 1 LINE.LINE. PYE AMT ADD. RPTD. AMT SUB. SUBTD DISB OC34UD.KEY CDS TO 2a-2h 2a-2h LN 2a-2h 2a-2h AMT DISB LINE 14464*19030799*2 7 10.81 REP 10.81 2F10.81 PDSB 14683*20382253*1 3509.00 VRC 509.00 2B 509.00 PDSB 14811*21191410*1 1 5.00 VRC5.00 2H 5.00 PDSB 14840*21417980*1 22 21.00 REP 21.00 2C21.00 PDSB 14859*21512820*1 1142.04 VRC 142.04 2F 142.04 PDSB Any ideas/thoughts are welcome... Thanks! Mark --- u2-users mailing list u2-users@listserver.u2ug.org To unsubscribe please visit http://listserver.u2ug.org/ _ Windows Live Hotmail.:more than just e-mail. http://windowslive.com/explore?ocid=TXT_TAGLM_WL_t2_hm_justgotbetter_explore_ 012009 --- u2-users mailing list u2-users@listserver.u2ug.org To unsubscribe please visit http://listserver.u2ug.org/
RE: [U2] RE: UV - Error when using WHEN [not-secure]
Aw shucks, LIST I_Love_it WHEN I.Get.Packages ;-) -Original Message- From: owner-u2-us...@listserver.u2ug.org [mailto:owner-u2-us...@listserver.u2ug.org]on Behalf Of Hennessey, Mark F. Sent: Tuesday, February 03, 2009 1:03 PM To: u2-users@listserver.u2ug.org Subject: [U2] RE: UV - Error when using WHEN [not-secure] Apologies - no one has gotten a package from me... important or otherwise! Apparently something in my e-mail triggered our security appliance to lock the message. Sorry! From: Hennessey, Mark F. Sent: Tuesday, February 03, 2009 3:59 PM To: u2-users@listserver.u2ug.org Subject: UV - Error when using WHEN Solaris 10, UV 10.2.2, Information flavor. We are seeing some very odd behavior when trying to use SORT / WHEN on a multi-subvalued field. And by odd behavior I mean totally incorrect output... File Type: Dynamic File Makeup: The file contains associated multivalues and subvalues. Issue: When using the when clause with subvalued Field 7 like '...4a... (DISB LINE column), the only records displayed have PDSB in field 7 no records with 4A are displayed. Here's part of what an unconditional SORT looks like... Notice that OC34.UD.07 (DISB LINE) has values like 'PDSB', 4A. etc. SORT OC34UD.WORK.SP16504 OC34UD.01 OC34UD.02 OC34UD.03 OC34UD.04 OC34UD.06 OC34 UD.07 09:27:25 02-03-09 PAGE 1 LINE. PYEAMT ADD.RPTD.AMT SUB. DISB OC34UD.KEYCDSTO 2a-2h2a-2hLN 2a-2hAMT DISB LINE 14464*19030799*27 10.81REP 10.81 10.81 PDSB 14683*20382253*13 509.00VRC509.00 509.00 PDSB 14811*21191410*115.00VRC 5.005.00 PDSB 14840*21417980*1 22 21.00REP 21.00 21.00 PDSB 14859*21512820*11 142.04VRC142.04 142.04 PDSB 14863*21553328*11 20.00VRC 20.00 20.00 PDSB 14865*700369*1 1 900.00VRC900.00 900.00 PDSB 14869*21548157*17 76.14VRC 76.14 76.14 PDSB 14871*21578431*173.89VRC 3.893.89 PDSB 14877*21601594*17 76.14VRC 76.14 76.14 PDSB 14879*21653295*21 61.002E 61.00 4A 14879*21654502*11 78.002E 26.00 7dF 52.00 4A 14879*21654965*11 232.002E 232.00 4A 14884*21649378*11 379.172E 379.17 4A 14886*21700617*11 432.002E 432.00 4A Now when we try to limit output to just 4A: SORT OC34UD.WORK.SP16504 WHEN OC34UD.07 LIKE ...4A... OC34UD.01 OC34UD.02 OC3 4UD.03 OC34UD.04 OC34UD.05 OC34UD.06 OC34UD.07 09:58:32 02-03-09 PAGE 1 LINE.LINE. PYE AMT ADD. RPTD. AMT SUB. SUBTD DISB OC34UD.KEY CDS TO 2a-2h 2a-2h LN 2a-2h 2a-2h AMT DISB LINE 14464*19030799*2 7 10.81 REP 10.81 2F10.81 PDSB 14683*20382253*1 3509.00 VRC 509.00 2B 509.00 PDSB 14811*21191410*1 1 5.00 VRC5.00 2H 5.00 PDSB 14840*21417980*1 22 21.00 REP 21.00 2C21.00 PDSB 14859*21512820*1 1142.04 VRC 142.04 2F 142.04 PDSB Any ideas/thoughts are welcome... Thanks! Mark --- u2-users mailing list u2-users@listserver.u2ug.org To unsubscribe please visit http://listserver.u2ug.org/ --- u2-users mailing list u2-users@listserver.u2ug.org To unsubscribe please visit http://listserver.u2ug.org/