HP3000-L Archives

July 1998, Week 5

HP3000-L@RAVEN.UTC.EDU

Options: Use Monospaced Font
Show Text Part by Default
Show All Mail Headers

Message: [<< First] [< Prev] [Next >] [Last >>]
Topic: [<< First] [< Prev] [Next >] [Last >>]
Author: [<< First] [< Prev] [Next >] [Last >>]

Print Reply
Subject:
From:
Leonard Berkowitz <[log in to unmask]>
Reply To:
Leonard Berkowitz <[log in to unmask]>
Date:
Wed, 29 Jul 1998 08:21:52 -0400
Content-Type:
text/plain
Parts/Attachments:
text/plain (42 lines)
The following will give you an approach to this. You can modify it
according to your needs. (My acknowledgements to Paul Gobes of Robelle who
explained BAND to me in December, 1991. I have been using this code in job
streams and command files ever since).

IF FINFO ("file","EXISTS") THEN
    IF (FINFO ("file","FOPTIONS") ) BAND 2 = 2 THEN
        PURGE file,TEMP
    ENDIF
ENDIF
IF FINFO ("file","EXISTS") THEN
    IF (FINFO ("file","FOPTIONS") ) BAND 1 = 1 THEN
        PURGE file
    ENDIF
ENDIF

Leonard S. Berkowitz







Per Ostberg <[log in to unmask]> on 07/29/98 07:27:14 AM

Please respond to [log in to unmask]

To:   [log in to unmask]
cc:    (bcc: Leonard Berkowitz/THP)
Subject:  temp or perm file?




I'd like to find out, from the CI, if a file is in the temp or perm
domain. Is there an finfo-option or some other trick to accomplish this?
TIA
/per
(in writing this I realise I could use listf/listftemp, but maybe
someone knows of a better way?)

ATOM RSS1 RSS2