HPlogo Using KSAM XL: 900 Series HP 3000 Computer Systems > Chapter 2 Creating a KSAM XL File

Using Related Commands

» 

Technical documentation

Complete book in PDF
» Feedback

 » Table of Contents

 » Index

Several MPE/iX commands can be used for KSAM XL files. KSAM XL files can be deleted and renamed using the same commands used with standard files. File attributes can be modified with a file equation.

Deleting a KSAM XL File

KSAM XL files can be deleted using the PURGE command. As with standard files, the file named in the PURGE command is deleted. The accounts receivable file can be deleted using the following command.

   PURGE ARMSTR.MGR.AR

Renaming a KSAM XL File

The RENAME command can be used to change the name of an existing KSAM XL file. The file name specified in the command is deleted. The parameters for the RENAME command are the same as for standard files. The file name specified in the command is deleted. The first file name is the current name of the KSAM XL file. The second file name is the new name of the file.

   RENAME ARMSTR.MGR, OLDMSTR.MGR.

Modifying File Attributes

The FILE command declares the file attributes to be used when an existing file is opened. It can be used with KSAM XL files as well as standard files. The FILE command's keywords (;KSAMXL, ;KEY, ;FIRSTREC, ;LANG, ;REUSE, ;NOREUSE, ;OPTMBLK and ;DEFBLK) perform the same functions as they do for the BUILD command.

The FILE command can be used to override system default file specifications or specifications supplied with the HPFOPEN or FOPEN intrinsic. The new specifications remain in effect for the entire job or session unless they are revoked by the RESET command or superseded by another FILE command.

Feedback to webmaster