KSAM/3000 Reference Manual MPE/iX 5.0 Documentation
KSAM/3000 Reference Manual
Table of Contents
KSAM/3000 Reference Manual
KSAM/3000 Reference Manual : COPYRIGHT NOTICE
INTRODUCING KSAM/3000
KSAM/3000 FEATURES
HOW TO USE KSAM FILES
HOW TO USE THIS MANUAL
USING KSAM UTILITIES
OVERVIEW
KSAMUTIL UTILITY
HELP
BUILD
ERASE
PURGE
RENAME
SAVE
VERIFY
KEYSEQ
KEYDUMP
KEYINFO
USING KSAMUTIL IN BATCH MODE
FCOPY UTILITY
FCOPY FROM COMMAND
:STORE AND :RESTORE COMMANDS
STORE
RESTORE
USING KSAM FILES IN COBOL PROGRAMS
CALLING A KSAM PROCEDURE
FILETABLE PARAMETER
FILETABLE
STATUS PARAMETER
STATUS
KSAM LOGICAL RECORD POINTER
CKCLOSE
CKDELETE
CKERROR
CKLOCK
CKOPEN
CKOPENSHR
CKREAD
CKREADBYKEY
CKREWRITE
CKSTART
CKUNLOCK
CKWRITE
EXAMPLES OF KSAM FILE ACCESS FROM COBOL PROGRAM
USING KSAM FILES IN SPL PROGRAMS
KSAM RECORD POINTERS
FCHECK
FCLOSE
FCONTROL
FERRMSG
FFINDBYKEY
FFINDN
FGETINFO
FGETKEYINFO
FLOCK
FOPEN
FPOINT
FREAD
FREADBYKEY
FREADC
FREADDIR
FREADLABEL
FREADSEEK
FRELATE
FREMOVE
FRENAME
FSETMODE
FSPACE
FUNLOCK
FUPDATE
FWRITE
FWRITEDIR
FWRITELABEL
HP32208
USING KSAM FILES IN FORTRAN PROGRAMS
CALLING FILE SYSTEM INTRINSICS
CALLING COBOL PROCEDURES
CREATING A KSAM FILE WITH A CALL TO FOPEN
CREATING A KSAM FILE WITH KSAMUTIL
OPENING A KSAM FILE WITH A COBOL PROCEDURE
WRITING TO A KSAM FILE
READING A KSAM FILE IN KEY ORDER
READING A KSAM FILE IN CHRONOLOGICAL ORDER
USING KSAM FILES IN BASIC PROGRAMS
CALLING A KSAM PROCEDURE
STATUS PARAMETER
KSAM LOGICAL RECORD POINTER
BKCLOSE
BKDELETE
BKERROR
BKLOCK
BKOPEN
BKREAD
BKREADBYKEY
BKREWRITE
BKSTART
BKUNLOCK
BKVERSION
BKWRITE
ERROR MESSAGES AND RECOVERY PROCEDURES
ERROR MESSAGES AND RECOVERY PROCEDURES (continued)
KSAM/3000 INTERNAL STRUCTURE AND TECHNIQUES
KSAM FILE STRUCTURE
KSAM FILE SIZE
KSAM EXTRA DATA SEGMENTS
ASCII CHARACTER SET IN COLLATING SEQUENCE
CONVERSION TO KSAM FILES
USING KSAMUTIL AND FCOPY
USING RTOKSAM
RECOVERY FROM SYSTEM FAILURE
END-OF-FILE ON KSAM FILES
END-OF-FILE AND THE EXTRA DATA SEGMENT
SITUATIONS IN WHICH RECOVERY IS REQUIRED
RELOADING A KSAM FILE
NATIVE LANGUAGE SUPPORT AND KSAM
CREATING KSAM FILES WITH KSAMUTIL
ERROR MESSAGES
CREATING KSAM FILES PROGRAMMATICALLY
MODIFYING KSAM FILES
GENERIC KEYS
USING FCOPY WITH NLS KSAM FILES
MPE/iX 5.0 Documentation