public class LIBRTL_Py extends LIBRTL_Script
| Modifier and Type | Class and Description |
|---|---|
static class |
LIBRTL_Py.FIND_FILE_CTX
Class FIND_FILE_CTX represents context for LIB$FIND_FILE and LIB$FIND_FILE_END calls.
|
static class |
LIBRTL_Py.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_Py() |
| 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 java.util.List<java.lang.String> |
LIB__FIND_FILE(java.lang.String filespec)
Call LIB$FIND_FILE and LIB$FIND_FILE_END to find all file names matching specification.
|
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(java.lang.String code,
java.lang.String devnam)
Call LIB$GETDVI to get single item as int.
|
static VMSLibrary.Result<java.lang.String> |
LIB__GETDVI_AsString(java.lang.String code,
java.lang.String devnam)
Call LIB$GETDVI to get single item as String.
|
static VMSLibrary.Result<java.lang.Integer> |
LIB__GETJPI_AsInt(java.lang.String code,
int pid)
Call LIB$GETJPI to get single item as int.
|
static VMSLibrary.Result<java.lang.String> |
LIB__GETJPI_AsString(java.lang.String code,
int pid)
Call LIB$GETJPI 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.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.
|
LIB$GETDVI_AsInt, LIB$GETDVI_AsString, LIB$GETJPI_AsInt, LIB$GETJPI_AsStringLIB$FIND_FILE, LIB$FIND_FILELIB$CREATE_DIR, LIB$DELETE_FILE, LIB$DELETE_LOGICAL, LIB$DELETE_SYMBOL, LIB$DISABLE_CTRL, LIB$DO_COMMAND, LIB$ENABLE_CTRL, LIB$EXPAND_NODENAME, LIB$GET_COMMON, LIB$GET_FOREIGN, LIB$GET_LOGICAL, LIB$GET_SYMBOL, LIB$GETDVI_AsInt, LIB$GETDVI_AsString, LIB$GETJPI_AsInt, LIB$GETJPI_AsString, LIB$PAUSE, LIB$PUT_COMMON, LIB$SET_LOGICAL, LIB$SET_LOGICAL, LIB$SET_SYMBOL, LIB$SYS_ASCTIM, LIB$SYS_GETMSG, LIB$WAITpublic 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 decodedpublic 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 decodedpublic 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 decodedpublic 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 decodedpublic 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 decodedpublic 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(java.lang.String code, java.lang.String devnam) throws java.io.UnsupportedEncodingException
code - itemdevnam - device namejava.io.UnsupportedEncodingException - if device name can not be decodedpublic static VMSLibrary.Result<java.lang.String> LIB__GETDVI_AsString(java.lang.String code, java.lang.String devnam) throws java.io.UnsupportedEncodingException
code - itemdevnam - device namejava.io.UnsupportedEncodingException - if device name can not be decoded or value can not be encodedpublic static VMSLibrary.Result<java.lang.Integer> LIB__GETJPI_AsInt(java.lang.String code, int pid) throws java.io.UnsupportedEncodingException
code - itempid - PIDjava.io.UnsupportedEncodingException - will never happenpublic static VMSLibrary.Result<java.lang.String> LIB__GETJPI_AsString(java.lang.String code, int pid) throws java.io.UnsupportedEncodingException
code - itempid - PIDjava.io.UnsupportedEncodingException - if value can not be encodedpublic static VMSLibrary.Result<java.lang.String> LIB__GET_COMMON() throws java.io.UnsupportedEncodingException
java.io.UnsupportedEncodingException - if string value can not be encodedpublic static VMSLibrary.Result<java.lang.String> LIB__GET_FOREIGN() throws java.io.UnsupportedEncodingException
java.io.UnsupportedEncodingException - if command line arguments can not be encodedpublic 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 decoded or value can not be encodedpublic 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 decoded or value can not be encodedpublic 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 decodedpublic 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 decodedpublic 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 decodedpublic 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 decodedpublic 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 encodedpublic 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 encodedpublic static VMSLibrary.Result<java.lang.Void> LIB__WAIT(double seconds)
seconds - number seconds to sleeppublic static java.util.List<java.lang.String> LIB__FIND_FILE(java.lang.String filespec)
throws java.io.UnsupportedEncodingException
filespec - file name specificationjava.io.UnsupportedEncodingException - if any file name can not be encoded