Hi Jeff and others,
thanks for the help, it now works a treat.
one thing still puzzles me though,
take the following
----------------------------------
:LISTF XYZ,2
Non-existent file. (CIERR 907)
:LISTFTEMP @,2
Temporary file not found. (CIWARN 3289)
:SHOWJOB > XZY
:CALC FINFO("XZY",19)
74, $4A, %112
:LISTFTEMP @,2
TEMPORARY FILES FOR K0001.SYS,TEST
ACCOUNT= SYS GROUP= COMFILES
FILENAME CODE ------------LOGICAL RECORD----------- ----SPACE----
SIZE TYP EOF LIMIT R/B SECTORS #X MX
XZY 256B VA 74 10000 1 32 1 * (TEMP)
----------------------------------
I would still like to understand whether FINFO should or should not be able
to function on
files in the temporary domain, if there are no fileeqs to assist it.
Confused,
Kev
> -----Original Message-----
> From: VANCE,JEFF (HP-Cupertino,ex1) [mailto:[log in to unmask]]
> Sent: 15/12/1999 16:45
> To: 'Kevin O'Sullivan'; [log in to unmask]
> Subject: RE: finfo not finding a temporary file?
>
>
> I am not sure why FINFO was working for you against the TEMP file
> on your development system in the first place, but most likely
> you had a permanent file of the same name. To get FINFO to look
> in the TEMP domain a fileq equation is required. E.g.
> file x=cilista;temp
> if finfo("*x","eof") = 2 then
>
> FINFO just calls the FLABELINFO intrinsic so reading how this
> intrinsic works for TEMP files will shed some light too.
>
> ...
> > IF FINFO("CILISTA",19) = 2
> > Processing CILISTA
> > NONEXISTENT PERMANENT FILE (FSERR 52)
> > An error occurred while accessing the file for FINFO. (CIERR 9984)
> ...
>
> HTH,
> Jeff Vance, CSY
>
**********************************************************************
This email and any files transmitted with it are confidential and
intended solely for the use of the individual or entity to whom they
are addressed. If you have received this email in error please notify
the email administrator - [log in to unmask]
**********************************************************************
|