public class LIBRTL extends VMSLibrary
| Modifier and Type | Class and Description |
|---|---|
static class |
LIBRTL.FIND_FILE_CTX
Class FIND_FILE_CTX represents context for LIB$FIND_FILE and LIB$FIND_FILE_END calls.
|
static class |
LIBRTL.TIMER_CTX
Class TIMER_CTX represent context for LIB$INIT_TIMER and LIB$STAT_TIMER calls.
|
VMSLibrary.Pair<T1,T2>, VMSLibrary.Result<T>| Constructor and Description |
|---|
LIBRTL() |
| Modifier and Type | Method and Description |
|---|---|
static VMSLibrary.Result<java.lang.Void> |
LIB$CREATE_DIR(java.lang.String dirnam)
Call LIB$CREATE_DIR to create directory.
|
static VMSLibrary.Result<java.lang.Void> |
LIB$DELETE_FILE(java.lang.String fnm)
Call LIB$DELETE_FILE to delete file.
|
static VMSLibrary.Result<java.lang.Void> |
LIB$DELETE_LOGICAL(java.lang.String lognam)
Call LIB$DELETE_LOGICAL to delete logical.
|
static VMSLibrary.Result<java.lang.Void> |
LIB$DELETE_SYMBOL(java.lang.String symnam)
Call LIB$DELETE_SYMBOL to delete symbol.
|
static VMSLibrary.Result<java.lang.Void> |
LIB$DISABLE_CTRL(boolean ctrlt,
boolean ctrly)
Call LIB$DISABLE_CTRL to disable CTRL/T or CTRL/Y.
|
static VMSLibrary.Result<java.lang.Void> |
LIB$DO_COMMAND(java.lang.String cmd)
Call LIB$DO_COMMAND to transfer control to execution of command.
|
static VMSLibrary.Result<java.lang.Void> |
LIB$ENABLE_CTRL(boolean ctrlt,
boolean ctrly)
Call LIB$ENABLE_CTRL to enable CTRL/T or CTRL/Y.
|
static VMSLibrary.Result<java.lang.String> |
LIB$EXPAND_NODENAME(java.lang.String nodnam)
Call LIB$EXPAND_NODENAME to expand nodename.
|
static VMSLibrary.Result<java.lang.String> |
LIB$GET_COMMON()
Call LIB$GET_COMMON to load string from common area.
|
static VMSLibrary.Result<java.lang.String> |
LIB$GET_FOREIGN()
Call LIB$GET_FOREIGN to get command line arguments.
|
static VMSLibrary.Result<java.lang.String> |
LIB$GET_LOGICAL(java.lang.String lognam)
Call LIB$GET_LOGICAL to get value of logical name.
|
static VMSLibrary.Result<java.lang.String> |
LIB$GET_SYMBOL(java.lang.String symnam)
Call LIB$GET_SYMBOL to get value of symbol.
|
static VMSLibrary.Result<java.lang.Integer> |
LIB$GETDVI_AsInt(int code,
java.lang.String devnam)
Call LIB$GETDVI to get single item as int.
|
static VMSLibrary.Result<java.lang.String> |
LIB$GETDVI_AsString(int code,
java.lang.String devnam)
Call LIB$GETDVI to get single item as String.
|
static VMSLibrary.Result<java.lang.Integer> |
LIB$GETJPI_AsInt(int code,
int pid)
Call LIB$GETJPI to get single item as int.
|
static VMSLibrary.Result<java.lang.String> |
LIB$GETJPI_AsString(int code,
int pid)
Call LIB$GETJPI to get single item as String.
|
static VMSLibrary.Result<java.lang.Integer> |
LIB$GETSYI_AsInt(int code)
Call LIB$GETSYI to get single item as int.
|
static VMSLibrary.Result<java.lang.String> |
LIB$GETSYI_AsString(int code)
Call LIB$GETSYI to get single item as String.
|
static VMSLibrary.Result<java.lang.Void> |
LIB$PAUSE()
Call LIB$PAUSE to pause.
|
static VMSLibrary.Result<java.lang.Void> |
LIB$PUT_COMMON(java.lang.String value)
Call LIB$PUT_COMMON to save string to common area.
|
static VMSLibrary.Result<java.lang.Void> |
LIB$SET_LOGICAL(java.lang.String lognam,
java.lang.String value)
Call LIB$SET_LOGICAL to define logical.
|
static VMSLibrary.Result<java.lang.Void> |
LIB$SET_LOGICAL(java.lang.String lognam,
java.lang.String value,
java.lang.String tblnam)
Call LIB$SET_LOGICAL to define logical in specific logical table.
|
static VMSLibrary.Result<java.lang.Void> |
LIB$SET_SYMBOL(java.lang.String symnam,
java.lang.String value)
Call LIB$SET_SYMBOL to set symbol.
|
static VMSLibrary.Result<java.lang.Long> |
LIB$SUB_TIMES(long end,
long start)
Call LIB$SUB_TIMES to subtract start time from end time.
|
static VMSLibrary.Result<java.lang.String> |
LIB$SYS_ASCTIM(long vmstime)
Call LIB$SYS_ASCTIM to format a VMS time.
|
static VMSLibrary.Result<java.lang.String> |
LIB$SYS_GETMSG(int msgid)
Call LIB$SYS_GETMSG to get message text for error code.
|
static VMSLibrary.Result<java.lang.Void> |
LIB$WAIT(double seconds)
Call LIB$WAIT to sleep.
|
public static VMSLibrary.Result<java.lang.Void> LIB$CREATE_DIR(java.lang.String dirnam) throws java.io.UnsupportedEncodingException
dirnam - directory namejava.io.UnsupportedEncodingException - if directory name can not be encodedpublic static VMSLibrary.Result<java.lang.Void> LIB$DELETE_FILE(java.lang.String fnm) throws java.io.UnsupportedEncodingException
fnm - filenamejava.io.UnsupportedEncodingException - if filename can not be encodedpublic static VMSLibrary.Result<java.lang.Void> LIB$DELETE_LOGICAL(java.lang.String lognam) throws java.io.UnsupportedEncodingException
lognam - logical namejava.io.UnsupportedEncodingException - if logical name can not be encodedpublic static VMSLibrary.Result<java.lang.Void> LIB$DELETE_SYMBOL(java.lang.String symnam) throws java.io.UnsupportedEncodingException
symnam - symbol namejava.io.UnsupportedEncodingException - if symbol name can not be encodedpublic static VMSLibrary.Result<java.lang.Void> LIB$DISABLE_CTRL(boolean ctrlt, boolean ctrly)
ctrlt - disable CTRL/Tctrly - disable CTRL/Ypublic static VMSLibrary.Result<java.lang.Void> LIB$DO_COMMAND(java.lang.String cmd) throws java.io.UnsupportedEncodingException
cmd - command to executejava.io.UnsupportedEncodingException - if command can not be encodedpublic static VMSLibrary.Result<java.lang.Void> LIB$ENABLE_CTRL(boolean ctrlt, boolean ctrly)
ctrlt - disable CTRL/Tctrly - disable CTRL/Ypublic static VMSLibrary.Result<java.lang.String> LIB$EXPAND_NODENAME(java.lang.String nodnam) throws java.io.UnsupportedEncodingException
nodnam - nodenamejava.io.UnsupportedEncodingException - if nodename can not be encoded or decodedpublic static VMSLibrary.Result<java.lang.Integer> LIB$GETDVI_AsInt(int code, java.lang.String devnam) throws java.io.UnsupportedEncodingException
code - itemdevnam - device namejava.io.UnsupportedEncodingException - if device name can not be encodedpublic static VMSLibrary.Result<java.lang.String> LIB$GETDVI_AsString(int code, java.lang.String devnam) throws java.io.UnsupportedEncodingException
code - itemdevnam - device namejava.io.UnsupportedEncodingException - if device name can not be encoded or value can not be decodedpublic static VMSLibrary.Result<java.lang.Integer> LIB$GETJPI_AsInt(int code, int pid) throws java.io.UnsupportedEncodingException
code - itempid - PIDjava.io.UnsupportedEncodingException - will never happenpublic static VMSLibrary.Result<java.lang.String> LIB$GETJPI_AsString(int code, int pid) throws java.io.UnsupportedEncodingException
code - itempid - PIDjava.io.UnsupportedEncodingException - if value can not be decodedpublic static VMSLibrary.Result<java.lang.Integer> LIB$GETSYI_AsInt(int code) throws java.io.UnsupportedEncodingException
code - itemjava.io.UnsupportedEncodingException - will never happenpublic static VMSLibrary.Result<java.lang.String> LIB$GETSYI_AsString(int code) throws java.io.UnsupportedEncodingException
code - itemjava.io.UnsupportedEncodingException - if value can not be decodedpublic static VMSLibrary.Result<java.lang.String> LIB$GET_COMMON() throws java.io.UnsupportedEncodingException
java.io.UnsupportedEncodingException - if string value can not be decodedpublic static VMSLibrary.Result<java.lang.String> LIB$GET_FOREIGN() throws java.io.UnsupportedEncodingException
java.io.UnsupportedEncodingException - if command line arguments can not be decodedpublic static VMSLibrary.Result<java.lang.String> LIB$GET_LOGICAL(java.lang.String lognam) throws java.io.UnsupportedEncodingException
lognam - logical namejava.io.UnsupportedEncodingException - if logical name can not be encoded or value can not be decodedpublic static VMSLibrary.Result<java.lang.String> LIB$GET_SYMBOL(java.lang.String symnam) throws java.io.UnsupportedEncodingException
symnam - symbol namejava.io.UnsupportedEncodingException - if symbol name can not be encoded or value can not be decodedpublic static VMSLibrary.Result<java.lang.Void> LIB$PAUSE()
public static VMSLibrary.Result<java.lang.Void> LIB$PUT_COMMON(java.lang.String value) throws java.io.UnsupportedEncodingException
value - string valuejava.io.UnsupportedEncodingException - if string value can not be encodedpublic static VMSLibrary.Result<java.lang.Void> LIB$SET_LOGICAL(java.lang.String lognam, java.lang.String value) throws java.io.UnsupportedEncodingException
lognam - logical namevalue - value for logical namejava.io.UnsupportedEncodingException - if either logical name or value can not be encodedpublic static VMSLibrary.Result<java.lang.Void> LIB$SET_LOGICAL(java.lang.String lognam, java.lang.String value, java.lang.String tblnam) throws java.io.UnsupportedEncodingException
lognam - logical namevalue - value for logical nametblnam - logical table namejava.io.UnsupportedEncodingException - if either logical name or value can not be encodedpublic static VMSLibrary.Result<java.lang.Void> LIB$SET_SYMBOL(java.lang.String symnam, java.lang.String value) throws java.io.UnsupportedEncodingException
symnam - symbol namevalue - value for lsymboljava.io.UnsupportedEncodingException - if either symbol name or value can not be encodedpublic static VMSLibrary.Result<java.lang.Long> LIB$SUB_TIMES(long end, long start)
end - end VMS timestart - start VMS timepublic static VMSLibrary.Result<java.lang.String> LIB$SYS_ASCTIM(long vmstime) throws java.io.UnsupportedEncodingException
vmstime - VMS timejava.io.UnsupportedEncodingException - if formatted time can not be decodedpublic static VMSLibrary.Result<java.lang.String> LIB$SYS_GETMSG(int msgid) throws java.io.UnsupportedEncodingException
msgid - error codejava.io.UnsupportedEncodingException - if message text can not be decodedpublic static VMSLibrary.Result<java.lang.Void> LIB$WAIT(double seconds)
seconds - number seconds to sleep