RE: [U2] LISTB (tab delimited output)

2006-07-27 Thread Stuart . Boydell
bLIST b& TOXMLb generates XML that works pretty well with current versions of Excel (XP/2003). Stuart > I have used ListB verb on Unidata (manage 2000) I have > created a ListB verb on D3 (by adding a switch to the list > verb) Is this feature on UniVerse? > > What it forms is output that is tab

[U2] Record Deletion in Universe (on behalf of Greg Ritchie)

2006-07-27 Thread Jeff Marcos
Hi Does anyone know of any means of determining precisely when a record deletion is in progress at universe level (returning information similar to the STATUS function)? We have a file where an index is used for data field validation and it is picking up some but not all fields as failing val

Re: SpamSlayer Alert: [U2] Reading Binary data from a file...

2006-07-27 Thread Craig Bennett
George it does require ASSIGN 1 TO SYSTEM(1017) or UV will convert any CHAR(10) or CHAR(13):CHAR(10) sequence to CHAR(254) on a read and the reverse on a write. George Gallen wrote: never mindIt didn't require anything special. I didn't think I could "read" binary into a varible if it had

Re: [U2] Reading Binary data from a file...

2006-07-27 Thread Craig Bennett
George, use OPENSEQ and READBLK to read the raw data without conversion then use BYTEVAL (not SEQ as this may be affected by NLS) to determine the ASCII character/byte value. Alternatively if you have memory to spare: OPEN "TYPE19FILE" TO FT ELSE STOP ASSIGN 1 TO SYSTEM(1017) ;* Disable UV au

[U2] Promo for new blog entry

2006-07-27 Thread Dawn Wolthuis
If you get a chance, you might enjoy (perhaps that is overstating it) reading my latest blog entry entitled "To Whom Should Size Matter?" at http://www.tincat-group.com/mewsings After putting energy into such writings, it is nice to hear from others. Do you agree, disagree, think I'm an idiot (n

Re: [U2] Reading Binary data from a file...

2006-07-27 Thread George Gallen
John, Thanks. I didn't realize UV would work with binary 255 never really tried before George > -Original Message- > From: [EMAIL PROTECTED] > [mailto:[EMAIL PROTECTED] Behalf Of john reid > Sent: Thursday, July 27, 2006 4:06 PM > To: u2-users@listserver.u2ug.org > Subject: Re: [U2] Read

re: [U2] active directory & Univ=Verse

2006-07-27 Thread Kevin Sproule
>Date: Thu, 27 Jul 2006 18:04:03 GMT >From: "Dave R" <[EMAIL PROTECTED]> >Subject: [U2] active directory & Univ=Verse > >I am planning switch my UniVerse (9.4.1) Server to "Active Directory" on >win >2003 server. >What kind of problems am I likely to encounter. >Thanks > > >D Raven >[EMAIL PROTEC

RE: SpamSlayer Alert: [U2] Reading Binary data from a file...

2006-07-27 Thread George Gallen
never mindIt didn't require anything special. I didn't think I could "read" binary into a varible if it had a CHAR(255) but apparantly I could. I setup a VOC entry for /tmp and then did a READ XDATA FROM F.TMP,"file.jpg" ELSE STOP and XDATA contained the entire image... George > -Orig

Re: [U2] Reading Binary data from a file...

2006-07-27 Thread john reid
This has always confused me. This is the some output of the program shown. Is that correct, or am I completely missing the barge? At the risk of a rule violation, I am attaching the picture. Please forgive. FLD:2 0 33 76 101 119 105 115 47 32 77 99 77 117 114 114 121 47 87 105 108 108 109 97 110

RE: [U2] lock records

2006-07-27 Thread John Jenkins
Not in BASIC batch routines... JayJay -Original Message- From: [EMAIL PROTECTED] [mailto:[EMAIL PROTECTED] On Behalf Of Ray Wurlod Sent: 27 July 2006 03:39 To: u2-users@listserver.u2ug.org Subject: RE: [U2] lock records Can you not simply change the BlockingStrategy property of the sessi

RE: [U2] Reading Binary data from a file...

2006-07-27 Thread David A. Green
In UD you would use: OSOPEN OSBREAD NOCONVERT Thanks, David A. Green DAG Consulting -Original Message- From: [EMAIL PROTECTED] [mailto:[EMAIL PROTECTED] On Behalf Of George Gallen Sent: Thursday, July 27, 2006 11:16 AM To: u2-users@listserver.u2ug.org Subject: [U2] Reading Binary data f

RE: [U2] active directory & Univ=Verse

2006-07-27 Thread Paul Hamrick
Migrating to Windows 2003 Server (AD) 1. IBM U2 Availability matrix shows Windows 2003 (SP1) not supported until UniVerse release 10.1.11, then there is 10.1.18 which the latest to date. So a upgrade of 9.4 to at least 10.1.11 on the UniVerse should be part of migration plan. 2. On a Windows 2003

RE: [U2] [UV] Read Error, Improper Data Type

2006-07-27 Thread Brutzman, Bill
Is this UniDeBugger? -Original Message- From: [EMAIL PROTECTED] [mailto:[EMAIL PROTECTED] Behalf Of john reid Sent: Thursday, July 27, 2006 1:45 PM To: u2-users@listserver.u2ug.org Subject: Re: [U2] [UV] Read Error, Improper Data Type btw, why would you want to go back to the repeat when

RE: [U2] [UV] Read Error, Improper Data Type

2006-07-27 Thread Brutzman, Bill
Peter: This was it...thanks for nailing it. --Bill -Original Message- From: [EMAIL PROTECTED] [mailto:[EMAIL PROTECTED] Behalf Of Peter Veenhof Sent: Thursday, July 27, 2006 2:01 PM To: u2-users@listserver.u2ug.org Subject: RE: [U2] [UV] Read Error, Improper Data Type Hi Bill, You are

RE: [U2] [UV] Read Error, Improper Data Type

2006-07-27 Thread Brutzman, Bill
Thanks Dianne. The "clear" statement was removed and it worked. I am embarrassed and grateful... --Bill -Original Message- From: [EMAIL PROTECTED] [mailto:[EMAIL PROTECTED] Behalf Of Dianne Ackerman Sent: Thursday, July 27, 2006 2:16 PM To: u2-users@listserver.u2ug.org Subject: Re: [U2

RE: [U2] LISTB (tab delimited output)

2006-07-27 Thread Jeff Flynt
Can't you just use the LIST command to do this in Unidata already? If you make sure UDT.OPTIONS 91 is one so that the output to an ASCII file is in OCONV format instead of ICONV, i.e., the conversion codes are forced to execute before saving to an ASCII file. For example: UDT.OPTIONS 91 ON LIST PE

RE: [U2] [UV] Read Error, Improper Data Type

2006-07-27 Thread Jerry Banker
I spotted at least 2 errors in your program. One is the locate where you are locating on the first field but inserting into fields. It should be: locate Part in Part.Arrayby 'AL' setting posn else null insPart before Part.Array If you want to insert into a field array and lo

Re: [U2] [UV] Read Error, Improper Data Type

2006-07-27 Thread Dianne Ackerman
I think it's the clear statement being after the open file statement! So F.item is no longer assigned. -Dianne Brutzman, Bill wrote: >I am having a problem with a straightforward read statement that is driving >me crazy... > >Suggestions would be appreciated. > >--Bill > > ____ > \_

RE: [U2] [UV] Read Error, Improper Data Type

2006-07-27 Thread Brutzman, Bill
Good idea... I banged this in... open 'IPL' to F.Item then crt ' opened ok ' ; sleep end else crt ' not opening ' ; sleep end It opens ok. --Bill -Original Message- From: [EMAIL PROTECTED] [mailto:[EMAIL PROTECTED] Behalf Of

[U2] Reading Binary data from a file...

2006-07-27 Thread George Gallen
I want to write a little routine that will display the ascii codes of a binary file. (aside from running it through base64 first...) Is there a way to open the file and read it is in block by block, and be able to show the SEQ() #'s? I suspect there may be numerous CHAR(255) and CHAR(254)'s. No,

[U2] active directory & Univ=Verse

2006-07-27 Thread Dave R
I am planning switch my UniVerse (9.4.1) Server to "Active Directory" on win 2003 server. What kind of problems am I likely to encounter. Thanks D Raven [EMAIL PROTECTED] cell (949)2282224 e Fax (815)4259364 P.O. Box 17811, Irvine CA 92623-7811 --- u2-users mailing list u2-users@listserver.u

RE: [U2] [UV] Read Error, Improper Data Type

2006-07-27 Thread Brutzman, Bill
I changed it to... open 'IM' to F.Item else crt ' # ' ; sleep obtaining the same result I also changed it to open 'IPL' to F.Item else crt ' # ' ; sleep obtaining the same result Perhaps I need to reboot the server... --Bill -Original Mes

RE: [U2] [UV] Read Error, Improper Data Type

2006-07-27 Thread Peter Veenhof
Hi Bill, You are execut9ing a CLEAR statement after assigning the file variable. This CLEAR statement will reset your file variable. Move the CLEAR statement above your file open to fix this program. Documentation on CLEAR: CLEAR statement

[U2] UniObjects and UniData Triggers (UD 7.1)

2006-07-27 Thread Glenn Batson
We are having a problem with UniObjects calling a UniData subroutine that updates a file with a trigger on it. The first part of the problem dealt with the global catalog. The error we received was "Unable to load the subroutine on the server Source". There was a Tech Note on a solution, to setu

Re: [U2] [UV] Read Error, Improper Data Type

2006-07-27 Thread john reid
btw, why would you want to go back to the repeat when you get a null? You've used up the SELECT list, right? Also, the NEXT might be misleading to the next lucky person. NEXT Part.Count might be easier to read. On 7/27/06, john reid <[EMAIL PROTECTED]> wrote: Gotcha TESTL: 28: clear :

Re: [U2] [UV] Read Error, Improper Data Type

2006-07-27 Thread john reid
Gotcha TESTL: 28: clear :: F.Item/ DBFILE: A IM Mod=1 Sep=4 Type=18 :: s TESTL: 33: done = false :: F.Item/ INTEGER: 0 :: :: F.Item/ DBFILE: A IM Mod=1 Sep=4 Type=18 :: s TESTL: 33: done = false :: F.Item/ INTEGER: 0 :: On 7/27/06, Brutzman, Bill <[EMAIL PROTECTED]> wrote:

Re: [U2] [UV] Read Error, Improper Data Type

2006-07-27 Thread Deb Bruns
Check to make sure your file opened and is not null. Thanks & Have a Great Day!! Sincerely, Deb Bruns Systems Analyst Sick, Inc. 6900 West 110th Street Minneapolis, MN 55438 USA Phone: 952.941.6780 Fax: 952.941.9287 Direct: 952.829.4842 http://www.sickusa.com This message and attachments ar

RE: [U2][UV] XML DOM

2006-07-27 Thread Perry Taylor
Hrm, very interesting. I'll have to watch out for that. Thanks! Perry -Original Message- From: [EMAIL PROTECTED] [mailto:[EMAIL PROTECTED] On Behalf Of Symeon Breen Sent: Thursday, July 27, 2006 12:48 PM To: u2-users@listserver.u2ug.org Subject: Re: [U2][UV] XML DOM Hi Perry, Using th

RE: [U2] [UV] Read Error, Improper Data Type

2006-07-27 Thread Mark Eastwood
Your code sample doesn't include line numbers, and I'm too lazy to count, but what appears odd to me is in middle of the for/next loop it jumps out to "Next.Step" if Slang.Name is Null. Mark --- u2-users mailing list u2-users@listserver.u2ug.org To unsubscribe please visit http://listserver.u2

Re: [U2] [UV] Read Error, Improper Data Type

2006-07-27 Thread Timothy Snyder
[EMAIL PROTECTED] wrote on 07/27/2006 12:12:01 PM: > I am having a problem with a straightforward read statement that is driving > me crazy... > open 'IM' to F.Item else null > read R.Item from F.Item, This.Part else R.Item = '' Are you sure the file is being opened? I would pu

Re: [U2] device licensing question ...

2006-07-27 Thread Symeon Breen
Support provider will be myself - hmm - i shall contact IBM. Thanks guys On 27/07/06, Robert Paterson <[EMAIL PROTECTED]> wrote: > > Lictool is a UniVerse tool not a UniData one. > > Sounds like you need to contact your Support provider to check out the > details. > > -Original Message-

Re: [U2][UV] XML DOM

2006-07-27 Thread Symeon Breen
Hi Perry, Using the XML api on utf8 encoded xml files that include some characters over 7f can result in the udt session crashing out. It seems quite random. Using the XML DOM api on xml files that have characters over 7f, regardless of encoding can result in the extraction of text nodes returning

[U2] [UV] Read Error, Improper Data Type

2006-07-27 Thread Brutzman, Bill
I am having a problem with a straightforward read statement that is driving me crazy... Suggestions would be appreciated. --Bill ____ \_ SLANG _/ Common Names for HK.Parts _Slang.Name___ 6 record(s) selected to SELECT list #0. 101312 0 101485 0 101859 0 103468

RE: [U2] device licensing question ...

2006-07-27 Thread Brian Leach
Symeon Sorry I scanned your post too quick and missed the 'udt' bit :( lictool is UniVerse, but I think the bug may be the same.. Regards Brian > -Original Message- > From: [EMAIL PROTECTED] > [mailto:[EMAIL PROTECTED] On Behalf Of Symeon Breen > Sent: 27 July 2006 16:23 > To: u2-use

RE: [U2] device licensing question ...

2006-07-27 Thread Robert Paterson
Lictool is a UniVerse tool not a UniData one. Sounds like you need to contact your Support provider to check out the details. -Original Message- From: [EMAIL PROTECTED] [mailto:[EMAIL PROTECTED] On Behalf Of Symeon Breen Sent: 27 Jul 2006 16:23 To: u2-users@listserver.u2ug.org Subject: R

Re: [U2] device licensing question ...

2006-07-27 Thread Symeon Breen
I am on udt 7.1 on redhat Enterprise ES 4 EM64T, so only a year old. UODOTNET.DLL version is 2.1.0.7137 uniobjects.dll version is 3.1.6.7137 lictool - where is that, it does not seem to be in my ud71/bin directory. If the ip is reversed as you say then that would explain it. - would this not be a

RE: [U2] device licensing question ...

2006-07-27 Thread Brian Leach
The tell-tale is to run lictool. The UO.net sessions have the IP address reversed, and so appear as different licences. That hit me bad when I put in a new .net application at a customer site to run alongside their existing uvCase/UniObjects app. Regards Brian > -Original Message- > Fro

RE: [U2] LISTB (tab delimited output)

2006-07-27 Thread Brian Leach
Dave Yes, I haven't converted it to UniData - but I can if people are interested (I have a precompiler that handles most of the syntax changes). I'll put it on my to-do list anyway, but it will probably take a week before I get round to it. Regards, Brian > -Original Message- > From: [

RE: [U2][UV] XML DOM

2006-07-27 Thread Perry Taylor
Thanks, Clif. That gave me some ideas. Perry -Original Message- From: [EMAIL PROTECTED] [mailto:[EMAIL PROTECTED] On Behalf Of Clifton Oliver Sent: Wednesday, July 26, 2006 11:00 AM To: u2-users@listserver.u2ug.org Subject: Re: [U2][UV] XML DOM I found the documentation to be, um, chal

RE: [U2][UV] XML DOM

2006-07-27 Thread Perry Taylor
Symeon, What are the "spurious problems" when using utf-8 encoding? Perry -Original Message- From: [EMAIL PROTECTED] [mailto:[EMAIL PROTECTED] On Behalf Of Symeon Breen Sent: Thursday, July 27, 2006 4:08 AM To: u2-users@listserver.u2ug.org Subject: Re: [U2][UV] XML DOM Hi Perry, If yo

RE: [U2] LISTB (tab delimited output)

2006-07-27 Thread Dave S
Will the program run only in Universe ? Brian Leach <[EMAIL PROTECTED]> wrote: Dave No, but you might want to download a free utility from my web site to do the same. Go to http://www.brianleach.co.uk and download EXPORT from the "Downloads" page. This is a stand-alone program with a Retrie

RE: [U2] device licensing question ...

2006-07-27 Thread Robert Paterson
I know there used to be a problem with how device licencing identified sessions - but that was a while back. You don't mention which version? Check the readme file for the latest releases on the IBM site in the product availability matrix to check the fix details and whether you have the latest v

[U2] device licensing question ...

2006-07-27 Thread Symeon Breen
Is this normal behaviour ? I have device licencing switched on, on a 4 user udt system on Linux. I have 3 telnet sessions from different hosts, and i have two vb processes on a web server connected using UO. I now want to run an ASP.NET app that connectes from the same web server via UO.NET and i

RE: [U2] LISTB (tab delimited output)

2006-07-27 Thread Bob Witney
We used to use ']' delimited files but it means you have to do the excel load now we convert it to an html table with a .xls on the end of the file name and excel just opens it code sample (which i expect you'll all rewrite so its much more efficient) REC<-1> = "" READ D

RE: [U2] LISTB (tab delimited output)

2006-07-27 Thread Brian Leach
Dave No, but you might want to download a free utility from my web site to do the same. Go to http://www.brianleach.co.uk and download EXPORT from the "Downloads" page. This is a stand-alone program with a RetrieVe like syntax for generating delimited files. Regards, Brian > -Original Mes

Re: [U2][UV] XML DOM

2006-07-27 Thread Symeon Breen
Hi Perry, If you are talking the EXT file then the things to be careful of are the starting point in the xml tree as defined by the start property and where to place the , to denote MV and SV extraction. If you are talking the DOM then it may be good to have a look at the xml in some sort of DOM

Re: [U2] Encrypt

2006-07-27 Thread Symeon Breen
Sorry - i forgot to say, whenever i do an encrypt i check it for a trailing char(10) and if it does, i strip it out. Similarly when i decrypt i add a char(10) onto the end. On 27/07/06, Symeon Breen <[EMAIL PROTECTED]> wrote: > > Hi John - I have used crypt and decrypt from unidata and in .net. T

Re: [U2] Encrypt

2006-07-27 Thread Symeon Breen
Hi John - I have used crypt and decrypt from unidata and in .net. There was an issue with both crypt and decrypt in that a trailing char(10) was added or something. - See IBM issue 8088 On 27/07/06, John Godzina <[EMAIL PROTECTED]> wrote: > > PHP and perl. I can do the implementation if need be

[U2] gtk and intercall

2006-07-27 Thread chuchi
Hi all again, Thanks all for the responses to my lock record doubt. I have another problem... I'm developing a linux application with GTK. When i launch and ic_read with a main program without GTK all works fine but, if i launch the same code with a GTK GUI, i have problems with the encodi