public class SYS extends VMSLibrary
| Modifier and Type | Class and Description |
|---|---|
static class |
SYS.ACMESB
Class ACMSB represents an ACME status block.
|
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.QUI_CTX
Class QUI_CTX represents the context for SYS$GETQUIW 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.Boolean> |
SYS$ACMW(java.lang.String usrnam,
java.lang.String pwd)
Call SYS$ACMW to check username-password.
|
static VMSLibrary.Result<java.lang.Void> |
SYS$ALLOC(java.lang.String devnam)
Call SYS$ALLOC to allocate device.
|
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<java.lang.Integer> |
SYS$ASCTOID(java.lang.String name)
Call SYS$ASCTOID to get identifier for text name.
|
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$BRKTHRUW(java.lang.String msg,
int typ)
Call SYS$BRKTHRUW to send message to users/terminals.
|
static VMSLibrary.Result<java.lang.Void> |
SYS$BRKTHRUW(java.lang.String msg,
int typ,
java.lang.String to)
Call SYS$BRKTHRUW to send message to users/terminals.
|
static VMSLibrary.Result<java.lang.Void> |
SYS$CRELNM(int flag,
java.lang.String tblnam,
java.lang.String lognam,
int acmode,
java.lang.String[] logval)
Call SYS$CRELNM to create logical name.
|
static VMSLibrary.Result<java.lang.Void> |
SYS$CRELNM(java.lang.String tblnam,
java.lang.String lognam,
java.lang.String logval)
Call SYS$CRELNM to create logical name.
|
static VMSLibrary.Result<VMS.Word> |
SYS$CREMBX(boolean perm,
int maxmsg)
Call SYS$CREMBX to create mailbox.
|
static VMSLibrary.Result<java.lang.Integer> |
SYS$CREPRC(java.lang.String image)
Call SYS$CREPRC to start a process.
|
static VMSLibrary.Result<java.lang.Integer> |
SYS$CREPRC(java.lang.String image,
java.lang.String input,
java.lang.String output)
Call SYS$CREPRC to start a process.
|
static VMSLibrary.Result<java.lang.Integer> |
SYS$CREPRC(java.lang.String image,
java.lang.String input,
java.lang.String output,
java.lang.String error)
Call SYS$CREPRC to start a process.
|
static VMSLibrary.Result<java.lang.Void> |
SYS$DALLOC(java.lang.String devnam)
Call SYS$DALLOC to deallocate device.
|
static VMSLibrary.Result<java.lang.Void> |
SYS$DASSGN(VMS.Word chan)
Call SYS$DASSGN to close channel.
|
static VMSLibrary.Result<java.lang.Void> |
SYS$DELMBX(VMS.Word chan)
Call SYS$DELMBX to delete mailbox.
|
static VMSLibrary.Result<java.lang.Void> |
SYS$DEQ(int lckid)
Call SYS$DEQ to release lock.
|
static VMSLibrary.Result<java.lang.Void> |
SYS$ENQW(int lckid,
int mode)
Call SYS$ENQW to convert a lock.
|
static VMSLibrary.Result<java.lang.Integer> |
SYS$ENQW(java.lang.String resnam,
int mode)
Call SYS$ENQW to take a lock.
|
static VMSLibrary.Result<java.lang.Void> |
SYS$EXIT(int code)
Exit program.
|
static VMSLibrary.Result<java.lang.Void> |
SYS$FORCEX(int pid,
int code)
Exit program of another process.
|
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.String> |
SYS$GETMSG(int msgid)
Call SYS$GETMSG to get message text for error code.
|
static VMSLibrary.Result<java.util.Map<java.lang.Integer,java.lang.Object>> |
SYS$GETQUIW_Entry(int entry,
int[] itms)
Call SYS$GETQUIW to get information about entry.
|
static VMSLibrary.Result<java.util.Map<java.lang.Integer,java.lang.Object>> |
SYS$GETQUIW_Queue(java.lang.String queuename,
int[] itms)
Call SYS$GETQUIW to get information about queue.
|
static VMSLibrary.Result<java.util.Map<java.lang.Integer,java.lang.Object>> |
SYS$GETSYIW(int[] itms)
Call SYS$GETSYIW to get information about system.
|
static VMSLibrary.Result<java.util.Map<java.lang.Integer,java.lang.Object>> |
SYS$GETSYIW(java.lang.String nodename,
int[] itms)
Call SYS$GETSYIW to get information about system.
|
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.Void> |
SYS$HIBER()
Call SYS$HIBER to hibernate.
|
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> 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.Void> |
SYS$SETPRI(int pri)
Call SYS$SETPRI to set process priority.
|
static VMSLibrary.Result<java.lang.Void> |
SYS$SETPRI(int pid,
int pri)
Call SYS$SETPRI to set process priority.
|
static VMSLibrary.Result<java.lang.Void> |
SYS$SETPRN(java.lang.String prcnam)
Call SYS$SETPRN to change process name of current process.
|
static VMSLibrary.Result<java.lang.Long> |
SYS$SETPRV()
Call SYS$SETPRV to get current privs.
|
static VMSLibrary.Result<java.lang.Void> |
SYS$SETPRV(boolean enable,
long privmask,
boolean perm)
Call SYS$SETPRV to change current privs.
|
static VMSLibrary.Result<java.lang.Void> |
SYS$SNDJBCW_Delete(int entry)
Call SYS$SNDJBCW to delete job.
|
static VMSLibrary.Result<java.lang.Integer> |
SYS$SNDJBCW_Print(java.lang.String queuename,
java.lang.String filename)
Call SYS$SNDJBCW to submit print job to print queue.
|
static VMSLibrary.Result<java.lang.Void> |
SYS$SNDJBCW_QueueStart(java.lang.String queuename)
Call SYS$SNDJBCW to start queue.
|
static VMSLibrary.Result<java.lang.Void> |
SYS$SNDJBCW_QueueStop(java.lang.String queuename)
Call SYS$SNDJBCW to stop queue.
|
static VMSLibrary.Result<java.lang.Integer> |
SYS$SNDJBCW_Submit(java.lang.String queuename,
java.lang.String filename)
Call SYS$SNDJBCW to submit batch job to batch queue.
|
static VMSLibrary.Result<VMSLibrary.Pair<java.lang.String,java.lang.Integer>> |
SYS$TRNLNM_Attr(java.lang.String tblnam,
java.lang.String lognam)
Call SYS$TRNLNM to translate logical name and get attributes.
|
static VMSLibrary.Result<java.lang.String> |
SYS$TRNLNM(java.lang.String tblnam,
java.lang.String lognam)
Call SYS$TRNLNM to translate logical name.
|
static VMSLibrary.Result<java.lang.String> |
SYS$TRNLNM(java.lang.String tblnam,
java.lang.String lognam,
int acmode,
int index)
Call SYS$TRNLNM to translate logical name.
|
static VMSLibrary.Result<java.lang.Void> |
SYS$WAKE()
Call SYS$WAKE to wake up process.
|
static VMSLibrary.Result<java.lang.Void> |
SYS$WAKE(int pid)
Call SYS$WAKE to wake up process.
|
static VMSLibrary.Result<java.lang.Void> |
SYS$WAKE(java.lang.String prcnam)
Call SYS$WAKE to wake up process.
|
public static VMSLibrary.Result<java.lang.Boolean> SYS$ACMW(java.lang.String usrnam, java.lang.String pwd) throws java.io.UnsupportedEncodingException, dk.vajhoej.record.RecordException
usrnam - usernamepwd - passwordjava.io.UnsupportedEncodingException - if username or password can not be encodedk.vajhoej.record.RecordException - if internal errorpublic static VMSLibrary.Result<java.lang.Integer> SYS$ASCTOID(java.lang.String name) throws java.io.UnsupportedEncodingException
name - namejava.io.UnsupportedEncodingException - if name string can not be decodedpublic 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<java.lang.Void> SYS$ALLOC(java.lang.String devnam) throws java.io.UnsupportedEncodingException
devnam - device namejava.io.UnsupportedEncodingException - if device name 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$BRKTHRUW(java.lang.String msg, int typ) throws dk.vajhoej.record.RecordException, java.io.UnsupportedEncodingException
msg - messagetyp - typedk.vajhoej.record.RecordException - if internal errorjava.io.UnsupportedEncodingException - if message can not be encodedpublic static VMSLibrary.Result<java.lang.Void> SYS$BRKTHRUW(java.lang.String msg, int typ, java.lang.String to) throws dk.vajhoej.record.RecordException, java.io.UnsupportedEncodingException
msg - messagetyp - typeto - recipientdk.vajhoej.record.RecordException - if internal errorjava.io.UnsupportedEncodingException - if message or to can not be encodedpublic static VMSLibrary.Result<java.lang.Void> SYS$CRELNM(int flag, java.lang.String tblnam, java.lang.String lognam, int acmode, java.lang.String[] logval) throws java.io.UnsupportedEncodingException
flag - logical name attributetblnam - logical table namelognam - logical nameacmode - access modelogval - logical valuesjava.io.UnsupportedEncodingException - if logical table name or logical name or logical vale can not be encodedpublic static VMSLibrary.Result<java.lang.Void> SYS$CRELNM(java.lang.String tblnam, java.lang.String lognam, java.lang.String logval) throws java.io.UnsupportedEncodingException
tblnam - logical table namelognam - logical namelogval - logical valuejava.io.UnsupportedEncodingException - if logical table name or logical name or logical vale can not be encodedpublic static VMSLibrary.Result<VMS.Word> SYS$CREMBX(boolean perm, int maxmsg)
perm - permanent flag, true => permanent, false => temporarymaxmsg - maximum message sizepublic static VMSLibrary.Result<java.lang.Integer> SYS$CREPRC(java.lang.String image) throws java.io.UnsupportedEncodingException
image - name of image to runjava.io.UnsupportedEncodingException - if image can not be encodedpublic static VMSLibrary.Result<java.lang.Integer> SYS$CREPRC(java.lang.String image, java.lang.String input, java.lang.String output) throws java.io.UnsupportedEncodingException
image - name of image to runinput - SYS$INPUToutput - SYS$OUTPUTjava.io.UnsupportedEncodingException - if image can not be encodedpublic static VMSLibrary.Result<java.lang.Integer> SYS$CREPRC(java.lang.String image, java.lang.String input, java.lang.String output, java.lang.String error) throws java.io.UnsupportedEncodingException
image - name of image to runinput - SYS$INPUToutput - SYS$OUTPUTerror - SYS$ERRORjava.io.UnsupportedEncodingException - if image can not be encodedpublic static VMSLibrary.Result<java.lang.Void> SYS$DALLOC(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.Void> SYS$DASSGN(VMS.Word chan)
chan - channelpublic static VMSLibrary.Result<java.lang.Void> SYS$DELMBX(VMS.Word chan)
chan - channel to mailboxpublic static VMSLibrary.Result<java.lang.Void> SYS$DEQ(int lckid)
lckid - lock IDpublic static VMSLibrary.Result<java.lang.Void> SYS$ENQW(int lckid, int mode) throws dk.vajhoej.record.RecordException
lckid - lock IDmode - lock modedk.vajhoej.record.RecordException - if internal errorpublic static VMSLibrary.Result<java.lang.Integer> SYS$ENQW(java.lang.String resnam, int mode) throws dk.vajhoej.record.RecordException, java.io.UnsupportedEncodingException
resnam - resource namemode - lock modedk.vajhoej.record.RecordException - if internal errorjava.io.UnsupportedEncodingException - if resource name can not be encodedpublic static VMSLibrary.Result<java.lang.Void> SYS$EXIT(int code)
code - code to return to callerpublic static VMSLibrary.Result<java.lang.Void> SYS$FORCEX(int pid, int code)
pid - PIDcode - code to return to callerpublic 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.String> SYS$GETMSG(int msgid) throws java.io.UnsupportedEncodingException
msgid - error codejava.io.UnsupportedEncodingException - if message text can not be decodedpublic static VMSLibrary.Result<java.util.Map<java.lang.Integer,java.lang.Object>> SYS$GETQUIW_Entry(int entry, int[] itms) throws java.io.UnsupportedEncodingException, dk.vajhoej.record.RecordException
entry - entry numberitms - 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$GETQUIW_Queue(java.lang.String queuename, int[] itms) throws java.io.UnsupportedEncodingException, dk.vajhoej.record.RecordException
queuename - queue nameitms - array of itemsjava.io.UnsupportedEncodingException - if queue 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.Integer,java.lang.Object>> SYS$GETSYIW(java.lang.String nodename, int[] itms) throws java.io.UnsupportedEncodingException, dk.vajhoej.record.RecordException
nodename - node 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$GETSYIW(int[] itms) throws java.io.UnsupportedEncodingException, dk.vajhoej.record.RecordException
itms - 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.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.Void> SYS$HIBER()
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.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> 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.Void> SYS$SETPRI(int pri)
pri - prioritypublic static VMSLibrary.Result<java.lang.Void> SYS$SETPRI(int pid, int pri)
pid - PIDpri - prioritypublic static VMSLibrary.Result<java.lang.Void> SYS$SETPRN(java.lang.String prcnam) throws java.io.UnsupportedEncodingException
prcnam - process namejava.io.UnsupportedEncodingException - if process name can not be encodedpublic static VMSLibrary.Result<java.lang.Long> SYS$SETPRV()
public static VMSLibrary.Result<java.lang.Void> SYS$SETPRV(boolean enable, long privmask, boolean perm)
enable - true=enable privs, false=disable privsprivmask - priv maskperm - true=permanent for process, false=only for program runpublic static VMSLibrary.Result<java.lang.Integer> SYS$SNDJBCW_Submit(java.lang.String queuename, java.lang.String filename) throws dk.vajhoej.record.RecordException, java.io.UnsupportedEncodingException
queuename - batch queue namefilename - file namedk.vajhoej.record.RecordException - if internal errorjava.io.UnsupportedEncodingException - if error encoding queuename or filenamepublic static VMSLibrary.Result<java.lang.Integer> SYS$SNDJBCW_Print(java.lang.String queuename, java.lang.String filename) throws dk.vajhoej.record.RecordException, java.io.UnsupportedEncodingException
queuename - print queue namefilename - file namedk.vajhoej.record.RecordException - if internal errorjava.io.UnsupportedEncodingException - if error encoding queuename or filenamepublic static VMSLibrary.Result<java.lang.Void> SYS$SNDJBCW_Delete(int entry) throws dk.vajhoej.record.RecordException
entry - job entry numberdk.vajhoej.record.RecordException - if internal errorpublic static VMSLibrary.Result<java.lang.Void> SYS$SNDJBCW_QueueStart(java.lang.String queuename) throws java.io.UnsupportedEncodingException, dk.vajhoej.record.RecordException
queuename - queue namejava.io.UnsupportedEncodingException - if queue name can not be encodeddk.vajhoej.record.RecordException - if internal errorpublic static VMSLibrary.Result<java.lang.Void> SYS$SNDJBCW_QueueStop(java.lang.String queuename) throws java.io.UnsupportedEncodingException, dk.vajhoej.record.RecordException
queuename - queue namejava.io.UnsupportedEncodingException - if queue name can not be encodeddk.vajhoej.record.RecordException - if internal errorpublic 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 decodedpublic static VMSLibrary.Result<VMSLibrary.Pair<java.lang.String,java.lang.Integer>> SYS$TRNLNM_Attr(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 decodedpublic static VMSLibrary.Result<java.lang.String> SYS$TRNLNM(java.lang.String tblnam, java.lang.String lognam, int acmode, int index) throws java.io.UnsupportedEncodingException
tblnam - table namelognam - logical nameacmode - access modeindex - logical name indexjava.io.UnsupportedEncodingException - if table or logical name can not be encoded or translation can not be decodedpublic static VMSLibrary.Result<java.lang.Void> SYS$WAKE()
public static VMSLibrary.Result<java.lang.Void> SYS$WAKE(int pid)
pid - PIDpublic static VMSLibrary.Result<java.lang.Void> SYS$WAKE(java.lang.String prcnam) throws java.io.UnsupportedEncodingException
prcnam - process namejava.io.UnsupportedEncodingException - if process name can not be encoded