HP3000-L Archives

November 2022, 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:
"James B. Byrne" <[log in to unmask]>
Reply To:
Date:
Wed, 2 Nov 2022 16:47:26 -0400
Content-Type:
multipart/mixed
Parts/Attachments:
text/plain (2556 bytes) , AAAAAA-HP30000-EMPTY.txt (130 bytes)
On Wed, November 2, 2022 13:02, James B. Byrne wrote:
> Is there a simple way to expand the size of an existing KSAMXL file?  I seem
to recall that this could be done with FCOPY options but it has been some
time since I last had to do this and cannot find my notes.
>
> Regards,
>

On Wed, November 2, 2022 13:23, Craig Lalley wrote:
> Document Display | HPE Support Center
>
> |
> |
> |  |
> Document Display | HPE Support Center
> Hewlett Packard Enterprise
>
https://support.hpe.com/hpesc/public/docDisplay?docId=c02202526&docLocale=en_US


I have used the reference kindly provided to me by Mr. Lalley but I appear to
be missing something.  As I read these instructions:


To increase the size of a KSAM file, the method would be the same for all types:

    Create a file equation with the new file limit:

    file newksam;disc=#######

    Use fcopy to copy the contents of the old file to the new file. Using fcopy
will by pass xm overhead that will occur with NMKSAM and KSAM64 files.

    FCOPY FROM=OLDFILE;TO=*NEWKSAM;NEW

    This command will copy the old file characteristics and the new file limit
to the newfile named NEWKSAM and save the file.


SO, this is what I did:

: FILE ACCTK02N;DISC=32000
: LISTF ACCTK02D.DATA,2
ACCOUNT=  HARTLYNE    GROUP=  DATA

FILENAME  CODE  ------------LOGICAL RECORD-----------  ----SPACE----
                  SIZE  TYP        EOF      LIMIT R/B  SECTORS #X MX

ACCTK02D           62B  FAK      11500      11500   4     9792  2  *

: FCOPY FROM=ACCTK02D.DATA;TO=*ACCTK02N;NEW
HP31900A.05.04 FILE COPIER (C) HEWLETT-PACKARD CO. 1999

EOF FOUND IN FROMFILE AFTER RECORD 11499

11500 RECORDS PROCESSED *** 0 ERRORS


END OF SUBSYSTEM

But this is what I ended up with:

:LISTF ACCTK02N,2
ACCOUNT=  HARTLYNE    GROUP=  TESTOBJ

FILENAME  CODE  ------------LOGICAL RECORD-----------  ----SPACE----
                  SIZE  TYP        EOF      LIMIT R/B  SECTORS #X MX

ACCTK02N           62B  FA       11500      32000   4     3072 12  8

Note that the file type is not FAK.  So, what is missing?

Regards,





-- 
***          e-Mail is NOT a SECURE channel          ***
        Do NOT transmit sensitive data via e-Mail
   Unencrypted messages have no legal claim to privacy
 Do NOT open attachments nor follow links sent by e-Mail

James B. Byrne                mailto:[log in to unmask]
Harte & Lyne Limited          http://www.harte-lyne.ca
9 Brockley Drive              vox: +1 905 561 1241
Hamilton, Ontario             fax: +1 905 561 0757
Canada  L8E 3C3

* 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