John McKown wrote:
​IMO, what they mean is that there is not any syntactical language element
which encompasses the hiperspace API at a native language level. Example,
COBOL has a SORT verb which directly implements a language interface to the
"sort" function. As opposed to doing a CALL 'ICEMAIN' in order to interface
to a sort routine.

The C library runtime provides an I/O interface to treat hiperspace memory as a file. The hiperspace is created with the fopen() function and a type parameter.

type=memory(hiperspace)

If you are using MVS/ESA, you can specify the HIPERSPACE suboption to open a hiperspace memory file.

Restriction: For AMODE 64 applications, type=memory(hiperspace) is treated as type=memory.

fread(), fwrite(), fclose(), clrmemf() etc. support it. And the routines are callable from COBOL.

Alan

----------------------------------------------------------------------
For IBM-MAIN subscribe / signoff / archive access instructions,
send email to [email protected] with the message: INFO IBM-MAIN

Reply via email to