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
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
"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
"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
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
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
"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
"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/
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
"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
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.
"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
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
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
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
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
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?
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
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
"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
"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
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
"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
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
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
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/
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
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',
"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
"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'
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
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
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
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
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
"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
"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
"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
<[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
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
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
"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
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
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
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
"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) -
"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
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
"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
<[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/
50 matches
Mail list logo