HPlogo Using KSAM XL and KSAM 64 > Appendix A COBOL Intrinsics

Appendix A COBOL Intrinsics

MPE documents

Complete PDF
Table of Contents
Index

E0300 Edition 4 ♥
E0394 Edition 3

Table of Contents
Calling a KSAM Procedure
Filetable Parameter
Status Parameter
KSAM Logical Record Pointer
Shared Access
Sample KSAM File
CKCLOSE
CKDELETE
CKERROR
CKLOCK
CKOPEN
CKOPENSHR
CKREAD
CKREADBYKEY
CKREWRITE
CKSTART
CKUNLOCK
CKWRITE
Examples of KSAM File Access
Sequential Write
Sequential Read
Random Update
COBOL compilers (COBOL 68 and earlier) required special intrinsics to access keyed files. The following intrinsics are provided only for the maintenance of COBOL 68 or earlier COBOL programs using KSAM structures.


NOTE: Do not use these intrinsics for new programming. Current COBOL file access modules provide KSAM file access.




HPFOPEN


Calling a KSAM Procedure