public class SYS_Py extends SYS_Script
Modifier and Type | Class and Description |
---|---|
static class |
SYS_Py.ID_CTX
Class ID_CTX represents the context for SYS$IDTOASC calls.
|
static class |
SYS_Py.TERMINAL_IO
Class TERMINAL_IO represents the context (actually channel) for SYS$ASSIGN, SYS$QIOW and SYSDASSGN calls for terminal IO.
|
SYS.ACMESB, SYS.PID_CTX
VMSLibrary.Pair<T1,T2>, VMSLibrary.Result<T>
Constructor and Description |
---|
SYS_Py() |
Modifier and Type | Method and Description |
---|---|
static VMSLibrary.Result<java.lang.String> |
SYS__ASCTIM()
Call SYS$ASCTIM to get string with current time.
|
static VMSLibrary.Result<java.lang.String> |
SYS__ASCTIM(long t)
Call SYS$ASCTIM to get string with specified time.
|
static VMSLibrary.Result<VMS.Word> |
SYS__ASSIGN(java.lang.String devnam)
Call SYS$ASSIGN to open channel to device.
|
static VMSLibrary.Result<java.lang.Long> |
SYS__BINTIM(java.lang.String timstr)
Call SYS$BINTIM to get specified VMS time.
|
static VMSLibrary.Result<java.lang.Void> |
SYS__DASSGN(VMS.Word chan)
Call LIB$DASSGN to close channel.
|
static VMSLibrary.Result<java.util.Map<java.lang.String,java.lang.Object>> |
SYS__GETDVIW(java.lang.String devnam)
Call SYS$GETDVIW to get a list of all items.
|
static VMSLibrary.Result<java.util.Map<java.lang.String,java.lang.Object>> |
SYS__GETDVIW(java.lang.String devnam,
java.lang.String[] itms)
Call SYS$GETDVIW to get a list of items.
|
static VMSLibrary.Result<java.util.Map<java.lang.String,java.lang.Object>> |
SYS__GETJPIW(int pid)
Call SYS$GETJPIW to get a list of all items.
|
static VMSLibrary.Result<java.util.Map<java.lang.String,java.lang.Object>> |
SYS__GETJPIW(int pid,
java.lang.String[] itms)
Call SYS$GETJPIW to get a list of items.
|
static VMSLibrary.Result<java.util.Map<java.lang.String,java.lang.Object>> |
SYS__GETUAI(java.lang.String usrnam)
Call SYS$GETUAI to get a list of all items.
|
static VMSLibrary.Result<java.util.Map<java.lang.String,java.lang.Object>> |
SYS__GETUAI(java.lang.String usrnam,
java.lang.String[] itms)
Call SYS$GETUAI to get a list of items.
|
static java.util.List<java.lang.String> |
SYS__IDTOASC_AsList(boolean inclneg)
Call SYS$IDTOASC to get list of all identifiers.
|
static java.util.Map<java.lang.Integer,java.lang.String> |
SYS__IDTOASC(boolean inclneg)
Call SYS$IDTOASC to get map of identifiers to identifier names.
|
static VMSLibrary.Result<java.lang.String> |
SYS__IDTOASC(int id)
Call SYS$IDTOASC to get name for identifier.
|
static java.util.List<java.util.Map<java.lang.String,java.lang.Object>> |
SYS__PROCESS_SCAN_and_SYS__GETJPIW_AsList(java.lang.String code,
java.lang.String value)
Call SYS$PROCESS_SCAN to get all PID's and call SYS$GETJPIW for each PID to get list of all items.
|
static java.util.List<java.util.Map<java.lang.String,java.lang.Object>> |
SYS__PROCESS_SCAN_and_SYS__GETJPIW_AsList(java.lang.String code,
java.lang.String value,
java.lang.String[] itms)
Call SYS$PROCESS_SCAN to get all PID's and call SYS$GETJPIW for each PID to get list of items.
|
static VMSLibrary.Result<java.lang.Integer> |
SYS__PROCESS_SCAN(int code,
java.lang.String value)
Call SYS$PROCESS_SCAN to get first matching PID.
|
static VMSLibrary.Result<java.lang.Void> |
SYS__QIOW(VMS.Word chan,
int func,
VMS.Block iosb,
VMS.TypeWrapper<byte[]> p1,
VMS.TypeWrapper<java.lang.Integer> p2)
Call SYS$QIOW.
|
static VMSLibrary.Result<java.lang.String> |
SYS__SETDDIR()
Call SYS$SETDDIR to get current default directory.
|
static VMSLibrary.Result<java.lang.Void> |
SYS__SETDDIR(java.lang.String newdir)
Call SYS$SETDDIR to change current default directory.
|
static VMSLibrary.Result<java.lang.String> |
SYS$TRNLNM(java.lang.String tblnam,
java.lang.String lognam)
Call SYS$TRNLNM to translate logical name.
|
SYS$GETDVIW, SYS$GETDVIW, SYS$GETJPIW, SYS$GETJPIW, SYS$GETUAI, SYS$GETUAI, SYS$IDTOASC_AsList, SYS$PROCESS_SCAN_and_SYS$GETJPIW_AsList, SYS$PROCESS_SCAN_and_SYS$GETJPIW_AsList
SYS$IDTOASC, SYS$IDTOASC, SYS$PROCESS_SCAN_and_SYS$GETJPIW, SYS$PROCESS_SCAN_and_SYS$GETJPIW
SYS$ACMW, SYS$ASCTIM, SYS$ASCTIM, SYS$ASSIGN, SYS$BINTIM, SYS$DASSGN, SYS$GETDVIW, SYS$GETJPIW, SYS$GETTIM, SYS$GETUAI, SYS$IDTOASC, SYS$PROCESS_SCAN, SYS$QIOW, SYS$SETDDIR, SYS$SETDDIR
public static VMSLibrary.Result<java.lang.String> SYS__ASCTIM() throws java.io.UnsupportedEncodingException
java.io.UnsupportedEncodingException
- if time string can not be decodedpublic static VMSLibrary.Result<java.lang.String> SYS__ASCTIM(long t) throws java.io.UnsupportedEncodingException
t
- VMS timejava.io.UnsupportedEncodingException
- if time string can not be decodedpublic static VMSLibrary.Result<VMS.Word> SYS__ASSIGN(java.lang.String devnam) throws java.io.UnsupportedEncodingException
devnam
- device namejava.io.UnsupportedEncodingException
- if device name can not be decodedpublic static VMSLibrary.Result<java.lang.Long> SYS__BINTIM(java.lang.String timstr) throws java.io.UnsupportedEncodingException
timstr
- time stringjava.io.UnsupportedEncodingException
- if time string can not be encodedpublic static VMSLibrary.Result<java.lang.Void> SYS__DASSGN(VMS.Word chan)
chan
- channelpublic static VMSLibrary.Result<java.util.Map<java.lang.String,java.lang.Object>> SYS__GETDVIW(java.lang.String devnam, java.lang.String[] itms) throws java.io.UnsupportedEncodingException, dk.vajhoej.record.RecordException
devnam
- device nameitms
- array of itemsjava.io.UnsupportedEncodingException
- if device name can not be encoded or some string values can not be decodeddk.vajhoej.record.RecordException
- if internal errorpublic static VMSLibrary.Result<java.util.Map<java.lang.String,java.lang.Object>> SYS__GETJPIW(int pid, java.lang.String[] itms) throws java.io.UnsupportedEncodingException, dk.vajhoej.record.RecordException
pid
- PIDitms
- array of itemsjava.io.UnsupportedEncodingException
- if some string values can not be decodeddk.vajhoej.record.RecordException
- if internal errorpublic static VMSLibrary.Result<java.lang.String> SYS__IDTOASC(int id) throws java.io.UnsupportedEncodingException
id
- identifierjava.io.UnsupportedEncodingException
- if identifier name can not be decodedpublic static VMSLibrary.Result<java.util.Map<java.lang.String,java.lang.Object>> SYS__GETUAI(java.lang.String usrnam, java.lang.String[] itms) throws java.io.UnsupportedEncodingException, dk.vajhoej.record.RecordException
usrnam
- usernameitms
- array of itemsjava.io.UnsupportedEncodingException
- if username can not be encoded or some string values can not be decodeddk.vajhoej.record.RecordException
- if internal errorpublic static VMSLibrary.Result<java.lang.Integer> SYS__PROCESS_SCAN(int code, java.lang.String value) throws java.io.UnsupportedEncodingException
code
- code for SYS$PROCESS_SCANvalue
- value for SYS$PROCESS_SCANjava.io.UnsupportedEncodingException
- if value can not be encodedpublic static java.util.Map<java.lang.Integer,java.lang.String> SYS__IDTOASC(boolean inclneg) throws java.io.UnsupportedEncodingException
inclneg
- include negative (identifiers that are not UIC's)java.io.UnsupportedEncodingException
- if some identifier names can not be decodedpublic static VMSLibrary.Result<java.util.Map<java.lang.String,java.lang.Object>> SYS__GETDVIW(java.lang.String devnam) throws java.io.UnsupportedEncodingException, dk.vajhoej.record.RecordException
devnam
- device namejava.io.UnsupportedEncodingException
- if device name can not be encoded or some string values can not be decodeddk.vajhoej.record.RecordException
- if internal errorpublic static VMSLibrary.Result<java.util.Map<java.lang.String,java.lang.Object>> SYS__GETJPIW(int pid) throws java.io.UnsupportedEncodingException, dk.vajhoej.record.RecordException
pid
- PIDjava.io.UnsupportedEncodingException
- if some string values can not be encodeddk.vajhoej.record.RecordException
- if internal errorpublic static VMSLibrary.Result<java.util.Map<java.lang.String,java.lang.Object>> SYS__GETUAI(java.lang.String usrnam) throws java.io.UnsupportedEncodingException, dk.vajhoej.record.RecordException
usrnam
- usernamejava.io.UnsupportedEncodingException
- if username can not be encoded or some string values can not be decodeddk.vajhoej.record.RecordException
- if internal errorpublic static java.util.List<java.lang.String> SYS__IDTOASC_AsList(boolean inclneg) throws java.io.UnsupportedEncodingException
inclneg
- include negative (identifiers that are not UIC's)java.io.UnsupportedEncodingException
- if some string values can not be encodedpublic static java.util.List<java.util.Map<java.lang.String,java.lang.Object>> SYS__PROCESS_SCAN_and_SYS__GETJPIW_AsList(java.lang.String code, java.lang.String value, java.lang.String[] itms) throws java.io.UnsupportedEncodingException, dk.vajhoej.record.RecordException
code
- code for SYS$PROCESS_SCANvalue
- value for SYS$PROCESS_SCANitms
- array of itemsjava.io.UnsupportedEncodingException
- if value can not ne encoded or some string values can not be decodeddk.vajhoej.record.RecordException
- if internal errorpublic static java.util.List<java.util.Map<java.lang.String,java.lang.Object>> SYS__PROCESS_SCAN_and_SYS__GETJPIW_AsList(java.lang.String code, java.lang.String value) throws java.io.UnsupportedEncodingException, dk.vajhoej.record.RecordException
code
- code for SYS$PROCESS_SCANvalue
- value for SYS$PROCESS_SCANjava.io.UnsupportedEncodingException
- if value can not be encoded or some string values can not be decodeddk.vajhoej.record.RecordException
- if internal errorpublic static VMSLibrary.Result<java.lang.Void> SYS__QIOW(VMS.Word chan, int func, VMS.Block iosb, VMS.TypeWrapper<byte[]> p1, VMS.TypeWrapper<java.lang.Integer> p2) throws dk.vajhoej.record.RecordException, java.io.UnsupportedEncodingException
chan
- channelfunc
- functioniosb
- IOSBp1
- p1p2
- p2dk.vajhoej.record.RecordException
- if internal errorjava.io.UnsupportedEncodingException
- if something can not be encoded or decodedpublic static VMSLibrary.Result<java.lang.String> SYS__SETDDIR() throws java.io.UnsupportedEncodingException
java.io.UnsupportedEncodingException
- if directory can not be decodedpublic static VMSLibrary.Result<java.lang.Void> SYS__SETDDIR(java.lang.String newdir) throws java.io.UnsupportedEncodingException
newdir
- new default directoryjava.io.UnsupportedEncodingException
- if directory can not be encodedpublic static VMSLibrary.Result<java.lang.String> SYS$TRNLNM(java.lang.String tblnam, java.lang.String lognam) throws java.io.UnsupportedEncodingException
tblnam
- table namelognam
- logical namejava.io.UnsupportedEncodingException
- if table or logical name can not be encoded or translation can not be decoded