Re: [U2] File pointer question

2008-06-16 Thread T Stokes
With the help IBM I  was able to resolve the problem. Fixing it required
changing a pointer.

-- 
View this message in context: 
http://www.nabble.com/File-pointer-question-tp17788496p17870502.html
Sent from the U2 - Users mailing list archive at Nabble.com.
---
u2-users mailing list
u2-users@listserver.u2ug.org
To unsubscribe please visit http://listserver.u2ug.org/


Re: [U2] File pointer question

2008-06-13 Thread Mats Carlid
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/


Re: [U2] File pointer question

2008-06-12 Thread David Beaty
Is it possible some other program has the file open in the other directory 
and its sharing the file handle?


Either a COMMON issue or the rotating file pool?

David

--
From: T Stokes [EMAIL PROTECTED]
Sent: Wednesday, June 11, 2008 11:21 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



--
View this message in context: 
http://www.nabble.com/File-pointer-question-tp17788496p17788496.html

Sent from the U2 - Users mailing list archive at Nabble.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] File pointer question

2008-06-12 Thread iggchamp
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/


Re: [U2] File pointer question

2008-06-11 Thread Wally Terhune
If UniData, you may have overwritten the VOC entry in your VOC file.
Try looking at the VOC item using the lowercase voc entry to see if that
sheds any light.

AE voc VOC

 Wally Terhune   Mark your
 U2 Support Architectcalendar!
 IBM Information Management Software
 Tel: (303) 773-7969 T/L
 656-7969
 Mobile: (303) 807-6222
 Email: [EMAIL PROTECTED]
 http://www.ibm.com/software/data/u2/support








  From:   T Stokes [EMAIL PROTECTED]

  To: u2-users@listserver.u2ug.org

  Date:   06/11/2008 05:28 PM

  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



--
View this message in context:
http://www.nabble.com/File-pointer-question-tp17788496p17788496.html
Sent from the U2 - Users mailing list archive at Nabble.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/jpeg which had a name of 
26849515.jpg]

[demime 1.01d removed an attachment of type image/gif which had a name of 
graycol.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/