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, SYS.QUI_CTX
VMSLibrary.Pair<T1,T2>, VMSLibrary.Result<T>
Constructor and Description |
---|
SYS_Py() |
Modifier and Type | Method and Description |
---|---|
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_terminal(java.lang.String msg,
java.lang.String terminal)
Call SYS$BRKTHRUW to send message to terminals.
|
static VMSLibrary.Result<java.lang.Void> |
SYS__BRKTHRUW_user(java.lang.String msg,
java.lang.String user)
Call SYS$BRKTHRUW to send message to users.
|
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 LIB$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__ENQ(int lckid,
java.lang.String mode)
Call SYS$ENQW to convert a lock.
|
static VMSLibrary.Result<java.lang.Integer> |
SYS__ENQW(java.lang.String resnam,
java.lang.String 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.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.lang.String> |
SYS__GETMSG(int msgid)
Call SYS$GETMSG to get message text for error code.
|
static VMSLibrary.Result<java.util.Map<java.lang.String,java.lang.Object>> |
SYS__GETQUIW_Entry(int entry,
java.lang.String[] itms)
Call SYS$GETQUIW to get information about entry.
|
static VMSLibrary.Result<java.util.Map<java.lang.String,java.lang.Object>> |
SYS__GETQUIW_Queue(java.lang.String queuename,
java.lang.String[] itms)
Call SYS$GETQUIW to get information about queue.
|
static java.util.List<java.util.Map<java.lang.String,java.lang.Object>> |
SYS__GETQUIW_QueueJobs(java.lang.String queuename,
java.lang.String[] itms)
Call SYS$GETQUIW to get list of all jobs and information about them.
|
static VMSLibrary.Result<java.util.Map<java.lang.String,java.lang.Object>> |
SYS__GETSYIW(java.lang.String nodename,
java.lang.String[] itms)
Call SYS$GETSYIW to get information about system.
|
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 VMSLibrary.Result<java.lang.Void> |
SYS__HIBER()
Call SYS$HIBER to hibernate.
|
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> 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.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.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,
java.lang.String 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.
|
static VMSLibrary.Result<java.util.Map<java.lang.String,java.lang.Object>> |
SYS$GETSYIW(java.lang.String[] itms)
Call SYS$GETSYIW to get information about system.
|
SYS$BRKTHRUW, SYS$BRKTHRUW, SYS$CRELNM, SYS$ENQW, SYS$ENQW, SYS$GETDVIW, SYS$GETDVIW, SYS$GETJPIW, SYS$GETJPIW, SYS$GETQUIW_Entry, SYS$GETQUIW_Queue, SYS$GETQUIW_QueueJobs, SYS$GETSYIW, SYS$GETUAI, SYS$GETUAI, SYS$IDTOASC_AsList, SYS$PROCESS_SCAN_and_SYS$GETJPIW_AsList, SYS$PROCESS_SCAN_and_SYS$GETJPIW_AsList, SYS$TRNLNM
SYS$BRKTHRUW_terminal, SYS$BRKTHRUW_user, SYS$GETQUIW_QueueJobs, SYS$GETQUIW_QueueJobs, SYS$IDTOASC, SYS$IDTOASC, SYS$PROCESS_SCAN_and_SYS$GETJPIW, SYS$PROCESS_SCAN_and_SYS$GETJPIW
SYS$ACMW, SYS$ALLOC, SYS$ASCTIM, SYS$ASCTIM, SYS$ASCTOID, SYS$ASSIGN, SYS$BINTIM, SYS$BRKTHRUW, SYS$BRKTHRUW, SYS$CRELNM, SYS$CRELNM, SYS$CREMBX, SYS$CREPRC, SYS$CREPRC, SYS$CREPRC, SYS$DALLOC, SYS$DASSGN, SYS$DELMBX, SYS$DEQ, SYS$ENQW, SYS$ENQW, SYS$EXIT, SYS$FORCEX, SYS$GETDVIW, SYS$GETJPIW, SYS$GETMSG, SYS$GETQUIW_Entry, SYS$GETQUIW_Queue, SYS$GETSYIW, SYS$GETSYIW, SYS$GETTIM, SYS$GETUAI, SYS$HIBER, SYS$IDTOASC, SYS$PROCESS_SCAN, SYS$QIOW, SYS$SETDDIR, SYS$SETDDIR, SYS$SETPRI, SYS$SETPRI, SYS$SETPRN, SYS$SETPRV, SYS$SETPRV, SYS$SNDJBCW_Delete, SYS$SNDJBCW_Print, SYS$SNDJBCW_QueueStart, SYS$SNDJBCW_QueueStop, SYS$SNDJBCW_Submit, SYS$TRNLNM_Attr, SYS$TRNLNM, SYS$TRNLNM, SYS$WAKE, SYS$WAKE, SYS$WAKE
public 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<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<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_terminal(java.lang.String msg, java.lang.String terminal) throws java.io.UnsupportedEncodingException, dk.vajhoej.record.RecordException
msg
- messageterminal
- terminal (*=all)dk.vajhoej.record.RecordException
- if internal errorjava.io.UnsupportedEncodingException
- if message or terminal can not be encodedpublic static VMSLibrary.Result<java.lang.Void> SYS__BRKTHRUW_user(java.lang.String msg, java.lang.String user) throws java.io.UnsupportedEncodingException, dk.vajhoej.record.RecordException
msg
- messageuser
- username (*=all)dk.vajhoej.record.RecordException
- if internal errorjava.io.UnsupportedEncodingException
- if message or username 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.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.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__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__ENQ(int lckid, java.lang.String 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, java.lang.String 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.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__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, 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.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.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.String,java.lang.Object>> SYS__GETQUIW_Entry(int entry, java.lang.String[] 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.String,java.lang.Object>> SYS__GETQUIW_Queue(java.lang.String queuename, java.lang.String[] 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 java.util.List<java.util.Map<java.lang.String,java.lang.Object>> SYS__GETQUIW_QueueJobs(java.lang.String queuename, java.lang.String[] itms) throws java.io.UnsupportedEncodingException, dk.vajhoej.record.RecordException
queuename
- queue nameitms
- array of itemsjava.io.UnsupportedEncodingException
- if error encoding queue name or decoding valuedk.vajhoej.record.RecordException
- of internal errorpublic static VMSLibrary.Result<java.util.Map<java.lang.String,java.lang.Object>> SYS__GETSYIW(java.lang.String nodename, java.lang.String[] 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.String,java.lang.Object>> SYS$GETSYIW(java.lang.String[] 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.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.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 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 identifier name can not be decodedpublic 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 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 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.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> 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.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, java.lang.String 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