Re: [U2] UDT Sequential File Length

2006-06-08 Thread Simon Lewington
UniBasic DIR() function - SIZE=DIR(FILEPATH)<1> -- "Brian Leach" <[EMAIL PROTECTED]> wrote in message news:[EMAIL PROTECTED] > All, > > Is there a simple way of getting the size of a file opened sequentially > under UniData short of actually reading though it in BASIC ? Something > equivalent to

[U2] [UD] PRECISION - not persisting

2006-05-31 Thread Simon Lewington
Unidata 7.1 on Win 2k The Unibasic PRECISION setting (eg 'PRECISION 6') is not persisting for called subroutines, but is falling back to its default of 4. eg SUBROUTINE TEST A=24127.14063 B=24127.14062 CRT (A=B) RETURN PROGRAM TEST1 PRECISION 6 CALL TEST This shows '1' showing that PRECISION 4

Re: [U2] [UD] ON.ABORT

2006-05-22 Thread Simon Lewington
"Bill Haskett"... > Hmmm. I've set UDT.OPTIONS 14 ON and UTD.OPTIONS 105 ON. It seems that if > ON.ABORT defines a BASIC program to run (the same program that executed an > ABORT, like a TCL.SHELL program), this whole process works only once. It > then fails and returns me to ECL. You need a pa

Re: [U2] UD Indexes

2006-04-12 Thread Simon Lewington
"Bill Haskett" ... > I'm running UD v7.1 and got an error message from within a BASIC program > like: > > In E:\DataTrust\DTA\BP\BP\_TRREC at line 1161 "-" is not an indexed/legal > field. > > ..caused by the BASIC statement: > > SETINDEX NAME.KEY, A.CODE ON ARTDESC ... > Am I correct in assuming

Re: [U2] UD telnet server

2006-03-24 Thread Simon Lewington
JJ replied to me - I'm sure he won't mind my forwarding his message to the group... From: "John Jenkins" <[EMAIL PROTECTED]> To: "'Simon Lewington'" <[EMAIL PROTECTED]> Sent: Thursday, March 23, 2006 10:47 PM Subject: RE: [U2] UD telnet server

Re: [U2] UD telnet server

2006-03-24 Thread Simon Lewington
JJ replied to me, I'm sure he won't mind my forwarding his message to the group... From: "John Jenkins" <[EMAIL PROTECTED]> To: "'Simon Lewington'" <[EMAIL PROTECTED]> Sent: Thursday, March 23, 2006 10:47 PM Subject: RE: [U2] UD telnet server

Re: [U2] UD telnet server

2006-03-20 Thread Simon Lewington
"Steven Frost" wrote ... > Hi -- we have UDT 6.1.5 running on a Windows 2003 server with a 5 user > license but every now and then , usually within a week, the telnet > service hangs and no logins are possible. UDT itself is OK. Restarting > the UD telnet service fails, so then reboot is called

Re: [U2] [UD] ODBC Session Initialisation

2006-03-13 Thread Simon Lewington
"Mike Rajkowski"... > "ODBCLOGIN" > Works the same as the UOLOGIN. It does indeed! Many thanks Mike & Jay Jay. Simon --- u2-users mailing list u2-users@listserver.u2ug.org To unsubscribe please visit http://listserver.u2ug.org/

[U2] [UD] ODBC Session Initialisation

2006-03-10 Thread Simon Lewington
Is there a way to run some initialisation code for ODBC/OleDB sessions - like the LOGIN paragraph for udt sessions and the UOLOGIN subroutine for UniObjects sessions? If there's not an official way, does anyone have any tips for me? I need to be able to set some common variables before using some

[U2] Re: EDA Tool - Unable to save EDA map content

2006-01-13 Thread Simon Lewington
"Simon Lewington"... > I'm trying to set up EDA using the 'EDA tool', and getting an error when > trying to create the EDA map. ... > Error dialog: > Title: 'Save EDA map Content Failed' UK support came through on this one. For some reason my VOC

[U2] EDA Tool - Unable to save EDA map content

2006-01-12 Thread Simon Lewington
I'm trying to set up EDA using the 'EDA tool', and getting an error when trying to create the EDA map. I'll call this in to IBM support tomorrow, but I'm in the UK so am firing this to the list in case some of you guys in the States have seen this before and so might be able to help more quickly.

Re: [U2] ODBC Difficulties

2006-01-12 Thread Simon Lewington
"Kevin King"... > I am having some difficulties getting the Unidata ODBC driver to work > properly. ... > I have verified the registry settings per the > ODBC documentation, verified the location and contents of uci.config, > and verified the ODBC configuration settings. Still, when trying to > co

Re: [U2] Visual Schema Generator 'unable to open dictionary of sysobjects'

2005-10-10 Thread Simon Lewington
Wendy To set up a new UDT account for SQL and ODBC we... 1) Log off and back on to ensure that Unidata clears it SQL cache. 2) Delete all the VOC and file system files for all the SQL/ODBC files except __V__VIEW (which is created by newacct). Our current list is: privilege SQLColumns SQLSpecia

Re: [U2] [OT] Tally line printer escape sequences

2005-10-07 Thread Simon Lewington
Dave I'm afraid I've had no luck getting the customer (who has the printer) to test this properly. They only use this printer for payroll runs, and the default font is OK for this. I set up a quick fix of no escape sequences at all which works for this specific requirement, and now they've got t

[U2] [OT] Tally line printer escape sequences

2005-09-27 Thread Simon Lewington
Does anyone know where I could find a reference for escape sequences used by old Tally Line Printers - specifically a T6090, although having loaded a driver from http://www.tallygenicom.com/support/manuals/legacyline.htm it looks like they're all similar. Thanks Simon --- u2-users mailing list

[U2] [UD] UniRPC Connection Network Requirements

2005-08-10 Thread Simon Lewington
Does anyone know what I would need open on a VPN connection to use UniRPC over it? I've got a VPN connection (Check Point VPN-1 Secure Client if that's relevant) to a Unidata 6.1.9 server over which I am unable to use UniAdmin - I get an error dialog Title="RPC Connection Error..." Message="No RP

Re: [U2][UV] UO.NET beginner question

2005-03-01 Thread Simon Lewington
Nick Cipollina wrote: > Here is the code I am trying to use: > > us1 = null ; > us1.HostPort = 7200; > try > { > us1 = > UniObjects.OpenSession("Server","LoginName","Password","uvAccount","uvcs > "); > > > It is compiling just fine, I am getting an error when I run it though. > Any suggestions?

Re: [U2][UV] UO.NET beginner question

2005-03-01 Thread Simon Lewington
Don Kibbey wrote: > (this won't compile and is not meant to) > Have a look in the UniObjects .Net pdf file for more info on this, but > here's how you can change the port number used for the connection. > > public UniSession uSession; > uSession.HostPort = 12345; > uSession = UniObjects.OpenSession

Re: [U2] Universe to Web interface

2005-02-10 Thread Simon Lewington
Glen B... > > If you can truly pass a UV socket handle to another UV process, then > there's no reason why anyone can't write a stable "multi-threaded" socket > server directly in UV BASIC. Is this true? > > Kevin P Lynch... >> > > here is the appropriate manual : > > http://publibfi.boulder.ibm.c

Re: [U2] Unidebugger

2005-02-02 Thread Simon Lewington
"Susan Joslyn" wrote... > > You're right, triggers cannot be used on > "directory type" files. We did ask IBM for that at the U2UG meeting in Las > Vegas last September. > > Their chief argument against them was that you can get to those > "directory" files from outside U2 anyway. I would imagine

Re: [U2] [UD] Max of 2 nested PERFORM CAPTUREs

2005-02-01 Thread Simon Lewington
"Timothy Snyder" wrote... > "Simon Lewington" <[EMAIL PROTECTED]> wrote on 02/01/2005 10:58:23 AM: > > > UniBasic PCPERFORM COMM CAPTURING OUTPUT > > gives an error 'Max of 2 nested PERFORM CAPTUREs'. > > > There's a udtconfi

[U2] [UD] Max of 2 nested PERFORM CAPTUREs

2005-02-01 Thread Simon Lewington
UD 6.0.12 Win 2k ECLTYPE 'P' UniBasic PCPERFORM COMM CAPTURING OUTPUT gives an error 'Max of 2 nested PERFORM CAPTUREs'. Does anyone know if this limit is configurable? It doesn't appear in the LIMIT list. I'm running a command-stacker application with a web front-end and this could do with a

Re: [U2] [UD] memresize - checking progress

2004-12-31 Thread Simon Lewington
"Baakkonen, Rodney"... > You can monitor the 'rsz' file or directory (dynamic files) that memresize > creates. This will give you an vague idea of how far along it is. I can't really see what to monitor though. I can't set a pointer and do an ISTAT on it to see how full the first groups are - thi

[U2] [UD] memresize - checking progress

2004-12-30 Thread Simon Lewington
Unidata 6+ on various nix/doze platforms. Is there any way to check the progress of a memresize file resize? Sometimes a resize seems to take inordinately long, so I'd like to be able to confirm that it is x% complete and increasing. I imagine the technique would be different for static and dyna

[U2] Re: XDOMValidate - useage with multi-file schemas

2004-12-10 Thread Simon Lewington
Sorry - hit send too soon. Please ignore! Simon "Simon Lewington" <[EMAIL PROTECTED]> wrote in message news:[EMAIL PROTECTED] > Hi > > I'm looking at using the new DOM Basic API. > > I'm stuck on how to use > XDOMValidate to --- u2-users mailing

[U2] XDOMValidate - useage with multi-file schemas

2004-12-10 Thread Simon Lewington
Hi I'm looking at using the new DOM Basic API. I'm stuck on how to use XDOMValidate to --- u2-users mailing list [EMAIL PROTECTED] To unsubscribe please visit http://listserver.u2ug.org/

Re: [U2] [OT] XSL for associated multivalues

2004-12-08 Thread Simon Lewington
Instead of... you need something like... Simon "Karjala Koponen" <[EMAIL PROTECTED]> wrote in message news:[EMAIL PROTECTED] > Hello, > > I am trying to write an XML transform (XSLT) that will take something of the > form > > > a > b > > > 8 > 3 > > > and transform it to another

[U2] Re: [UD] problem with hex conversions

2004-11-24 Thread Simon Lewington
Switch to $BASICTYPE 'U' to stop this supposed Pick-Style behaviour. Simon "Ben Gladman" <[EMAIL PROTECTED]> wrote in message news:[EMAIL PROTECTED] > > I'm getting unexpected results from the hex conversions in Unidata 6.0.12 on > NT: > > PROGRAM BJGTEST > * > CRT "OCONV('1','MO')=" : OCONV('1',

Re: [U2] RE: [UD] Index problem

2004-11-04 Thread Simon Lewington
"Piers Angliss" ... > > > What would be great is if Unidata provided a facility to update an index > in a file programatically. > > > If I recall correctly, Universe implements indices as Type 25 data files, > so UV could support this Yep - definitely one to put in the plus column for Universe o

Re: [U2] Index problem

2004-11-04 Thread Simon Lewington
"Fred Finken" <[EMAIL PROTECTED]> wrote in message news:[EMAIL PROTECTED] > > Here's an idea that I haven't actually tried, but it sure seems like it > should work: > > You have two related files - say ORDERS and CUSTOMERS. You want any change > to CUSTOMERS name to be reflected in the ORDERS file'

Re: [U2] [UV] setRequestHeader not working?

2004-10-11 Thread Simon Lewington
No problem setting Content-Type here. I'm on UD 6.0.12 but believe UV and UD share the same code. Have you set protocolLogging(LOGFILE, "ON", 10) and checked the log to be sure that the problem is with Universe? Simon "James F Thompson" <[EMAIL PROTECTED]> wrote in message news:[EMAIL PROTECTED

Re: [U2] Re: [UD] Triggers

2004-09-28 Thread Simon Lewington
UniBasic FILEINFO(FP,25 & 26) have the triggers - at least on UD 6.0+ This isn't documented in the UniBasic Commands Reference - so I'm not sure if I saw it in 'New Features' at some point or found it through trial and error. Simon <[EMAIL PROTECTED]> wrote in message news:[EMAIL PROTECTED] > Ra

Re: [U2] Anyone have experience "mirroring" a HDD over a WAN

2004-09-06 Thread Simon Lewington
I think the ratio may be a bit of a red herring. John is taking an extra 40 seconds for 10,000 updates with triggers - about 4ms per call - on a time of 324 w/o triggers - about 32ms per write. You're taking an extra 600 or so seconds for 500,000 updates with triggers - about 1ms per call - on a

Re: [U2] Unidata shared memory and catalogs

2004-09-03 Thread Simon Lewington
Tony For non-Uniobjects sessions... You need to PCPERFORM 'newversion n' where 'n' is the pid of the running process to get that pid to pick up any changed s/w. This works whether the s/w is locally or globally cataloged as far as I can see - so I don't know what the shared memory reference in

Re: [U2] XML DOM. HOW TO GET XDOMGetNodeValue ?

2004-09-03 Thread Simon Lewington
You need the text() node under your LASTNAME node. eg add STATUS=XDOMLocateNode(N2HANDLE, XDOM.CHILD, XDOM.FIRST.CHILD,XDOM.TEXT.NODE, N3HANDLE) and get the value of N3HANDLE. Simon "Rajesh Menon" <[EMAIL PROTECTED]> wrote in message news:[EMAIL PROTECTED] > Hello, > > I am trying to read a si

Re: [U2] U2 .Net Information

2004-08-31 Thread Simon Lewington
"Leroy Dreyfuss" <[EMAIL PROTECTED]> wrote in message news:[EMAIL PROTECTED] > > >Perhaps you should ask the DB2 guys if you've got .NET 100% covered with > >UO.NET or if there's anything else to look at. > > Actually, this was fully reviewed with several IBM Software Group > development teams befo

Re: [U2] U2 .Net Information

2004-08-31 Thread Simon Lewington
"Leroy Dreyfuss" <[EMAIL PROTECTED]> > > The only item we are aware of that might affect ADO.NET is in a published > article from Microsoft. I have included the link below. It deals with using > third party OLEDB providers with Visual Studio .NET Designer Tool. Here is > the link: http://support.mi

Re: [U2] U2 .Net Information

2004-08-31 Thread Simon Lewington
"Leroy Dreyfuss" <[EMAIL PROTECTED]>... > > Yes, UO.NET is 100% managed code. You can learn more about UO.NET by > following this link: > ftp://ftp.software.ibm.com/software/data/u2/pubs/whitepapers/ibmu2-microsoftnet.pdf > Won't learn much about it there - this was pre-UO.NET. --- u2-users ma

Re: [U2] Quirk of Uniobjects?

2004-08-16 Thread Simon Lewington
<[EMAIL PROTECTED]> wrote in message news:[EMAIL PROTECTED] > Simon, > > do you not use an explicit conversion code when you ICONV, e.g > "D/DMY[2,2,2]" for "dd/mm/yy"? > > John Appleyard > Arthur J. Gallagher (UK) Limited Explicit D ICONV conversion codes are UV - questioner has UD. [a different

Re: [U2] euro sign

2004-08-10 Thread Simon Lewington
As Robert says, the euro symbol has no asci value. Various encodings give it different characters, but this depends on your client. You can certainly store char(128) for Windows-1252 or char(164) for ISO-8859-15 in ud 5.2. I think the only change added at ud 6 was a CONVERT_EURO udtconfig option

Re: Unclassified RE: [U2] UniObjects for .NET (UO.NET)

2004-08-06 Thread Simon Lewington
Mike The presentation point... > * Connection pooling for UO.NET provides good scalability sounds like it could be sales guys and tech guys not talking properly. Maybe the engineer said that dot net has object pooling built in, and the presentation morphed that to UO.NET having connection pooli

Re: Unclassified RE: [U2] UniObjects for .NET (UO.NET)

2004-08-05 Thread Simon Lewington
"HENDERSON MICHAEL MR" <[EMAIL PROTECTED]> wrote in message news:[EMAIL PROTECTED] > > Great stuff, but reading it I'm a little disappointed that there is no > mention of Connection Pooling. One of the previously advertised > benefits of UO.NET was that it would include a connection pooling > mech

Re: [U2] UniObjects for .NET (UO.NET)

2004-08-04 Thread Simon Lewington
As well as saying that UD 6.1 is required, the manual says at one point... "Note: Compression is not available when connecting to servers running a version of UniVerse earlier than Release 9.5." Does this suggest that this the unirpc server stuff is unchanged and so UO.NET will actually work with

Re: [U2] UniObjects for .NET

2004-07-30 Thread Simon Lewington
Anyone have any further info on this. It's 30/07/04 today. "Kishor Parmar" <[EMAIL PROTECTED]> wrote in message news:[EMAIL PROTECTED] > Yahoo, > Does it have a .net data provider for using ADO .net ? > > -Original Message- > From: [EMAIL PROTECTED] > [mailto:[EMAIL PROTECTED] On Behalf

Re: [U2] File Creation Date

2004-07-29 Thread Simon Lewington
For a Unidata specific version of this use FILEINFO() and DIR() ie OPEN "HOLD" TO fp ELSE xxx FILE.PATH=FILEINFO(fp,2):"/":HOLD.ITEM ;* forward slash is OK on NT DATE.MODIFIED=DIR(FILE.PATH)<2> Simon --- u2-users mailing list [EMAIL PROTECTED] To unsubscribe please visit http://listserver.u2u

Re: [U2] UniData and ODBC

2004-06-25 Thread Simon Lewington
"Wendy Smoak" ... > I've read through the archives, and gotten a general sense that people > don't like ODBC for UniData. Can someone clarify exactly why? Can't say for everyone else, but I've got an example difficultly... ODBC called from VBScript ASP pages on IIS (all versions of everything) -

Re: [U2] [UD] udtconfig memory settings

2004-06-24 Thread Simon Lewington
"Ken Wallis"... > > Simon, I'm not familiar with UniData on NT, but I'd look at changing > SHM_MAX_SIZE and/or SHM_GPAGESZ. I'm really not sure how the shared > memory > concept works under windows. You might even find that this memory is > being > allocated from the local heap since COMMON is st

[U2] [UD] udtconfig memory settings

2004-06-23 Thread Simon Lewington
Could anyone tell me what udtconfig setting[s] I should change to allow me to have a larger named common on UD 5.2.0 (old, I know) on Win NT... BP TEST 0001 PROGRAM TEST 0002 COMMON /TEST/ TEST(6) : RUN BP TEST insufficient memory, requested size = -177152 and my session crashes. DIM TEST(60

Re: [U2] Universe & Redback & Java Problem

2004-06-21 Thread Simon Lewington
"Wendy Smoak" ... > > From: [EMAIL PROTECTED] > > [mailto:[EMAIL PROTECTED] On Behalf Of > > Tsombakos, John > > Now, here's the rub.. My initial testing is using Mac OS X. > > But, when the > > routine returns a multi-valued item, the value of the SubValue (@SM) > > character is wrong, so I can't

Re: [U2] [UV] WHILE READNEXT id DO

2004-06-17 Thread Simon Lewington
<[EMAIL PROTECTED]> ... > LOOP > code > WHILE READNEXT id DO > more code > REPEAT I prefer: 100 [code] GOTO 300 200 [more code] GOTO 100 300 READNEXT ID THEN GOTO 200 --- u2-users mailing list [EMAIL PROTECTED] To unsubscribe please visit http://listserver.u2ug.org/