com.ibm.jzos

Interface ZFileConstants

  • All Known Implementing Classes:
    RecordReader, RecordWriter, ZFile, ZFileException, ZFileRecordReader


    public interface ZFileConstants
    Constants used by ZFile and ZFile clients.
    • RECFM_* - getRecfmBits() bit mask values (from fldata.__recfm*)
    • DSORG_* - getDsorg() constant values (from fldata.__dsorg* )

      Note: In fldata, PDS_MEM and PDS_DIR have their own bits (2 and 4), but they alway appear in conjunction with PO = 1. For convenience, we define these values with the PO bit set.

    • LOCATE_* - locate() option constant values
    • SEEK_* - seek() option contants
    • OPEN_MODE_* - getOpenMode() constants (from fldata._openmode)
    • MODE_FLAG_* - getModeFlags() bit mask constants (from fldata.modeflag)
    • DEVICE_* - getDevice() value contants
    • VSASM_TYPE_* - getVsamType() value contants
    • S_* - mkfifo() mode constants
    • LAST_OP_* - ZFileException getLastOp() constants
    • ERRNO_* - commonly used errno values

    Note: for more information, see the IBM C Library documentation referenced in ZFile.

    • Field Detail

      • DEFAULT_EBCDIC_CODE_PAGE

        static final java.lang.String DEFAULT_EBCDIC_CODE_PAGE
        Note: ZUtil.getDefaultPlatformEncoding() should be used to get the locale-specific EBCDIC default encoding for the current process.
        See Also:
        Constant Field Values
      • RECFM_F

        static final int RECFM_F
        getRecfmBits() bit mask value (fldata.__recfmF)
        See Also:
        Constant Field Values
      • RECFM_V

        static final int RECFM_V
        getRecfmBits() bit mask value (fldata.__recfmV)
        See Also:
        Constant Field Values
      • RECFM_U

        static final int RECFM_U
        getRecfmBits() bit mask value (fldata.__recfmU)
        See Also:
        Constant Field Values
      • RECFM_B

        static final int RECFM_B
        getRecfmBits() bit mask value (fldata.__recfmBlk)
        See Also:
        Constant Field Values
      • RECFM_S

        static final int RECFM_S
        getRecfmBits() bit mask value (fldata.__recfmS)
        See Also:
        Constant Field Values
      • RECFM_M

        static final int RECFM_M
        getRecfmBits() bit mask value (fldata.__recfmM)
        See Also:
        Constant Field Values
      • RECFM_A

        static final int RECFM_A
        getRecfmBits() bit mask value (fldata.__recfmASA)
        See Also:
        Constant Field Values
      • DSORG_PO

        static final int DSORG_PO
        getDsorg() constant value (fldata.__dsorg_po )
        See Also:
        Constant Field Values
      • DSORG_PDS_MEM

        static final int DSORG_PDS_MEM
        getDsorg() constant value (fldata.__dsorg_po + fldata.__dsorg_mem)
        See Also:
        Constant Field Values
      • DSORG_PDS_DIR

        static final int DSORG_PDS_DIR
        getDsorg() constant value (fldata.__dsorg_po + fldata.__dsorg_dir)
        See Also:
        Constant Field Values
      • DSORG_PS

        static final int DSORG_PS
        getDsorg() constant value (fldata.__dsorg_ps )
        See Also:
        Constant Field Values
      • DSORG_CONCAT

        static final int DSORG_CONCAT
        getDsorg() constant value (fldata.__dsorg_concat )
        See Also:
        Constant Field Values
      • DSORG_MEM

        static final int DSORG_MEM
        getDsorg() constant value (fldata.__dsorg_mem )
        See Also:
        Constant Field Values
      • DSORG_HIPER

        static final int DSORG_HIPER
        getDsorg() constant value (fldata.__dsorg_hiper )
        See Also:
        Constant Field Values
      • DSORG_TEMP

        static final int DSORG_TEMP
        getDsorg() constant value (fldata.__dsorg_temp )
        See Also:
        Constant Field Values
      • DSORG_VSAM

        static final int DSORG_VSAM
        getDsorg() constant value (fldata.__dsorg_vsam )
        See Also:
        Constant Field Values
      • DSORG_HFS

        static final int DSORG_HFS
        getDsorg() constant value (fldata.__dsorg_hfs )
        See Also:
        Constant Field Values
      • DSORG_PDSE

        static final int DSORG_PDSE
        getDsorg() constant value (fldata.__dsorg_pdse )
        See Also:
        Constant Field Values
      • LOCATE_KEY_FIRST

        static final int LOCATE_KEY_FIRST
        locate() option constant
        See Also:
        Constant Field Values
      • LOCATE_KEY_LAST

        static final int LOCATE_KEY_LAST
        locate() option constant
        See Also:
        Constant Field Values
      • LOCATE_KEY_EQ_BWD

        static final int LOCATE_KEY_EQ_BWD
        locate() option constant
        See Also:
        Constant Field Values
      • LOCATE_RBA_EQ_BWD

        static final int LOCATE_RBA_EQ_BWD
        locate() option constant
        See Also:
        Constant Field Values
      • OPEN_MODE_TEXT

        static final int OPEN_MODE_TEXT
        getOpenMode() constant (fldata._openmode _TEXT)
        See Also:
        Constant Field Values
      • OPEN_MODE_BINARY

        static final int OPEN_MODE_BINARY
        getOpenMode() constant (fldata._openmode _BINARY)
        See Also:
        Constant Field Values
      • OPEN_MODE_RECORD

        static final int OPEN_MODE_RECORD
        getOpenMode() constant (fldata._openmode _RECORD)
        See Also:
        Constant Field Values
      • MODE_FLAG_READ

        static final int MODE_FLAG_READ
        getModeFlags() bit mask constant (fldata.modeflag)
        See Also:
        Constant Field Values
      • MODE_FLAG_WRITE

        static final int MODE_FLAG_WRITE
        getModeFlags() bit mask constant (fldata.modeflag)
        See Also:
        Constant Field Values
      • MODE_FLAG_APPEND

        static final int MODE_FLAG_APPEND
        getModeFlags() bit mask constant (fldata.modeflag)
        See Also:
        Constant Field Values
      • MODE_FLAG_UPDATE

        static final int MODE_FLAG_UPDATE
        getModeFlags() bit mask constant (fldata.modeflag)
        See Also:
        Constant Field Values
      • DEVICE_DISK

        static final int DEVICE_DISK
        getDevice() value constant (fldata._device)
        See Also:
        Constant Field Values
      • DEVICE_TERMINAL

        static final int DEVICE_TERMINAL
        getDevice() value constant (fldata._device)
        See Also:
        Constant Field Values
      • DEVICE_PRINTER

        static final int DEVICE_PRINTER
        getDevice() value constant (fldata._device)
        See Also:
        Constant Field Values
      • DEVICE_TAPE

        static final int DEVICE_TAPE
        getDevice() value constant (fldata._device)
        See Also:
        Constant Field Values
      • DEVICE_TDQ

        static final int DEVICE_TDQ
        getDevice() value constant (fldata._device)
        See Also:
        Constant Field Values
      • DEVICE_DUMMY

        static final int DEVICE_DUMMY
        getDevice() value constant (fldata._device)
        See Also:
        Constant Field Values
      • DEVICE_MSGFILE

        static final int DEVICE_MSGFILE
        getDevice() value constant (fldata._device)
        See Also:
        Constant Field Values
      • DEVICE_MEMORY

        static final int DEVICE_MEMORY
        getDevice() value constant (fldata._device)
        See Also:
        Constant Field Values
      • DEVICE_HFS

        static final int DEVICE_HFS
        getDevice() value constant (fldata._device)
        See Also:
        Constant Field Values
      • DEVICE_HIPERSPACE

        static final int DEVICE_HIPERSPACE
        getDevice() value constant (fldata._device)
        See Also:
        Constant Field Values
      • DEVICE_OTHER

        static final int DEVICE_OTHER
        getDevice() value constant (fldata._device)
        See Also:
        Constant Field Values
      • VSAM_TYPE_NOTVSAM

        static final int VSAM_TYPE_NOTVSAM
        getVsamType() value contant (fldata._vsamtype)
        See Also:
        Constant Field Values
      • VSAM_TYPE_ESDS

        static final int VSAM_TYPE_ESDS
        getVsamType() value contant (fldata._vsamtype)
        See Also:
        Constant Field Values
      • VSAM_TYPE_KSDS

        static final int VSAM_TYPE_KSDS
        getVsamType() value contant (fldata._vsamtype)
        See Also:
        Constant Field Values
      • VSAM_TYPE_RRDS

        static final int VSAM_TYPE_RRDS
        getVsamType() value contant (fldata._vsamtype)
        See Also:
        Constant Field Values
      • VSAM_TYPE_ESDS_PATH

        static final int VSAM_TYPE_ESDS_PATH
        getVsamType() value contant (fldata._vsamtype)
        See Also:
        Constant Field Values
      • VSAM_TYPE_KSDS_PATH

        static final int VSAM_TYPE_KSDS_PATH
        getVsamType() value contant (fldata._vsamtype)
        See Also:
        Constant Field Values
      • LAST_OP_BSAM_OPEN

        static final int LAST_OP_BSAM_OPEN
        ZFileException getLastOp() constant (__amrc.__last_op)
        See Also:
        Constant Field Values
      • LAST_OP_BSAM_CLOSE

        static final int LAST_OP_BSAM_CLOSE
        ZFileException getLastOp() constant (__amrc.__last_op)
        See Also:
        Constant Field Values
      • LAST_OP_BSAM_READ

        static final int LAST_OP_BSAM_READ
        ZFileException getLastOp() constant (__amrc.__last_op)
        See Also:
        Constant Field Values
      • LAST_OP_BSAM_NOTE

        static final int LAST_OP_BSAM_NOTE
        ZFileException getLastOp() constant (__amrc.__last_op)
        See Also:
        Constant Field Values
      • LAST_OP_BSAM_POINT

        static final int LAST_OP_BSAM_POINT
        ZFileException getLastOp() constant (__amrc.__last_op)
        See Also:
        Constant Field Values
      • LAST_OP_BSAM_WRITE

        static final int LAST_OP_BSAM_WRITE
        ZFileException getLastOp() constant (__amrc.__last_op)
        See Also:
        Constant Field Values
      • LAST_OP_BSAM_CLOSE_T

        static final int LAST_OP_BSAM_CLOSE_T
        ZFileException getLastOp() constant (__amrc.__last_op)
        See Also:
        Constant Field Values
      • LAST_OP_BSAM_BLDL

        static final int LAST_OP_BSAM_BLDL
        ZFileException getLastOp() constant (__amrc.__last_op)
        See Also:
        Constant Field Values
      • LAST_OP_BSAM_STOW

        static final int LAST_OP_BSAM_STOW
        ZFileException getLastOp() constant (__amrc.__last_op)
        See Also:
        Constant Field Values
      • LAST_OP_TGET_READ

        static final int LAST_OP_TGET_READ
        ZFileException getLastOp() constant (__amrc.__last_op)
        See Also:
        Constant Field Values
      • LAST_OP_TGET_WRITE

        static final int LAST_OP_TGET_WRITE
        ZFileException getLastOp() constant (__amrc.__last_op)
        See Also:
        Constant Field Values
      • LAST_OP_IO_DEVTYPE

        static final int LAST_OP_IO_DEVTYPE
        ZFileException getLastOp() constant (__amrc.__last_op)
        See Also:
        Constant Field Values
      • LAST_OP_IO_RDJFCB

        static final int LAST_OP_IO_RDJFCB
        ZFileException getLastOp() constant (__amrc.__last_op)
        See Also:
        Constant Field Values
      • LAST_OP_IO_TRKCALC

        static final int LAST_OP_IO_TRKCALC
        ZFileException getLastOp() constant (__amrc.__last_op)
        See Also:
        Constant Field Values
      • LAST_OP_IO_OBTAIN

        static final int LAST_OP_IO_OBTAIN
        ZFileException getLastOp() constant (__amrc.__last_op)
        See Also:
        Constant Field Values
      • LAST_OP_IO_LOCATE

        static final int LAST_OP_IO_LOCATE
        ZFileException getLastOp() constant (__amrc.__last_op)
        See Also:
        Constant Field Values
      • LAST_OP_IO_CATALOG

        static final int LAST_OP_IO_CATALOG
        ZFileException getLastOp() constant (__amrc.__last_op)
        See Also:
        Constant Field Values
      • LAST_OP_IO_UNCATALOG

        static final int LAST_OP_IO_UNCATALOG
        ZFileException getLastOp() constant (__amrc.__last_op)
        See Also:
        Constant Field Values
      • LAST_OP_IO_RENAME

        static final int LAST_OP_IO_RENAME
        ZFileException getLastOp() constant (__amrc.__last_op)
        See Also:
        Constant Field Values
      • LAST_OP_IO_SCRATCH

        static final int LAST_OP_IO_SCRATCH
        ZFileException getLastOp() constant (__amrc.__last_op)
        See Also:
        Constant Field Values
      • LAST_OP_IO_SWAREQ

        static final int LAST_OP_IO_SWAREQ
        ZFileException getLastOp() constant (__amrc.__last_op)
        See Also:
        Constant Field Values
      • LAST_OP_SVC99_ALLOC

        static final int LAST_OP_SVC99_ALLOC
        ZFileException getLastOp() constant (__amrc.__last_op)
        See Also:
        Constant Field Values
      • LAST_OP_SVC99_ALLOC_NEW

        static final int LAST_OP_SVC99_ALLOC_NEW
        ZFileException getLastOp() constant (__amrc.__last_op)
        See Also:
        Constant Field Values
      • LAST_OP_SVC99_UNALLOC

        static final int LAST_OP_SVC99_UNALLOC
        ZFileException getLastOp() constant (__amrc.__last_op)
        See Also:
        Constant Field Values
      • LAST_OP_C_TRUNCATE

        static final int LAST_OP_C_TRUNCATE
        ZFileException getLastOp() constant (__amrc.__last_op)
        See Also:
        Constant Field Values
      • LAST_OP_C_FCBCHECK

        static final int LAST_OP_C_FCBCHECK
        ZFileException getLastOp() constant (__amrc.__last_op)
        See Also:
        Constant Field Values
      • LAST_OP_C_DBCS_TRUNCATE

        static final int LAST_OP_C_DBCS_TRUNCATE
        ZFileException getLastOp() constant (__amrc.__last_op)
        See Also:
        Constant Field Values
      • LAST_OP_C_DBCS_SO_TRUNCATE

        static final int LAST_OP_C_DBCS_SO_TRUNCATE
        ZFileException getLastOp() constant (__amrc.__last_op)
        See Also:
        Constant Field Values
      • LAST_OP_C_DBCS_SI_TRUNCATE

        static final int LAST_OP_C_DBCS_SI_TRUNCATE
        ZFileException getLastOp() constant (__amrc.__last_op)
        See Also:
        Constant Field Values
      • LAST_OP_C_DBCS_UNEVEN

        static final int LAST_OP_C_DBCS_UNEVEN
        ZFileException getLastOp() constant (__amrc.__last_op)
        See Also:
        Constant Field Values
      • LAST_OP_C_CANNOT_EXTEND

        static final int LAST_OP_C_CANNOT_EXTEND
        ZFileException getLastOp() constant (__amrc.__last_op)
        See Also:
        Constant Field Values
      • LAST_OP_VSAM_OPEN_FAIL

        static final int LAST_OP_VSAM_OPEN_FAIL
        ZFileException getLastOp() constant (__amrc.__last_op)
        See Also:
        Constant Field Values
      • LAST_OP_VSAM_OPEN_ESDS

        static final int LAST_OP_VSAM_OPEN_ESDS
        ZFileException getLastOp() constant (__amrc.__last_op)
        See Also:
        Constant Field Values
      • LAST_OP_VSAM_OPEN_RRDS

        static final int LAST_OP_VSAM_OPEN_RRDS
        ZFileException getLastOp() constant (__amrc.__last_op)
        See Also:
        Constant Field Values
      • LAST_OP_VSAM_OPEN_KSDS

        static final int LAST_OP_VSAM_OPEN_KSDS
        ZFileException getLastOp() constant (__amrc.__last_op)
        See Also:
        Constant Field Values
      • LAST_OP_VSAM_OPEN_ESDS_PATH

        static final int LAST_OP_VSAM_OPEN_ESDS_PATH
        ZFileException getLastOp() constant (__amrc.__last_op)
        See Also:
        Constant Field Values
      • LAST_OP_VSAM_OPEN_KSDS_PATH

        static final int LAST_OP_VSAM_OPEN_KSDS_PATH
        ZFileException getLastOp() constant (__amrc.__last_op)
        See Also:
        Constant Field Values
      • LAST_OP_VSAM_MODCB

        static final int LAST_OP_VSAM_MODCB
        ZFileException getLastOp() constant (__amrc.__last_op)
        See Also:
        Constant Field Values
      • LAST_OP_VSAM_TESTCB

        static final int LAST_OP_VSAM_TESTCB
        ZFileException getLastOp() constant (__amrc.__last_op)
        See Also:
        Constant Field Values
      • LAST_OP_VSAM_SHOWCB

        static final int LAST_OP_VSAM_SHOWCB
        ZFileException getLastOp() constant (__amrc.__last_op)
        See Also:
        Constant Field Values
      • LAST_OP_VSAM_GENCB

        static final int LAST_OP_VSAM_GENCB
        ZFileException getLastOp() constant (__amrc.__last_op)
        See Also:
        Constant Field Values
      • LAST_OP_VSAM_GET

        static final int LAST_OP_VSAM_GET
        ZFileException getLastOp() constant (__amrc.__last_op)
        See Also:
        Constant Field Values
      • LAST_OP_VSAM_PUT

        static final int LAST_OP_VSAM_PUT
        ZFileException getLastOp() constant (__amrc.__last_op)
        See Also:
        Constant Field Values
      • LAST_OP_VSAM_POINT

        static final int LAST_OP_VSAM_POINT
        ZFileException getLastOp() constant (__amrc.__last_op)
        See Also:
        Constant Field Values
      • LAST_OP_VSAM_ERASE

        static final int LAST_OP_VSAM_ERASE
        ZFileException getLastOp() constant (__amrc.__last_op)
        See Also:
        Constant Field Values
      • LAST_OP_VSAM_ENDREQ

        static final int LAST_OP_VSAM_ENDREQ
        ZFileException getLastOp() constant (__amrc.__last_op)
        See Also:
        Constant Field Values
      • LAST_OP_VSAM_CLOSE

        static final int LAST_OP_VSAM_CLOSE
        ZFileException getLastOp() constant (__amrc.__last_op)
        See Also:
        Constant Field Values
      • LAST_OP_QSAM_GET

        static final int LAST_OP_QSAM_GET
        ZFileException getLastOp() constant (__amrc.__last_op)
        See Also:
        Constant Field Values
      • LAST_OP_QSAM_PUT

        static final int LAST_OP_QSAM_PUT
        ZFileException getLastOp() constant (__amrc.__last_op)
        See Also:
        Constant Field Values
      • LAST_OP_QSAM_TRUNC

        static final int LAST_OP_QSAM_TRUNC
        ZFileException getLastOp() constant (__amrc.__last_op)
        See Also:
        Constant Field Values
      • LAST_OP_QSAM_RELSE

        static final int LAST_OP_QSAM_RELSE
        ZFileException getLastOp() constant (__amrc.__last_op)
        See Also:
        Constant Field Values
      • LAST_OP_QSAM_FREEPOOL

        static final int LAST_OP_QSAM_FREEPOOL
        ZFileException getLastOp() constant (__amrc.__last_op)
        See Also:
        Constant Field Values
      • LAST_OP_HSP_CREATE

        static final int LAST_OP_HSP_CREATE
        ZFileException getLastOp() constant (__amrc.__last_op)
        See Also:
        Constant Field Values
      • LAST_OP_HSP_DELETE

        static final int LAST_OP_HSP_DELETE
        ZFileException getLastOp() constant (__amrc.__last_op)
        See Also:
        Constant Field Values
      • LAST_OP_HSP_READ

        static final int LAST_OP_HSP_READ
        ZFileException getLastOp() constant (__amrc.__last_op)
        See Also:
        Constant Field Values
      • LAST_OP_HSP_WRITE

        static final int LAST_OP_HSP_WRITE
        ZFileException getLastOp() constant (__amrc.__last_op)
        See Also:
        Constant Field Values
      • LAST_OP_HSP_EXTEND

        static final int LAST_OP_HSP_EXTEND
        ZFileException getLastOp() constant (__amrc.__last_op)
        See Also:
        Constant Field Values
      • FLAG_DISP_SHR

        static final int FLAG_DISP_SHR
        ZFile(name, options, flags) flag constant - DISP=SHR
        See Also:
        Constant Field Values
      • FLAG_PDS_ENQ

        static final int FLAG_PDS_ENQ
        ZFile(name, options, flags) flag constant - ISPF Enqueues
        See Also:
        Constant Field Values
      • FLAG_DISP_OLD

        static final int FLAG_DISP_OLD
        RecordReader/Writer flag constant - DISP=OLD
        See Also:
        Constant Field Values
      • FLAG_DISP_MOD

        static final int FLAG_DISP_MOD
        RecordReader/Writer flag constant - DISP=MOD
        See Also:
        Constant Field Values
© Copyright IBM Corporation 2005, 2014.