Sent: 16 May 2008 10:04
To: u2-users@listserver.u2ug.org
Subject: [U2] Creating a file in a different account
I am wondering how you could create a file in a different
account to the one I am logged into
EG:
I am logged into LIVE and would like to create a new file in
ODBC through
I am wondering how you could create a file in a different account to the
one I am logged into
EG:
I am logged into LIVE and would like to create a new file in ODBC
through a program without loggin into ODBC
Many Thanks
Bjorn
Important Notice: This email is subject to important restrictions,
There is not a version of this for UniData is there?!?
-Original Message-
From: [EMAIL PROTECTED]
[mailto:[EMAIL PROTECTED] On Behalf Of Brian Leach
Sent: Friday, May 16, 2008 4:35 AM
To: u2-users@listserver.u2ug.org
Subject: RE: [U2] Creating a file in a different account
quote who='David Wolverton' date='Friday 16 May 2008'
There is not a version of this for UniData is there?!?
There is a 'udfile' in $UDTBIN, but not sure if it's the same as mkdbfile on
Universe.
Bjorn
You can call out to the mkdbfile executable in the
$UVHOME\bin directory.
To: u2-users@listserver.u2ug.org
Subject: RE: [U2] Creating a file in a different account
Bjorn
You can call out to the mkdbfile executable in the
$UVHOME\bin directory.
mkdbfile filepath type modulus separation
Depending on how you want to do this, here is a suggestion:
1. Create
$UDTBIN/udfile is NOT for creating files in other accounts in UniData.
It can be used to see if a file is flagged as Recoverable or to set/unset
the recoverable file bit (with the database down or up with RFS off).
In UniData, you can specify a path to a remote directory in the command
line.
This
, 2008 11:36 AM
To: u2-users@listserver.u2ug.org
Subject: RE: [U2] Creating a file in a different account
Unidata's CREATE.FILE command allows you to specify the directory path.
So you could replace the mkdbfile commands in steps 3 and 4 with
CREATE.FILE DICT /dir/subdir/FILENAME mod,sep
No. But you don't need it. CREATE.FILE will work with the full path.
So the instructions are similar:
1. create a pointer to the VOC in the remote account
2. CREATE.FILE fullpath\filename etc.
3. create an item in the remote VOC to point to the file
4. If required, delete local VOC item pointing
@listserver.u2ug.org
Subject: RE: [U2] Creating a file in a different account
Bjorn
You can call out to the mkdbfile executable in the
$UVHOME\bin directory.
mkdbfile filepath type modulus separation
Depending on how you want to do this, here is a suggestion:
1. Create a Q pointer to the remote
OK - I was hoping there was a 'One Stop Shopping' that would build the
'remote file' and update the 'remote VOC' -- much like the UniVerse command
appears to do -- we don't have that in UniData it would appear from the
thread
Unidata's CREATE.FILE command allows you to specify the
10 matches
Mail list logo