Jump to content United States-English
HP.com Home Products and Services Support and Drivers Solutions How to Buy
» Contact HP
More options
HP.com home
Using KSAM XL and KSAM 64: 900 Series HP 3000 Computer Systems > Chapter 2 Creating a KSAM File

Loading Data to a KSAM64 File

» 

Technical documentation

Complete book in PDF
» Feedback
Content starts here

 » Table of Contents

 » Index

The FCOPY utility is also used to load data to a KSAM64 file. In order to copy data to a KSAM64 file, a file equation must first be referenced which specifies the KSAM64 file type

For example:

   :FILE NEWKSM64; KSAM64
:FCOPY FROM=OLDKSMXL; TO=(*NEWKSM64)

In the example above, the file equation overrides the FCOPY default of creating a KSAM XL file.

This example also could be used to copy data from a CM KSAM file, or any other FROM file type.

The FCOPY utility can also be used to retrieve data from a KSAM64 file (use the KSAM64 file as the FROM file) and to copy to a KSAM64 file with different attributes. The following example shows how a new larger KSAM64 file can be created from an existing, smaller KSAM64 file

   :FILE DATANEW; KSAM64; DISC=1000000000
:FCOPY FROM=DATA; TO=(*DATANEW)
Printable version
Privacy statement Using this site means you accept its terms Feedback to webmaster
© Hewlett-Packard Development Company, L.P.