Subject: | |
From: | |
Reply To: | |
Date: | Tue, 1 Nov 2005 20:25:45 -0500 |
Content-Type: | text/plain |
Parts/Attachments: |
|
|
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 *
|
|
|