HP3000-L Archives

November 2005, Week 1

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:
Glenn Mitchell <[log in to unmask]>
Reply To:
Glenn Mitchell <[log in to unmask]>
Date:
Tue, 1 Nov 2005 20:25:45 -0500
Content-Type:
text/plain
Parts/Attachments:
text/plain (43 lines)
Probably should include:

PURGE TMPDATA
PURGE TMPKEY

before the KSAMUTIL execution and after the FCOPY if you take this approach.


Glenn

-----Original Message-----
From: HP-3000 Systems Discussion [mailto:[log in to unmask]] On Behalf
Of Ken Hirsch
Sent: Tuesday, November 01, 2005 4:22 PM
To: [log in to unmask]
Subject: Re: [HP3000-L] KSAM Files (not Native Mode)

Eric Williams wrote:

>I need to set up a procedure to increase the size of KSAM files for a
completely new HP3000 user.  These files are NOT native mode. 
> 
>So far my solution has been to
>1. fcopy the records out of the KSAM file to a flat file 2. Use KSAM 
>Util to get Key info 3. Purge and Rebuild the file 4. fcopy the records 
>back into the KSAM file
> 
>

KSAMUTIL
  RENAME OLDDATA,TMPDATA
  RENAME OLDKEY,TMPKEY
  EXIT

FILE OLDDATA;DISC=90000
FCOPY FROM=TMPDATA;TO=(*OLDDATA,OLDKEY);NEW

* To join/leave the list, search archives, change list settings, *
* etc., please visit http://raven.utc.edu/archives/hp3000-l.html *

* To join/leave the list, search archives, change list settings, *
* etc., please visit http://raven.utc.edu/archives/hp3000-l.html *

ATOM RSS1 RSS2