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

Modifying Existing File Specifications While Copying

» 

Technical documentation

Complete book in PDF
» Feedback
Content starts here

 » Table of Contents

 » Index

A file equation can be used to modify file specifications of an existing file. The FCOPY subsystem can be used to copy data from an existing file into a new file using a back reference to the file equation for the new specifications. The following example copies data from the file DOC to a new KSAM XL file DOC1. The file type and key specifications for the new file are specified in the file equation.

   FILE DOC1=DOC1;KSAMXL;KEY=(b,1,4)
FCOPY FROM=DOC;TO=*DOC1;NEW
Printable version
Privacy statement Using this site means you accept its terms Feedback to webmaster
© Hewlett-Packard Development Company, L.P.