public class SYS extends VMSLibrary
Modifier and Type | Class and Description |
---|---|
static class |
SYS.ID_CTX
Class ID_CTX represents the context for SYS$IDTOASC calls.
|
static class |
SYS.PID_CTX
Class PID_CTX represents the context for SYS$PROCESS_SCAN calls.
|
static class |
SYS.TERMINAL_IO
Class TERMINAL_IO represents the context (actually channel) for SYS$ASSIGN, SYS$QIOW and SYSDASSGN calls for terminal IO.
|
VMSLibrary.Pair<T1,T2>, VMSLibrary.Result<T>
Constructor and Description |
---|
SYS() |
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.Integer,java.lang.Object>> |
SYS$GETDVIW(java.lang.String devnam,
int[] itms)
Call SYS$GETDVIW to get a list of items.
|
static VMSLibrary.Result<java.util.Map<java.lang.Integer,java.lang.Object>> |
SYS$GETJPIW(int pid,
int[] itms)
Call SYS$GETJPIW to get a list of items.
|
static VMSLibrary.Result<java.lang.Long> |
SYS$GETTIM()
Call SYS$GETTIM to get current VMS time.
|
static VMSLibrary.Result<java.util.Map<java.lang.Integer,java.lang.Object>> |
SYS$GETUAI(java.lang.String usrnam,
int[] itms)
Call SYS$GETUAI to get a list of items.
|
static VMSLibrary.Result<java.lang.String> |
SYS$IDTOASC(int id)
Call SYS$IDTOASC to get name for identifier.
|
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.
|
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.Integer,java.lang.Object>> SYS$GETDVIW(java.lang.String devnam, int[] itms) throws java.io.UnsupportedEncodingException, dk.vajhoej.record.RecordException
devnam
- device nameitms
- array of itemsjava.io.UnsupportedEncodingException
- if some string values can not be decodeddk.vajhoej.record.RecordException
- if internal errorpublic static VMSLibrary.Result<java.util.Map<java.lang.Integer,java.lang.Object>> SYS$GETJPIW(int pid, int[] 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.Long> SYS$GETTIM()
public static VMSLibrary.Result<java.lang.String> SYS$IDTOASC(int id) throws java.io.UnsupportedEncodingException
id
- identifierjava.io.UnsupportedEncodingException
- if error decoding identifier namepublic static VMSLibrary.Result<java.util.Map<java.lang.Integer,java.lang.Object>> SYS$GETUAI(java.lang.String usrnam, int[] itms) throws java.io.UnsupportedEncodingException, dk.vajhoej.record.RecordException
usrnam
- usernameitms
- array of itemsjava.io.UnsupportedEncodingException
- if 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 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