HP3000-L Archives

January 1998, Week 4

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:
"Stigers, Greg ~ AND" <[log in to unmask]>
Reply To:
Stigers, Greg ~ AND
Date:
Mon, 26 Jan 1998 11:07:28 -0500
Content-Type:
text/plain
Parts/Attachments:
text/plain (25 lines)
I would like to thank everyone for their responses. I have always hated
the PURGE / BUILD in job streams, but generally just wrote my COBOL to
handle file status codes and accomplish what I wanted, and so avoided
this problem. Now that I have other fish to fry, I will be using this
approach. I do have one question. I tested this with a KSAM file, and
this preserves the create date, and changes the access date, but did
nothing to the modified date! Now, I would consider the loss of all
records to be more of a modification than browsing records, and would
expect that date to change as well. Why does this happen this way?

>----------
>From:  John Clogg[SMTP:[log in to unmask]]
>Sent:  Thursday, January 22, 1998 11:33 AM
>To:    [log in to unmask]
>Subject:       Re: [HP3000-L] Emptying an NM KSAM file
>
>This works, but not in the way described.  The file does not get purged
>and rebuilt.  The way the CI purges a file is to open it and then close it
>with a disposition of purge.  The file command's SAVE option overrides
>that disposition.  The same file still exists, but it is empty because the
>CI's
>FOPEN also opened it with ACC=OUT, which sets the EOF to the
>beginning of the file.  If you add ACC=IN to the file command, the file will
>be unchanged.

ATOM RSS1 RSS2