Hello,
I want to know if JZOS is able to acces all the different Z/OS files (HFS, VSAM, GDG, QSAM) ?
I need to find Java API for accessing (read/delete/create) all the Z/OS files.
Thanks for your response.
Accessing Z/OS Files with Java
Yes, the ZFile class included in the JZOS toolkit is a thin JNI wrapper around the C IO library function calls (fopen, fwrite, fread, fclose, etc). These calls can be used to do IO to just about any kind of dataset.
For details, refer to the ZFile JavaDoc:
http://jzos.com/docs/javadoc/com/doveta ... ZFile.html
For each method, this documentation points you to the underlying C/C++ library routine and C/C++ programming guide which provides detailed information on accessing all kinds of files or datasets on z/OS.
If you have any other questions, feel free to ask here.
Regards,
Kirk Wolf
For details, refer to the ZFile JavaDoc:
http://jzos.com/docs/javadoc/com/doveta ... ZFile.html
For each method, this documentation points you to the underlying C/C++ library routine and C/C++ programming guide which provides detailed information on accessing all kinds of files or datasets on z/OS.
If you have any other questions, feel free to ask here.
Regards,
Kirk Wolf