Nice idea  -

but  change  @WHO  to  @PATH  to catch the situation that
you have two accounts with the same name under different paths.

When we were bit by this - as PI newbees in the early 80's
- we just banned logto's and never used'em since.

-- mats


[EMAIL PROTECTED] skrev:
> I was bit by that one a long while ago. 
>
> If that's the case, best to do something like the following to make sure the 
> info is relevant to the current account.
>
> COMMON /PGMNAME/ FILE.POINTER,PGMNAME.INIT
> IF NOT(ASSIGNED(PGMNAME.INIT)) THEN PGMNAME.INIT=''
> IF [EMAIL PROTECTED] THEN
>      PGMNAME.INIT=''
>      OPEN '',FILE.NAME TO FILE.POINTER ELSE WHATEVER
>      [EMAIL PROTECTED]
> END
>
>
> -------------- Original message -------------- 
> From: "Mats Carlid" <[EMAIL PROTECTED]> 
>
>   
>> Another possibility is that You opened the file in the other 
>> directory and then LOGTO'ed the current. 
>> Especially watch out for file pointers kept in common - 
>> if You use them the open and logto may have been done 
>> outside the current program. 
>> -- mats 
>>
>> Jeff Fitzgerald skrev: 
>>     
>>> If you are on a UNIX system the file may be a symbolic link to a file in 
>>> another account. If this is the case, it is a really bad idea in my 
>>> opinion. (1) It is very confusing! (2) It can cause problems, 
>>> especially on UniVerse, when the file is resized. If you find the file 
>>> is a symbolic link it would probably be worth your while to get rid of 
>>> the link and modify the F pointer to point to the real location. 
>>>
>>> HTH 
>>>
>>> Jeff Fitzgerald 
>>> Fitzgerald & Long, Inc. 
>>> www.fitzlong.com 
>>>
>>>
>>> -----Original Message----- 
>>> From: [EMAIL PROTECTED] 
>>> [mailto:[EMAIL PROTECTED] On Behalf Of T Stokes 
>>> Sent: Wednesday, June 11, 2008 4:22 PM 
>>> To: u2-users@listserver.u2ug.org 
>>> Subject: [U2] File pointer question 
>>>
>>> I have a file that is a F pointer in the VOC yet when a BASIC STATUS is 
>>> ran on the file it points to a file in another account. 
>>> Have not been able to locate the reason for this. I am sure it is 
>>> something simple. 
>>> The VOC entry look like this 
>>> F 
>>> FILENAME 
>>> D_FILENAME 
>>>
>>> The results from STATUS looks like this D:\directory other than the 
>>> directory I am current located\FILENAME 
>>>       
>> ------- 
>> 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-users mailing list
u2-users@listserver.u2ug.org
To unsubscribe please visit http://listserver.u2ug.org/

Reply via email to