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 using the
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
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 that UniData
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
Key test
Open a DOS shell on the CONSOLE and telnet
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
Key test
Open a DOS shell on the CONSOLE and telnet
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 for.
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
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 did not have
the _EDAMAP_ and _EDAXMAP_ entries
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
connect
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.
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
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
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 RPC
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 =
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?
OK - it will compile,
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 :
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 - this
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
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/
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 list
[EMAIL PROTECTED]
To unsubscribe please visit http
Instead of...
numberxsl:value-of select=/COL[2]/DATA//number
you need something like...
xsl:variable name=row select=position()/ !-- just needed once per
for-each DATA --
number
xsl:value-of select=/COL[2]/DATA[position() =$row]/
/number
Simon
Karjala Koponen [EMAIL PROTECTED] wrote in
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','MO')
CRT
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's
Piers Angliss ...
quote Simon Lewington
What would be great is if Unidata provided a facility to update an index
in a file programatically. /quote
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
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]
We
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]
Ray
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
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 mailing
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:
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
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
mechanism.
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 Of Peter
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
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) -
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
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 pull sub-values
[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/
41 matches
Mail list logo