Re: [U2] File pointer question

2008-06-12 Thread Mats Carlid
Another possibility is that You opened the file in the other directory and then LOGTO'ed the current. Especially watch out for file pointers kept in common - if You use them the open and logto may have been done outside the current program. -- mats Jeff Fitzgerald skrev: If you are on a UNIX sys

Re: [U2] File pointer question

2008-06-12 Thread David Beaty
Is it possible some other program has the file open in the other directory and its sharing the file handle? Either a COMMON issue or the rotating file pool? David -- From: "T Stokes" <[EMAIL PROTECTED]> Sent: Wednesday, June 11, 2008 11:21 PM To:

Re: [U2] UniSubroutine question

2008-06-12 Thread Charles_Shaffer
A SQL compliant dataset would be OK.. A dynamic array would be OK. I have a routine returning one record in a dynamic array, but it comes into the UOJ code as a string. I guess I am looking for the best way to move multiple Unidata records in one bunch to UOJ code on the web server for furth

RE: [U2] UniSubroutine question

2008-06-12 Thread Symeon Breen
In UO.NET I get my databasic to return xml - that way I can bind it to most any control. -Original Message- From: [EMAIL PROTECTED] [mailto:[EMAIL PROTECTED] On Behalf Of [EMAIL PROTECTED] Sent: 12 June 2008 13:52 To: u2-users@listserver.u2ug.org Cc: [EMAIL PROTECTED]; u2-users@listserve

RE: [U2] UniSubroutine question

2008-06-12 Thread David Wolverton
When you say 'get your databasic to retutn XML' -- do you mean you've coded your XML in the databasic by hand, or do you use the XMLDB tools and UniBASIC XML extensions from IBM? Just curious how you do the process!! It's an area we're doing more and more of > -Original Message- >

RE: [U2] UniSubroutine question

2008-06-12 Thread Victor St Clair
Hello That's the way we do it also, except we use C#. We do it by executing a command with TOXML tag on the end. Pretty easy to do, though there were a few gotchas along the way. Also, for very large datasets, it gets to be slow. Victor St. Clair Sr. Analyst Jenkon [EMAIL PROTECTED] 360-256

RE: [U2] Error Opening &HOLD& file

2008-06-12 Thread Martel, Henry
Our system is HP-UX 11i Universe is ver 10.1 Our &HOLD& file is a type 19 file. There is no limit to this directory since it is a vxfs file system with largefiles enabled on it Currently there are only 2968 files in the &HOLD& file. -Original Message- From: [EMAIL PROTECTED] [mailto:[EM

RE: [U2] UniSubroutine question

2008-06-12 Thread Charles_Shaffer
>>In UO.NET I get my databasic to return xml - that way I can bind it to >>most any control. XML would be great. I am not sure about the syntax still. For example: LIST INVENTORY-MASTER WITH PART_TYPE = "5" PARTNUM DESCRIPTION TOXML This will list the XML to the screen. How do I capture the X

Re: [U2] File pointer question

2008-06-12 Thread iggchamp
I was bit by that one a long while ago. If that's the case, best to do something like the following to make sure the info is relevant to the current account. COMMON /PGMNAME/ FILE.POINTER,PGMNAME.INIT IF NOT(ASSIGNED(PGMNAME.INIT)) THEN PGMNAME.INIT='' IF [EMAIL PROTECTED] THEN PGMNAME.INI

RE: [U2] UniSubroutine question

2008-06-12 Thread Jerry Banker
We make calls to our UV box (Linux) from network apps (Windows) passing whatever variables collected on the net. The calls, call subroutines on the UV server that create whatever the Net application needs to display or process the information. Sometimes HTML, sometimes XML, and sometimes arrays of

RE: [U2] UniSubroutine question

2008-06-12 Thread Jerry Banker
If it's just a list report then you can call a Unibasic subroutine that uses an execute with the capture keyword then pass the captured data back to the calling program. If the report comes from many sources I would have a Unibasic subroutine that gathers the data and sends it back as html pages or

RE: [U2] UniSubroutine question

2008-06-12 Thread Charles_Shaffer
>>We make calls to our UV box (Linux) from network apps (Windows) passing >>whatever variables collected on the net. The calls, call subroutines on the UV >>server that create whatever the Net application needs to display or process >>the information. Sometimes HTML, sometimes XML, and sometimes

RE: [U2] UniSubroutine question

2008-06-12 Thread Victor St Clair
Hello It's been a couple years since I was doing this, so the details are getting fuzzy. But as I recall, UniObjects provides a class that has a query method. You pass your uniquery command as a string to the Query method which returns the XML. Now, I forgotten what the mechanism was for conve

RE: [U2] UniSubroutine question

2008-06-12 Thread Charles_Shaffer
Jerry, Thanks. I think I see how to do this. Charles Shaffer Senior Analyst NTN-Bower Corporation --- u2-users mailing list u2-users@listserver.u2ug.org To unsubscribe please visit http://listserver.u2ug.org/

RE: [U2] New .Net data provider [ad]

2008-06-12 Thread Tony G
Since this discussion is about MV / .NET data exchanges as much as the U2/DB2 data provider for .NET, I felt it safe to interject some helpful comments about DataTables (and Vista) without too much repercussion. But this sort of information applies to all MV platforms, not just U2, so I blogged it

RE: [U2] Error Opening &HOLD& file

2008-06-12 Thread Kathleené M Hunter
Have you been able to a record in the &HOLD& file with in Universe. -Original Message- From: Martel, Henry [mailto:[EMAIL PROTECTED] Sent: Thursday, June 12, 2008 10:43 AM To: u2-users@listserver.u2ug.org Subject: RE: [U2] Error Opening &HOLD& file Our system is HP-UX 11i Universe is v

Re: [U2] Error Opening &HOLD& file

2008-06-12 Thread Craig Bennett
Have you looked in errlog? Are you using a READU and could you have so many simultaneous processes opening &HOLD& that you are exceeding the READU threshold? Craig --- u2-users mailing list u2-users@listserver.u2ug.org To unsubscribe please visit http://listserver.u2ug.org/

[U2] UD: Indexes

2008-06-12 Thread Bill Haskett
Has anyone had trouble with UniData indexes? We moved an application from D3 to UD and it's been reported that indexes are needing to be rebuilt on a recurring basis. We created a program that will delete the index then rebuild it for needed dictionary items. After this program is run everythi

RE: [U2] UD: Indexes

2008-06-12 Thread Bill Haskett
As a follow up, here's an index that was corrupted earlier: 2 Dev (0)-> LIST-INDEX ARTMASTER Alternate Key Index Details for File ARTMASTER Page 1 File.. ARTMASTER Alternate key length.. 45 Node/Block size... 4K OV blocks. 1 (0 in use, 0 overflowed)

Re: [U2] UniSubroutine question

2008-06-12 Thread JPB-U2UG
Yes. -- From: <[EMAIL PROTECTED]> Sent: Thursday, June 12, 2008 3:19 PM To: Subject: RE: [U2] UniSubroutine question We make calls to our UV box (Linux) from network apps (Windows) passing whatever variables collected on the net. The calls, call

RE: [U2] UD: Indexes

2008-06-12 Thread Colin Alfke
Bill; We haven't had trouble since an early version of version 6 had an "overly optimized" version of udtsort. Are any of those subroutines returning data from a remote file? UniData doesn't have a link to the remote file to know when it's updated so the index won't be updated. Are they supposed

Re: [U2] UD: Indexes

2008-06-12 Thread Kevin King
What exactly are these subroutines doing? On Thu, Jun 12, 2008 at 6:51 PM, Bill Haskett <[EMAIL PROTECTED]> wrote: > As a follow up, here's an index that was corrupted earlier: > > 2 Dev (0)-> LIST-INDEX ARTMASTER > Alternate Key Index Details for File ARTMASTER Page 1 > > File

RE: [U2] UD: Indexes

2008-06-12 Thread Bill Haskett
Colin: The data in the index is extracted from another file. It's an address book file. Here's what a listing looks like: 2 Dev (0)-> LIST ARTMASTER INDEX_2 LIST ARTMASTER INDEX_2 21:44:57 Jun 12 2008 1 ARTMASTER... INDEX_2. 260*50/6 0260PETTY, MICHAEL J & D

RE: [U2] UD: Indexes

2008-06-12 Thread Bill Haskett
Kevin: Building a name in last, first mi format. A list looks like: 2 Dev (0)-> LIST ARTMASTER INDEX_2 LIST ARTMASTER INDEX_2 21:44:57 Jun 12 2008 1 ARTMASTER... INDEX_2. 260*50/6 0260PETTY, MICHAEL J & DEENA M00050/6 400*48 0400NELSON, MATTHEW048 2

Re: [U2] File pointer question

2008-06-12 Thread Mats Carlid
Nice idea - but change @WHO to @PATH to catch the situation that you have two accounts with the same name under different paths. When we were bit by this - as PI newbees in the early 80's - we just banned logto's and never used'em since. -- mats [EMAIL PROTECTED] skrev: > I was bit by th