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/


RE: [U2] [UD] Login

2006-03-13 Thread colin.alfke
Bill;

1. Yes, you have to type in the full path.
2. Worked for me on 6.0.12 (W2k). Not sure if it's a version or PE
issue.

Normally I use UniAdmin (or telnetcfg) to update the default user. I put
the proper account path in the startup dir and uncheck the prompt
directory check box. This will always log you into an account and you
can logto different accounts from there.  You can either update any
other user you see in here or delete them and they will use the default
user config the next time they login.

The directory keeps anything you enter - even if it is incorrect. 

Hth
Colin Alfke
Calgary Canada

-Original Message-
From: Bill Haskett

I've been logging into UniData v7.1 on Win 2K3 for a project 
and am finally asking a few questions about the login:

1) Do I have to type in the full path (instead of just the 
account), and
2) Am restricted (the 1st time I try) to sixteen characters in 
the path?
---
u2-users mailing list
u2-users@listserver.u2ug.org
To unsubscribe please visit http://listserver.u2ug.org/


[U2] uvbackup - without index files

2006-03-13 Thread Manu Fernandes
Hi all,

Do you known if there is a way to execute uvbackup with exclusion of
indexfiles ?

Thanks for help
Manu
---
u2-users mailing list
u2-users@listserver.u2ug.org
To unsubscribe please visit http://listserver.u2ug.org/


RE: [U2] SUBR called from an I-Descriptor

2006-03-13 Thread Steve Ferries
Thanks Chuck, I didn't know the passed argument needed to be a
dictionary item.

 In the I-descriptor, the 3rd argument that you pass needs to be the
name of another D- or I-item in that same dictionary (or it could
 be an expression).

I added it, and it works like a champ.

Thanks,
Steve
---
u2-users mailing list
u2-users@listserver.u2ug.org
To unsubscribe please visit http://listserver.u2ug.org/


Fw: [U2] [UD] Login

2006-03-13 Thread Jerry Banker

Why not create you're working directory someplace with a shorter path? I
wouldn't recommend creating a working directory within the home path anyway.
What if you had to delete the home and reload it? You would have to move
your data files to another location so you could delete the home directory
or would have to delete the individual files, a real pain.

- Original Message - 
From: Bill Haskett [EMAIL PROTECTED]

To: u2-users@listserver.u2ug.org
Sent: Friday, March 10, 2006 6:42 PM
Subject: [U2] [UD] Login


I've been logging into UniData v7.1 on Win 2K3 for a project and am 
finally

asking a few questions about the login:

1) Do I have to type in the full path (instead of just the account), and
2) Am restricted (the 1st time I try) to sixteen characters in the path?

Welcome to Advantos Telnet Server
login: USERNAME
Password:
Path (E:\IBM\ud71\Dta) : E:\IBM\ud71\DtaDemo
Unable to set current directory to E:\IBM\ud71\DtaD

UniData telnet session terminating...

If I try to log in again the path is set properly and I can just press
[Enter] at that prompt to properly log into the DtaDemo account.

Welcome to Advantos Telnet Server
login: wphaskett
Password:
Path (E:\IBM\ud71\DtaDemo) : [Enter]

UniData Release 7.1  Build: (3146)
(c) Copyright IBM Corporation 2005.
All rights reserved.

Current UniData home is E:\IBM\ud71\.
Current working directory is E:\IBM\ud71\DtaDemo.

I've read all the manuals, I think, and can't find anything about this. 
Any

help would be appreciated.  :-)

Bill Haskett
Advantos Systems, Inc.
www.advantos.net
(760)944-5570 (CA)
(360)923-4838 (WA)
---
u2-users mailing list
u2-users@listserver.u2ug.org
To unsubscribe please visit http://listserver.u2ug.org/

---
u2-users mailing list
u2-users@listserver.u2ug.org
To unsubscribe please visit http://listserver.u2ug.org/


[U2] MegaWest Practice Managment system

2006-03-13 Thread Martin Scholl
I am scoping out a MegaWest system and see that the dictionary files are
empty.   The client wants ODBC access to the data, but without dictionaries
it is Mission Impossible.
Does anyone have experience with this system?



-Original Message-
From: [EMAIL PROTECTED]
[mailto:[EMAIL PROTECTED] On Behalf Of Steve Ferries
Sent: Friday, March 10, 2006 5:19 PM
To: u2-users@listserver.u2ug.org
Subject: [U2] SUBR called from an I-Descriptor

Hi All,

UniVerse 10.1.14
AIX 5.1

Here is my I-Descriptor:

 OGA.CD
0001 I
0002 SUBR(GET.OGA.CD,@ID,OGACODE)
0003
0004
0005 4L
0006 S

I can compile it fine under one file:
Compiling OGA.CD.
SUBR ( GET.OGA.CD , @ID , STATUS )

However it fails when I compile it under a second file. The second file
is a partfile, with indexes.
Here is the error:
Compiling OGA.CD.
SUBR ( GET.OGA.CD , @ID , Word OGACODE.
OGACODE syntax error

If I change the SUBR to SUBR ( GET.OGA.CD , @ID), it compiles:
Compiling OGA.CD.
SUBR ( GET.OGA.CD , @ID )

The subroutine looks like this (I have not coded anything yet except for
the two lines):

0001 SUBROUTINE GET.OGA.CD (OGA.CODE,VALUE,OGACODE)
0002 RETURN

I am pulling out what is left of my hair.

Thanks,


Steve Ferries
TCR Limited
---
u2-users mailing list
u2-users@listserver.u2ug.org
To unsubscribe please visit http://listserver.u2ug.org/
---
u2-users mailing list
u2-users@listserver.u2ug.org
To unsubscribe please visit http://listserver.u2ug.org/


RE: [U2] [UV was UD] ODBC Session Initialisation {Unclassified}

2006-03-13 Thread HENDERSON MIKE, MR
Is there an equivalent in UniVerse?
Certainly ODBC connections don't appear to go through the LOGIN
paragraph in the target account or through the LOGIN paragraph in the UV
account.

Mike

 -Original Message-
 From: [EMAIL PROTECTED] On Behalf Of Simon Lewington
 Sent: Monday, 13 March 2006 22:23
 To: u2-users@listserver.u2ug.org
 Subject: Re: [U2] [UD] ODBC Session Initialisation
 
 Mike Rajkowski...
  ODBCLOGIN
  Works the same as the UOLOGIN.
 
 It does indeed!  Many thanks Mike  Jay Jay.
 
 Simon
The information contained in this Internet Email message is intended
for the addressee only and may contain privileged information, but not
necessarily the official views or opinions of the New Zealand Defence Force.
If you are not the intended recipient you must not use, disclose, copy or 
distribute this message or the information in it.

If you have received this message in error, please Email or telephone
the sender immediately.
---
u2-users mailing list
u2-users@listserver.u2ug.org
To unsubscribe please visit http://listserver.u2ug.org/


Fw: [U2] Running a command from / via PCPERFORM

2006-03-13 Thread Wally Terhune
Just separate your shell commands with semi-colons
eg
PCPERFORM cd /;pwd

Wally Terhune
U2 Support Architect
IBM Information Management
4700 South Syracuse Street, Denver, CO   80237
Tel:  303.773.7969
Fax: 303.773.5915
[EMAIL PROTECTED]


- Forwarded by Wally Terhune/Denver/IBM on 03/13/2006 02:03 PM -

 Kevin King
 [EMAIL PROTECTED]
 ne.comTo
 Sent by:  u2-users@listserver.u2ug.org
 [EMAIL PROTECTED]  cc
 stserver.u2ug.org
   Subject
   [U2] Running a command from / via
 03/13/2006 01:40  PCPERFORM
 PM


 Please respond to
 [EMAIL PROTECTED]
  ne.com






I am trying to PCPERFORM an OS-level command that has to be run from
the root directory.  Other than creating a shell script and executing
that script, is there a way to structure the commands following
PCPERFORM to allow a cd to the root directory and then run the
command?  More importantly, is there a platform independent way of
doing it so that I don't have to have customizations for Windows vs.
*nix?

Believe me, if there was a way to do this without having to be at the
root, that would be preferable, but this program just happens to
require the current working directory to be the root before the
command is executed.

-Kevin
[EMAIL PROTECTED]
http://www.PrecisOnline.com
---
u2-users mailing list
u2-users@listserver.u2ug.org
To unsubscribe please visit http://listserver.u2ug.org/

[demime 1.01d removed an attachment of type image/gif which had a name of 
pic09152.gif]

[demime 1.01d removed an attachment of type image/gif which had a name of 
ecblank.gif]
---
u2-users mailing list
u2-users@listserver.u2ug.org
To unsubscribe please visit http://listserver.u2ug.org/


FW: [U2] [UD] ODBC Session Initialisation

2006-03-13 Thread Dean.Armbruster
According to the 4.1 Administering UniServer doc, ODBCLOGIN can be a
globally cataloged subroutine, not a login paragraph.

It's funny how there is no mention of this in the 5.2 or 6.1 docs.  But
then, there is no reference to UniServer either, except for a few vague
mentions for environment variables and the like.

Does ODBCLOGIN (or OCLOGIN, for ObjectCall) still work in newer UD
versions?  Does it work without UniServer?

Now all we need is ODBCLOGOUT to match the LOGOUT paragraph in VOC.  :-)

Dean 'new to ODBC' Armbruster
Ferguson Enterprises, Inc.


 -Original Message-
 From: [EMAIL PROTECTED] 
 [mailto:[EMAIL PROTECTED] On Behalf Of John Jenkins
 Sent: Friday, March 10, 2006 5:10 PM
 To: 'Simon Lewington'; u2-users@listserver.u2ug.org
 Subject: RE: [U2] [UD] ODBC Session Initialisation
 
 Simon
 
 There's a little known feature in the UniData 4.1 
 documentation which got lost somewhere. My (vague) memory 
 suggests ODBCLOGIN VOC entry or something VERY similar. 
 Amongst other things it allows you to execute environment 
 initialisation commands for NFA for example.
 
 I'll take a look on Monday and post my findings, though if 
 anyone has 4.1 documentation to hand please pitch in.
 
 Regards
 
 JayJay
 -Original Message-
 From: [EMAIL PROTECTED]
 [mailto:[EMAIL PROTECTED] On Behalf Of 
 Simon Lewington
 Sent: 10 March 2006 15:59
 To: u2-users@listserver.u2ug.org
 Subject: [U2] [UD] ODBC Session Initialisation
 
 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 fields.
 
 I could well have missed this in the manual - apologies if 
 so.  I can't, for example, find UOLOGIN in the manuals.
 
 This is for UD 7.1.
 
 Cheers
 Simon
---
u2-users mailing list
u2-users@listserver.u2ug.org
To unsubscribe please visit http://listserver.u2ug.org/


RE: [U2] Running a command from / via PCPERFORM

2006-03-13 Thread Dean.Armbruster
PCPERFORM can do multiple commands.  Separate them with a linefeed
(char(10)).  You can actually pass in a text stream that is a script for
the shell if you like, with if's and else's and other stuff, with a
linefeed between lines.  We use this run commands in other accounts
without leaving the current udt.  It will cd to another account, verify
that the cd was successful, and run udt in that directory.

This is on HP-UX with the Bourne shell.  I don't know about other
shells, other unix, or Windows.

Dean Armbruster
Ferguson Enterprises, Inc.



 -Original Message-
 From: [EMAIL PROTECTED] 
 [mailto:[EMAIL PROTECTED] On Behalf Of Kevin King
 Sent: Monday, March 13, 2006 3:40 PM
 To: u2-users@listserver.u2ug.org
 Subject: [U2] Running a command from / via PCPERFORM
 
 I am trying to PCPERFORM an OS-level command that has to be 
 run from the root directory.  Other than creating a shell 
 script and executing that script, is there a way to structure 
 the commands following PCPERFORM to allow a cd to the root 
 directory and then run the command?  More importantly, is 
 there a platform independent way of doing it so that I don't 
 have to have customizations for Windows vs.
 *nix?
  
 Believe me, if there was a way to do this without having to 
 be at the root, that would be preferable, but this program 
 just happens to require the current working directory to be 
 the root before the command is executed.
  
 -Kevin
 [EMAIL PROTECTED]
 http://www.PrecisOnline.com
 ---
 u2-users mailing list
 u2-users@listserver.u2ug.org
 To unsubscribe please visit http://listserver.u2ug.org/
---
u2-users mailing list
u2-users@listserver.u2ug.org
To unsubscribe please visit http://listserver.u2ug.org/


RE: [U2] MegaWest Practice Managment system

2006-03-13 Thread Perry Taylor
Martin,

I worked for MegaWest for several years and unless Companion
Technologies (the company who now owns MegaWest) has begun not
installing dictionaries they have always been there.  One convention
that I introduced while there was for all production dictionary items
were to be named with a leading exclamation mark to make a distinction
between those items managed by MegaWest and user-defined items.  Is it
possible that the method by which you are trying to list the dictionary
items ignores items with exclamation marks?

Perry

-Original Message-
From: [EMAIL PROTECTED]
[mailto:[EMAIL PROTECTED] On Behalf Of Martin Scholl
Sent: Monday, March 13, 2006 11:03 AM
To: u2-users@listserver.u2ug.org
Subject: [U2] MegaWest Practice Managment system

I am scoping out a MegaWest system and see that the dictionary files are
empty.   The client wants ODBC access to the data, but without
dictionaries
it is Mission Impossible.
Does anyone have experience with this system?



-Original Message-
From: [EMAIL PROTECTED]
[mailto:[EMAIL PROTECTED] On Behalf Of Steve Ferries
Sent: Friday, March 10, 2006 5:19 PM
To: u2-users@listserver.u2ug.org
Subject: [U2] SUBR called from an I-Descriptor

Hi All,

UniVerse 10.1.14
AIX 5.1

Here is my I-Descriptor:

 OGA.CD
0001 I
0002 SUBR(GET.OGA.CD,@ID,OGACODE)
0003
0004
0005 4L
0006 S

I can compile it fine under one file:
Compiling OGA.CD.
SUBR ( GET.OGA.CD , @ID , STATUS )

However it fails when I compile it under a second file. The second file
is a partfile, with indexes.
Here is the error:
Compiling OGA.CD.
SUBR ( GET.OGA.CD , @ID , Word OGACODE.
OGACODE syntax error

If I change the SUBR to SUBR ( GET.OGA.CD , @ID), it compiles:
Compiling OGA.CD.
SUBR ( GET.OGA.CD , @ID )

The subroutine looks like this (I have not coded anything yet except for
the two lines):

0001 SUBROUTINE GET.OGA.CD (OGA.CODE,VALUE,OGACODE)
0002 RETURN

I am pulling out what is left of my hair.

Thanks,


Steve Ferries
TCR Limited
---
u2-users mailing list
u2-users@listserver.u2ug.org
To unsubscribe please visit http://listserver.u2ug.org/
---
u2-users mailing list
u2-users@listserver.u2ug.org
To unsubscribe please visit http://listserver.u2ug.org/

CONFIDENTIALITY NOTICE: This e-mail message, including any attachments, is for 
the sole use of the intended recipient(s) and may contain confidential and 
privileged information.  Any unauthorized review, use, disclosure or 
distribution is prohibited. ZirMed, Inc. has strict policies regarding the 
content of e-mail communications, specifically Protected Health Information, 
any communications containing such material will be returned to the originating 
party with such advisement noted. If you are not the intended recipient, please 
contact the sender by reply e-mail and destroy all copies of the original 
message.
---
u2-users mailing list
u2-users@listserver.u2ug.org
To unsubscribe please visit http://listserver.u2ug.org/


[U2] Running a command from / via PCPERFORM

2006-03-13 Thread Kevin King
I am trying to PCPERFORM an OS-level command that has to be run from
the root directory.  Other than creating a shell script and executing
that script, is there a way to structure the commands following
PCPERFORM to allow a cd to the root directory and then run the
command?  More importantly, is there a platform independent way of
doing it so that I don't have to have customizations for Windows vs.
*nix?
 
Believe me, if there was a way to do this without having to be at the
root, that would be preferable, but this program just happens to
require the current working directory to be the root before the
command is executed.
 
-Kevin
[EMAIL PROTECTED]
http://www.PrecisOnline.com
---
u2-users mailing list
u2-users@listserver.u2ug.org
To unsubscribe please visit http://listserver.u2ug.org/


RE: [U2] Running a command from / via PCPERFORM

2006-03-13 Thread Timothy Snyder
Dean Armbruster wrote on 03/13/2006 04:33:27 PM:

 PCPERFORM can do multiple commands.  Separate them with a linefeed
 (char(10)).
snip
 This is on HP-UX with the Bourne shell.  I don't know about other
 shells, other unix, or Windows.

Unfortunately, this won't work on Windows.  Neither will the semicolon as 
proposed in a previous posting.  On Windows you can use an ampersand as a 
line separator.  Of course, if you use that same construct in UNIX you'll 
get totally different results (possibly amusing, possibly frightening, 
definitely incorrect), since anything preceding the ampersand will be 
launched as a background process with the rest being tossed.  If you have 
software that needs to work on both NIX and Doze, you'll probably have to 
check SYSTEM(33) to see which you're running, and assign your continuation 
character accordingly.  Hey, you'll probably be doing that anyway, to deal 
with forward slashes versus backslashes and some other things.


Tim Snyder
Consulting I/T Specialist , U2 Professional Services
North American Lab Services
DB2 Information Management, IBM Software Group
717-545-6403
[EMAIL PROTECTED]
---
u2-users mailing list
u2-users@listserver.u2ug.org
To unsubscribe please visit http://listserver.u2ug.org/


[U2] Re: [U2C] Advantages of U2 query over SQL

2006-03-13 Thread Jerry Banker
Ok, so maybe some things have changed in the last 16 years since I worked on 
SQL. There must be some overhead doing this, sort of like data replication, 
unless the table you are talking about is more like building a separate 
dictionary full of I-descriptors and using it instead of the regular 
dictionary and you actually are looking at the live data.


- Original Message - 
From: Michael Doyle [EMAIL PROTECTED]

To: Jerry Banker [EMAIL PROTECTED]
Cc: [EMAIL PROTECTED]
Sent: Monday, March 13, 2006 3:01 PM
Subject: Re: [U2C] Advantages of U2 query over SQL



Mr. Banker:

I'm sorry, but this is patently untrue. A view updates with the tables
it is created against. I'd offer a link to a definition, but the only
usable one I can find on the web is from Wikipedia. Here's a
disproof-by-example in PostgreSQL:

test=# \d foo
 Table public.foo
Column |  Type   | Modifiers
+-+---
baz| integer |

test=# create view bar as select * from foo;
CREATE VIEW

test=# select * from bar;
baz
-
  1
  2
  3
  4
(4 rows)

test=# insert into foo(baz) values (5);
INSERT 17244 1

test=# select * from bar;
baz
-
  1
  2
  3
  4
  5
(5 rows)

test=# update foo set baz=50 where baz=5;
UPDATE 1

test=# select * from bar;
baz
-
  1
  2
  3
  4
 50
(5 rows)


Michael Doyle
Linux Administrator / Developer
AMO Recoveries

On Mon, 2006-03-13 at 13:50 -0600, Jerry Banker wrote:
Views are also just that, a view of the data at a specific time in the 
past.

To get a view at another time you have to regenerate the view again. With
virtual fields (I-descriptors) the data is real time all of the time.

---
u2-users mailing list
u2-users@listserver.u2ug.org
To unsubscribe please visit http://listserver.u2ug.org/


RE: [U2] Running a command from / via PCPERFORM

2006-03-13 Thread Michael Doyle
On Mon, 2006-03-13 at 17:08 -0500, Timothy Snyder wrote:
 Dean Armbruster wrote on 03/13/2006 04:33:27 PM:
 
  PCPERFORM can do multiple commands.  Separate them with a linefeed
  (char(10)).
 snip
  This is on HP-UX with the Bourne shell.  I don't know about other
  shells, other unix, or Windows.
 
 Unfortunately, this won't work on Windows.  Neither will the semicolon as 
 proposed in a previous posting.  On Windows you can use an ampersand as a 
 line separator.  Of course, if you use that same construct in UNIX you'll 
 get totally different results (possibly amusing, possibly frightening, 
 definitely incorrect), since anything preceding the ampersand will be 
 launched as a background process with the rest being tossed.  

But what if we use TWO ampersands?! It's so crazy, it just might work:

cd something  runcommand

In both DOS and Bourne this command will change directory to something
and, if that succeeded, execute runcommand. How you get 'something' to
be '\' in DOS and '/' in UNIX is up to you. Which is to say, I don't
think it's possible.

Thanks,

Michael Doyle
Linux Administrator / Developer
AMO Recoveries
---
u2-users mailing list
u2-users@listserver.u2ug.org
To unsubscribe please visit http://listserver.u2ug.org/


Re: [U2] Advantages of U2 query over SQL

2006-03-13 Thread Ray Wurlod

Terminology as I understand it.

View: a pre-stored SELECT statement that can be used to deliver a result set 
when used.  The result set can be filtered, constrained, grouped and or 
sorted by the query that invokes the view.  The view is materialized only 
when used in a query and is thus as current as when the query is begun.


Materialized View: a view in which the results are pre-calculated and stored 
in a summary table.  UniVerse does not support materialized views.  I 
suspect UniData doesn't either, but am not sure.


Snapshot: the result of a query taken at a particular time and stored for 
posterity.  UniVerse does not support snapshots directly, but clearly can do 
so via means such as REFORMAT, INSERT INTO table SELECT ... or the LPTR 
keyword (not to mention the COMO or DIVERT.OUT verbs). 
---

u2-users mailing list
u2-users@listserver.u2ug.org
To unsubscribe please visit http://listserver.u2ug.org/


[U2] [UD] Determine path logged on users are in

2006-03-13 Thread Bill Haskett
How does one go about determining the account (path) other users are logged
into?  If I do an LISTUSER I get:

2 Dtademo (0)- lu

Licensed(UDT+CP)/Effective UdtSqliPhtmPooledTotal

(   2 + 0   ) / 210001

UDTNO USRNBR  UID   USRNAME  USRTYPE  TTY IP-ADDRESSTIME DATE
1  2232  197615 wphaskett udt pts/1   192.168.1.51  14:36:27 Mar 13
2006
2  1844  197615 wphaskett udt pts/2   192.168.1.51  18:17:13 Mar 13
2006

2 Dtademo (0)- where
E:\IBM\ud71\DtaDemo

I'd like to allow some users to list all users logged onto their application
(logged into their accounts) then give them the option to log them off.  I'm
not sure if this is possible in UniData.

Any ideas would be appreciated.  As always, thanks.  :-)

Bill Haskett
Advantos Systems, Inc.
www.advantos.net 
(760)944-5570 (CA)
(360)923-4838 (WA)
---
u2-users mailing list
u2-users@listserver.u2ug.org
To unsubscribe please visit http://listserver.u2ug.org/


Re: [U2] [UD] Determine path logged on users are in

2006-03-13 Thread jbutera

I'd like to allow some users to list all users logged onto their application
(logged into their accounts) then give them the option to log them off.  I'm
not sure if this is possible in UniData.

Any ideas would be appreciated.  As always, thanks.  :-)


On Unix it's easy with fuser on the VOC file - but you're on windows, so 
I don't have any insight.


Jeff Butera, Ph.D.
Administrative Systems
Hampshire College
[EMAIL PROTECTED]
413-559-5556

We're not given the burdens we deserve,
we're given the burdens we can bear.  Several
---
u2-users mailing list
u2-users@listserver.u2ug.org
To unsubscribe please visit http://listserver.u2ug.org/


[U2] Write failure on DIR-type file

2006-03-13 Thread Kevin King
Here's a weird one.  Trying to create a record in a directory file in
Unidata on Windows, and the name CON.XXX fails with a write failure.
Doesn't matter what the follows CON., this file name is apparently
illegal.
 
It would appear that Windows thinks any file name starting with CON.
is being interpreted as the console device.  Anyone else seen this
before?
 
-Kevin
[EMAIL PROTECTED]
http://www.PrecisOnline.com
---
u2-users mailing list
u2-users@listserver.u2ug.org
To unsubscribe please visit http://listserver.u2ug.org/


RE: [U2] Write failure on DIR-type file

2006-03-13 Thread Stevenson, Charles
Nope, never saw it before.  But I can't create CON.XXX from Explorer or
other native Win-XP utilities either.  Apparently not a UD restriction,
but a Windows one.

Now I'm wondering about UV, too.  For backward compatibility with Pick,
UV generally transforms illegal characters in the item id into
something that the OS will allow as part of a filename.  I don't know
what it does with a CON. prefix.

Does UD generally do that sort of transformation, too?  I'm guessing
not.  I'm guessing it conforms to the OS?

cds

 From: Kevin King
 
 Here's a weird one.  Trying to create a record in a directory 
 file in Unidata on Windows, and the name CON.XXX fails with a 
 write failure.
 Doesn't matter what the follows CON., this file name is 
 apparently illegal.
  
 It would appear that Windows thinks any file name starting with CON.
 is being interpreted as the console device.  Anyone else seen 
 this before?
---
u2-users mailing list
u2-users@listserver.u2ug.org
To unsubscribe please visit http://listserver.u2ug.org/


RE: [U2] Write failure on DIR-type file

2006-03-13 Thread Logan, David (SST - Adelaide)
You may find this reference exceedingly useful

http://msdn.microsoft.com/library/default.asp?url=/library/en-us/fileio/
fs/naming_a_file.asp

Regards


---
** _/ **  David Logan 
***   _/ ***  ITO Delivery Specialist - Database
*_/*  Hewlett-Packard Australia Ltd
_/_/_/  _/_/_/    E-Mail: [EMAIL PROTECTED]
   _/  _/  _/  _/     Desk:   +618 8408 4273
  _/  _/  _/_/_/  Mobile: 0417 268 665
*_/   **
**  _/    Postal: 148 Frome Street,
   _/ **  Adelaide SA 5001
  Australia 
invent   
---

-Original Message-
From: [EMAIL PROTECTED]
[mailto:[EMAIL PROTECTED] On Behalf Of Stevenson,
Charles
Sent: Tuesday, 14 March 2006 5:16 PM
To: [EMAIL PROTECTED]; u2-users@listserver.u2ug.org
Subject: RE: [U2] Write failure on DIR-type file

Nope, never saw it before.  But I can't create CON.XXX from Explorer or
other native Win-XP utilities either.  Apparently not a UD restriction,
but a Windows one.

Now I'm wondering about UV, too.  For backward compatibility with Pick,
UV generally transforms illegal characters in the item id into
something that the OS will allow as part of a filename.  I don't know
what it does with a CON. prefix.

Does UD generally do that sort of transformation, too?  I'm guessing
not.  I'm guessing it conforms to the OS?

cds

 From: Kevin King
 
 Here's a weird one.  Trying to create a record in a directory 
 file in Unidata on Windows, and the name CON.XXX fails with a 
 write failure.
 Doesn't matter what the follows CON., this file name is 
 apparently illegal.
  
 It would appear that Windows thinks any file name starting with CON.
 is being interpreted as the console device.  Anyone else seen 
 this before?
---
u2-users mailing list
u2-users@listserver.u2ug.org
To unsubscribe please visit http://listserver.u2ug.org/
---
u2-users mailing list
u2-users@listserver.u2ug.org
To unsubscribe please visit http://listserver.u2ug.org/


RE: [U2] Write failure on DIR-type file

2006-03-13 Thread Steve Long
Yep, see this and its been a problem for a while.  A company I worked for 
has a file named to as CON..  Their software was originally written in 
PICK, but when they converted it to Unidata and moved to Windows, they 
discovered they couldn't create a file with that name.


On windows, it is restricted as it refers to the DOS device Console.  To get 
by it, we named the file UDCON. and created a VOC pointer called 
CON. pointing to the UDCON. file.  Worked like a charm.


Incidentally, there are several names you can't use to create folders/files, 
such as:


CON, PRN, AUX, CLOCK$, NUL, COM1, COM2, COM3, COM4, COM5, COM6, COM7, COM8, 
COM9, LPT1, LPT2, LPT3, LPT4, LPT5, LPT6, LPT7, LPT8, and LPT9.


And to go into complete overkill on this, 
http://msdn.microsoft.com/library/default.asp?url=/library/en-us/fileio/fs/naming_a_file.asp 
explains naming conventions for Windows.


Hope this helps.

Steve


From: Kevin King [EMAIL PROTECTED]
Reply-To: [EMAIL PROTECTED]
To: u2-users@listserver.u2ug.org
Subject: [U2] Write failure on DIR-type file
Date: Mon, 13 Mar 2006 20:55:49 -0700

Here's a weird one.  Trying to create a record in a directory file in
Unidata on Windows, and the name CON.XXX fails with a write failure.
Doesn't matter what the follows CON., this file name is apparently
illegal.

It would appear that Windows thinks any file name starting with CON.
is being interpreted as the console device.  Anyone else seen this
before?

-Kevin
[EMAIL PROTECTED]
http://www.PrecisOnline.com
---
u2-users mailing list
u2-users@listserver.u2ug.org
To unsubscribe please visit http://listserver.u2ug.org/

---
u2-users mailing list
u2-users@listserver.u2ug.org
To unsubscribe please visit http://listserver.u2ug.org/