Hi Bill

From: "Bill Haskett" <[EMAIL PROTECTED]>
Reply-To: [email protected]
To: <[email protected]>
Subject: RE: [U2] [UD] Referencing remote file directly
Date: Thu, 19 Jan 2006 16:13:53 -0800

Rodney:

Thanks. I was thinking this was true. U2 does allow direct reference to an
O/S path from within BASIC, e.g:

OPEN 'DOS:E:\IBM\ud71\sys\BP' TO BP.FV ...     (in D3)
OSOPEN 'E:\IBM\ud71\sys\BP' TO BP.FV...        (in UD)

I'm not sure this is what you want really. If you OSOPEN a file you're opening it as a sequential file aren't you - so that you can then go on and READSEQ from it? It's as though you're opening a connection to a tape drive, and therefore you are limited to processing it in sequential order. I don't think you'll be able to READ REC FROM BP.FV,"MYPROG"... I could be wrong...

Mike.

OPENPATH 'E:\IBM\ud71\sys\BP' TO BP.FV...      (in UV)

I can do this (assuming I have permissions) in DOS or Linux by:

>dir e:\IBM\ud71\sys\BP
     or
#ls -al /ourdir/ourbankdata

D3 allows such direct O/S reference from TCL, like:

:LIST DOS:E:\IBM\ud71\sys\BP
     or
:LIST UNIX:/ourdir/ourbankdata

Or to a file within a different D3 account by:

:LIST PAYROLL,EMPLOYEE,2004,
     or
:LIST DM,BP,

This would one less layer of "stuff" we'd have to go through when installing
and configuring our application and I'm thinking: less is more (or where is
the MV2006 standard).  :-)

Thanks again.  Maybe this would be a good enhancement request.  :-)

Bill


> -----Original Message-----
> From: [EMAIL PROTECTED]
> [mailto:[EMAIL PROTECTED] On Behalf Of
> Baakkonen, Rodney A (Rod) 46K
> Sent: Thursday, January 19, 2006 1:15 AM
> To: '[email protected]'
> Subject: RE: [U2] [UD] Referencing remote file directly
>
> Sorry late night. I did not see you want to do a LIST using
> the full path.
> You do need a VOC pointer in Unidata. Even ecltype u says a
> direct reference is not a file name
>
> list /mccdata/mcc13/CLM.DETAIL
> Not a filename :
>  /mccdata/mcc13/CLM.DETAIL
>
> Sure, you can use full paths in attribute 2 or 3 of Unidata
> VOCS. We make extensive use of @UDTHOME on our dev box. We
> have a development env, Systems and Acceptance, End To End
> and a training environment on the same server. We have a UNIX
> shell script that prompts a logged in user which environment
> they want to go to. From a maintenance stand point, the VOC's
> for all these environments are the same, using @UDTHOME. But
> the shell script sets a different $UDTHOME, so each
> environment has its own unique sets of the files. To see what
> your UDTHOME home is set to, do a !echo $UDTHOME at ECL.
>
> Hardcoded paths would make the maintenance of these
> environments a major headache. So I see @UDTHOME as a major
> blessing. - Rod
>
> -----Original Message-----
> From: [EMAIL PROTECTED]
> [mailto:[EMAIL PROTECTED] Behalf Of Mike Preece
> Sent: Thursday, January 19, 2006 2:15 AM
> To: [email protected]
> Subject: RE: [U2] [UD] Referencing remote file directly
>
>
> I think not. This is often mentioned as one of the
> differences. I assume you'ved used indexinfocus to search?
>
>
>
> >From: "Bill Haskett" <[EMAIL PROTECTED]>
> >Reply-To: [email protected]
> >To: <[email protected]>
> >Subject: [U2] [UD] Referencing remote file directly
> >Date: Wed, 18 Jan 2006 20:57:32 -0800
> >
> >I can't find the old discussions of this but can one
> reference a remote
> >file
> >directly in UniData.  For instance, can I:
> >
> >:LIST D:\IBM\ud71\sys\VOC
> >
> >instead of needing a link like:
> >
> >001 F
> >002 @UDTHOME\sys\VOC
> >002 @UDTHOME\sys\D_VOC
> >
> >?
> >
> >Any help would be appreciated.  :-)
> >
> >Bill Haskett
-------
u2-users mailing list
[email protected]
To unsubscribe please visit http://listserver.u2ug.org/

_________________________________________________________________
New year, new job  there's more than 100,00 jobs at SEEK http://a.ninemsn.com.au/b.aspx?URL=http%3A%2F%2Fninemsn%2Eseek%2Ecom%2Eau&_t=752315885&_r=Jan05_tagline&_m=EXT
-------
u2-users mailing list
[email protected]
To unsubscribe please visit http://listserver.u2ug.org/

Reply via email to