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 6 Writing and Updating Record Data

Updating Existing Records

» 

Technical documentation

Complete book in PDF
» Feedback
Content starts here

 » Table of Contents

 » Index

To update a record in a KSAM file, the HPFOPEN or FOPEN intrinsic call to open the file must specify update access. This is set by the aoption parameter. Normally, you would read the record with one of the read intrinsics , to verify its contents before modification.

The FUPDATE intrinsic writes the contents of the buffer area over the contents of the last record accessed. This buffer area is identified in an FUPDATE intrinsic parameter. The written record must contain all the key values expected by the file. If only a portion of the record is updated, specified by the tcount parameter, this portion must contain all primary and alternate key values. If it does not, a CCL condition is returned and the update does not take place.

Printable version
Privacy statement Using this site means you accept its terms Feedback to webmaster
© Hewlett-Packard Development Company, L.P.