Follow the links below to browse sample Javadoc for MJ classes and tools, including the MJ Runtime Library.

 

Package: com.arsi.mj.rw  previous next contents

The rw package contains constants, and interfaces and factories for run-time contexts, that provide equivalents to MAPPER reserved words in an MJ application.

Classes and Interfaces
IMJCallerCtxFactory Abstract factory for obtaining caller context, which defines equivalent methods for MAPPER reserved words related to originating RUN.
IMJCdrCtxFactory Abstract factory for obtaining CDR context, which defines equivalent methods for MAPPER reserved words related to related to cabinets, drawers and reports (or results).
IMJDisplayCtxFactory Abstract factory for obtaining display context, which defines equivalent methods for MAPPER reserved words related to cursor position and special display characters.
IMJGraphicsCtxFactory Abstract factory for obtaining graphics context, which defines equivalent methods for MAPPER reserved words related to graphics and graphical user interface (GUI).
IMJLegacyDBCtxFactory Abstract factory for obtaining DB context, which defines equivalent methods for MAPPER reserved words related to legacy (i.e., MAPPER) data such as sites and databases.
IMJLegacyDTMCtxFactory Abstract factory for obtaining DTM context, which defines equivalent methods for MAPPER reserved words related to legacy (i.e., MAPPER) Data Transfer Module.
IMJLegacyEnvCtxFactory Abstract factory for obtaining environment context, which defines equivalent methods for MAPPER reserved words related to legacy (i.e., MAPPER) execution environment and resources.
IMJLegacyOutputCtxFactory Abstract factory for obtaining legacy output context, which defines equivalent methods for MAPPER reserved words related to things like printers.
IMJLegacySecurityCtxFactory Abstract factory for obtaining security context, which defines equivalent methods for MAPPER reserved words related to legacy (i.e., MAPPER OS2200) credentials and security.
IMJUserAgentCtxFactory Abstract factory for obtaining caller context, which defines equivalent methods for MAPPER reserved words related to client workstation (also known as user agent).
IMJUserCtxFactory Abstract factory for obtaining caller context, which defines equivalent methods for MAPPER reserved words related to identity of user.
MJCallerCtx Defines equivalent methods for MAPPER reserved words related to originating RUN, or, in other words, the caller of the currently executing program.
MJCdrCtx Defines equivalent methods for MAPPER reserved words related to cabinets, drawers and reports (or results).
MJCurrentDate Current date as MJDate instances associated with various MAPPER date formats, providing equivalent methods for MAPPER reserved words related to date and time.
MJCurrentTime Current time as MJDate instances associated with various MAPPER time formats, providing equivalent methods for MAPPER reserved words related to time.
MJDisplayCtx Defines equivalent methods for MAPPER reserved words related to cursor position and special display characters.
MJGraphicsCtx Defines equivalent methods for MAPPER reserved words related to graphics and graphical user interface (GUI).
MJLegacyDBCtx Defines equivalent methods for MAPPER reserved words related to legacy (i.e., MAPPER) data such as sites and databases.
MJLegacyDTMCtx Defines equivalent methods for MAPPER reserved words related to legacy (i.e., MAPPER) Data Transfer Module.
MJLegacyEnvCtx Defines equivalent methods for MAPPER reserved words related to legacy (i.e., MAPPER) execution environment and resources.
MJLegacyOutputCtx Defines equivalent methods for MAPPER reserved words related to legacy output (printers, for example).
MJLegacySecurityCtx Defines equivalent methods for MAPPER reserved words related to legacy (i.e., MAPPER OS2200) credentials and security.
MJSpecialChars Defines constants for characters that are special to MAPPER.
MJUserAgentCtx Defines equivalent methods for MAPPER reserved words related to client workstation (in other words, the user agent).
MJUserCtx Defines equivalent methods for MAPPER reserved words related to identity of user associated with the currently executing program.

Interface: IMJCallerCtxFactory   next package

Abstract factory for obtaining caller context, which defines equivalent methods for MAPPER reserved words related to originating RUN.
public interface com.arsi.mj.rw.IMJCallerCtxFactory
Methods
Get context related to caller of the currently executing program.
Returns:
caller context.
public com.arsi.mj.rw.MJCallerCtx callerContext()

Interface: IMJCdrCtxFactory   previous next package

Abstract factory for obtaining CDR context, which defines equivalent methods for MAPPER reserved words related to related to cabinets, drawers and reports (or results).
public interface com.arsi.mj.rw.IMJCdrCtxFactory
Methods
Get context related to cabinets, drawers and reports (or results).
Returns:
CDR context.
public com.arsi.mj.rw.MJCdrCtx cdrContext()

Interface: IMJDisplayCtxFactory   previous next package

Abstract factory for obtaining display context, which defines equivalent methods for MAPPER reserved words related to cursor position and special display characters.
public interface com.arsi.mj.rw.IMJDisplayCtxFactory
Methods
Get context related to the display.
Returns:
display context.
public com.arsi.mj.rw.MJDisplayCtx displayContext()

Interface: IMJGraphicsCtxFactory   previous next package

Abstract factory for obtaining graphics context, which defines equivalent methods for MAPPER reserved words related to graphics and graphical user interface (GUI).
public interface com.arsi.mj.rw.IMJGraphicsCtxFactory
Methods
Get context related to graphics.
Returns:
graphics context.
public com.arsi.mj.rw.MJGraphicsCtx graphicsContext()

Interface: IMJLegacyDBCtxFactory   previous next package

Abstract factory for obtaining DB context, which defines equivalent methods for MAPPER reserved words related to legacy (i.e., MAPPER) data such as sites and databases.
public interface com.arsi.mj.rw.IMJLegacyDBCtxFactory
Methods
Get context related to legacy sites and databases.
Returns:
legacy DB context.
public com.arsi.mj.rw.MJLegacyDBCtx dbContext()

Interface: IMJLegacyDTMCtxFactory   previous next package

Abstract factory for obtaining DTM context, which defines equivalent methods for MAPPER reserved words related to legacy (i.e., MAPPER) Data Transfer Module.
public interface com.arsi.mj.rw.IMJLegacyDTMCtxFactory
Methods
Get context related to legacy Data Transfer Module.
Returns:
legacy DTM context.
public com.arsi.mj.rw.MJLegacyDTMCtx dtmContext()

Interface: IMJLegacyEnvCtxFactory   previous next package

Abstract factory for obtaining environment context, which defines equivalent methods for MAPPER reserved words related to legacy (i.e., MAPPER) execution environment and resources.
public interface com.arsi.mj.rw.IMJLegacyEnvCtxFactory
Methods
Get context related to legacy execution environment and resources.
Returns:
legacy environment context.
public com.arsi.mj.rw.MJLegacyEnvCtx envContext()

Interface: IMJLegacyOutputCtxFactory   previous next package

Abstract factory for obtaining legacy output context, which defines equivalent methods for MAPPER reserved words related to things like printers.
public interface com.arsi.mj.rw.IMJLegacyOutputCtxFactory
Methods
Get context related to legacy output.
Returns:
legacy output context.
public com.arsi.mj.rw.MJLegacyOutputCtx callerContext()

Interface: IMJLegacySecurityCtxFactory   previous next package

Abstract factory for obtaining security context, which defines equivalent methods for MAPPER reserved words related to legacy (i.e., MAPPER OS2200) credentials and security.
public interface com.arsi.mj.rw.IMJLegacySecurityCtxFactory
Methods
Get context related to legacy credentials and security.
Returns:
legacy security context.
public com.arsi.mj.rw.MJLegacySecurityCtx callerContext()

Interface: IMJUserAgentCtxFactory   previous next package

Abstract factory for obtaining caller context, which defines equivalent methods for MAPPER reserved words related to client workstation (also known as user agent).
public interface com.arsi.mj.rw.IMJUserAgentCtxFactory
Methods
Get context related to client workstation (i.e., user agent).
Returns:
user agent context.
public com.arsi.mj.rw.MJUserAgentCtx uaContext()

Interface: IMJUserCtxFactory   previous next package

Abstract factory for obtaining caller context, which defines equivalent methods for MAPPER reserved words related to identity of user.
public interface com.arsi.mj.rw.IMJUserCtxFactory
Methods
Get context related to identity of user associated with the currently executing program.
Returns:
user context.
public com.arsi.mj.rw.MJUserCtx userContext()

Interface: MJCallerCtx   previous next package

Defines equivalent methods for MAPPER reserved words related to originating RUN, or, in other words, the caller of the currently executing program.
public interface com.arsi.mj.rw.MJCallerCtx
Methods
Originating station number of a background script (in other words, the logical station number assigned to the currently executing, background program).
See Also:
 MAPPER reserved word ORSTAN$, com.arsi.mj.rw.MJCallerCtx#ORSTAN
public int backgroundStationID()
Script started in the batch port.
See Also:
com.arsi.mj.rw.MJCallerCtx#wasInvokedAsBackground
public boolean BPORT()
Originating user's department sign-on number (in other words, the department associated with the program that invoked the currently executing program). If the script is not executing in a network environment, the value of ODEPN$ is the same as DEPN$.
See Also:
 MAPPER reserved word ODEPN$, com.arsi.mj.rw.MJCallerCtx#ODEPN
public int callerDeptNumeric()
Originating name of the script executing (in other words, the name of program that invoked the currently executing program). If blank, a network session was opened on-demand by the user. If the program is not executing in a network environment, the value of ORUN$ is the same as RUN$.
See Also:
 MAPPER reserved word ORUN$, com.arsi.mj.rw.MJCallerCtx#ORUN
public java.lang.String callerName()
Originating name or ID of the current site (in other words, the node, server or instance of the program that invoked the currently executing program). If the script is not executing in a network environment, the value of OSITE$ is the same as SITE$.
See Also:
 MAPPER reserved word OSITE$, com.arsi.mj.rw.MJCallerCtx#OSITE
public java.lang.String callerNode()
Originating port identification name (in other words, identity of remote caller). If blank, this program cannot access information about remote caller and may not be able to rely on other, related reserved words (such as OSITE$ or OUSER$).
See Also:
 MAPPER reserved word OSYSNAM$, com.arsi.mj.rw.MJCallerCtx#OSYSNAM
public java.lang.String callerRemoteID()
Originating station number executing the script (in other words, the logical station number of the program that invoked the currently executing program). If zero, access was initially gained using a transient type station, such as a background, batch port, or negative station. If the station is not a transient type station, and if the script is not executing in a network environment, the value of OSTNUM$ is the same as STNUM$.
See Also:
 MAPPER reserved word OSTNUM$, com.arsi.mj.rw.MJCallerCtx#OSTNUM
public int callerStationID()
Originating user-id of the user who started the script (in other words, the user associated with the program that invoked the currently executing program). If the script is not executing in a network environment, the value of OUSER$ is the same as USER$.
See Also:
 MAPPER reserved word OUSER$, com.arsi.mj.rw.MJCallerCtx#OUSER
public java.lang.String callerUser()
Originating user's department sign-on number.
See Also:
com.arsi.mj.rw.MJCallerCtx#callerDeptNumeric
public int ODEPN()
Originating station number of a background script.
See Also:
com.arsi.mj.rw.MJCallerCtx#backgroundStationID
public int ORSTAN()
Originating name of the script executing.
See Also:
com.arsi.mj.rw.MJCallerCtx#callerName
public int ORUN()
Originating name or ID of the current site.
See Also:
com.arsi.mj.rw.MJCallerCtx#callerNode
public int OSITE()
Originating station number executing the script.
See Also:
com.arsi.mj.rw.MJCallerCtx#callerStationID
public int OSTNUM()
Originating port identification name.
See Also:
com.arsi.mj.rw.MJCallerCtx#callerRemoteID
public int OSYSNAM()
Originating user-id of the user who started the script.
See Also:
com.arsi.mj.rw.MJCallerCtx#callerUser
public java.lang.String OUSER()
Script started in the batch port (indicates if the currently executing program is running in the background).
See Also:
 MAPPER reserved word BPORT$, com.arsi.mj.rw.MJCallerCtx#BPORT
public boolean wasInvokedAsBackground()

Interface: MJCdrCtx   previous next package

Defines equivalent methods for MAPPER reserved words related to cabinets, drawers and reports (or results). Note that values returned for cabinet number, drawer letter and report number are either synthetic or defaults, since the cabinet, drawer and report scheme is obsolete in MJ applications.
public interface com.arsi.mj.rw.MJCdrCtx
Methods
Alphabetic drawer of the run control report issuing the external Run Subroutine (RSR) statement.
See Also:
com.arsi.mj.rw.MJCdrCtx#drawerCaller
public java.lang.String ACDRW()
Alphabetic drawer of the current result.
See Also:
com.arsi.mj.rw.MJCdrCtx#drawerResult
public java.lang.String ADRW()
Alphabetic drawer of the specified result number.
See Also:
com.arsi.mj.rw.MJCdrCtx#drawerResult(int)
public java.lang.String ADRW(int aResult)
Alphabetic drawer of the run control report (in other words, currently running program).
See Also:
com.arsi.mj.rw.MJCdrCtx#drawerRunning
public java.lang.String AEDRW()
Alphabetic drawer of the failing script.
See Also:
com.arsi.mj.rw.MJCdrCtx#drawerFailing
public java.lang.String AXDRW()
Cabinet number of the report or result last processed.
See Also:
com.arsi.mj.rw.MJCdrCtx#cabinetLastProcessed
public int CAB()
Currently active cabinet number.
See Also:
com.arsi.mj.rw.MJCdrCtx#cabinetActive
public int CAB1()
Currently active cabinet number.
See Also:
 MAPPER reserved word CAB1$, com.arsi.mj.rw.MJCdrCtx#CAB1
public int cabinetActive()
Site's primary (default) language cabinet number.
See Also:
 MAPPER reserved word PLNG$, com.arsi.mj.rw.MJCdrCtx#PLNG
public int cabinetDefaultLocale()
Current form cabinet number.
See Also:
 MAPPER reserved word FCAB$, com.arsi.mj.rw.MJCdrCtx#FCAB
public int cabinetForm()
Cabinet number of the report or result last processed, or cabinet number of the report or result on display when the script started, or zero if no report or result was processed or on display.
See Also:
 MAPPER reserved word CAB$, com.arsi.mj.rw.MJCdrCtx#CAB
public int cabinetLastProcessed()
Cabinet number of user's currently selected language (i.e., Locale).
See Also:
 MAPPER reserved word LCAB$, com.arsi.mj.rw.MJCdrCtx#LCAB
public int cabinetLocale()
Cabinet number of the run control report (in other words, currently running program).
See Also:
 MAPPER reserved word ECAB$, com.arsi.mj.rw.MJCdrCtx#ECAB
public int cabinetRunning()
Drawer number of the run control report issuing the Run Subroutine (RSR) statement to start an external subroutine.
See Also:
com.arsi.mj.rw.MJCdrCtx#drawerCallerNumeric
public int CDRW()
Number of characters per line in the drawer of the current result.
See Also:
com.arsi.mj.rw.MJCdrCtx#drawerLineSize
public int CHAR()
Report number of the run control report issuing the external Run Subroutine (RSR) statement.
See Also:
com.arsi.mj.rw.MJCdrCtx#reportCaller
public int CRPT()
Alphabetic drawer of the run control report issuing the external Run Subroutine (RSR) statement. In other words, drawer letter of the calling program.
See Also:
 MAPPER reserved word ACDRW$, com.arsi.mj.rw.MJCdrCtx#ACDRW
public java.lang.String drawerCaller()
Drawer number of the run control report issuing the Run Subroutine (RSR) statement to start an external subroutine (returns zero if the statement starts an internal subroutine). In other words, drawer number of the calling program.
See Also:
 MAPPER reserved word CDRW$, com.arsi.mj.rw.MJCdrCtx#CDRW
public int drawerCallerNumeric()
Alphabetic drawer of the failing script (in other words, program in error).
See Also:
 MAPPER reserved word AXDRW$, com.arsi.mj.rw.MJCdrCtx#AXDRW
public java.lang.String drawerFailing()
Drawer number of the Screen Control form on display.
See Also:
 MAPPER reserved word FDRW$, com.arsi.mj.rw.MJCdrCtx#FDRW
public int drawerFormNumeric()
Drawer (form type) number of free form drawer A.
See Also:
 MAPPER reserved word FFTYPE$, com.arsi.mj.rw.MJCdrCtx#FFTYPE
public int drawerFreeFormNumeric()
Drawer number of the System Library Routines.
See Also:
 MAPPER reserved word LIBDRW$, com.arsi.mj.rw.MJCdrCtx#LIBDRW
public int drawerLibraryNumeric()
Number of characters per line in the drawer of the current result.
See Also:
 MAPPER reserved word CHAR$, com.arsi.mj.rw.MJCdrCtx#CHAR
public int drawerLineSize()
Drawer number of the script that issued the LNK statement. In other words, drawer number of the program that invoked the currently running program.
See Also:
 MAPPER reserved word LNKDRW$, com.arsi.mj.rw.MJCdrCtx#LNKDRW
public int drawerLinkerNumeric()
Drawer number of the Network Configuration drawer.
See Also:
 MAPPER reserved word NETDRW$, com.arsi.mj.rw.MJCdrCtx#NETDRW
public int drawerNetworkNumeric()
Alphabetic drawer of the current result.
See Also:
 MAPPER reserved word ADRW$, com.arsi.mj.rw.MJCdrCtx#ADRW
public java.lang.String drawerResult()
Alphabetic drawer of the specified result number.
Parameters:
aResult - result number ranging from 1 through 16.
See Also:
 MAPPER reserved word ADRW1$ - ADRW16$, com.arsi.mj.rw.MJCdrCtx#ADRW(int)
public java.lang.String drawerResult(int aResult)
Drawer number of the current result (-0).
See Also:
 MAPPER reserved word DRW$., com.arsi.mj.rw.MJCdrCtx#DRW
public int drawerResultNumeric()
Drawer number of the specified result.
Parameters:
aResult - result number ranging from 1 through 16.
See Also:
 MAPPER reserved words DRW1$ - DRW16$, com.arsi.mj.rw.MJCdrCtx#DRW(int)
public int drawerResultNumeric(int aResult)
Alphabetic drawer of the run control report (in other words, currently running program).
See Also:
 MAPPER reserved word AEDRW$, com.arsi.mj.rw.MJCdrCtx#AEDRW
public java.lang.String drawerRunning()
Drawer number of the run control report (in other words, currently running program).
See Also:
 MAPPER reserved words EDRW$ and ETYPE$, com.arsi.mj.rw.MJCdrCtx#EDRW, com.arsi.mj.rw.MJCdrCtx#ETYPE
public int drawerRunningNumeric()
Drawer number of the Security Registration reports.
See Also:
 MAPPER reserved word SECDRW$, com.arsi.mj.rw.MJCdrCtx#SECDRW
public int drawerSecurityNumeric()
Drawer number of the current result (-0).
See Also:
com.arsi.mj.rw.MJCdrCtx#drawerResultNumeric
public int DRW()
Drawer number of the specified result.
See Also:
com.arsi.mj.rw.MJCdrCtx#drawerResultNumeric(int)
public int DRW(int aResult)
Cabinet number of the run control report.
See Also:
com.arsi.mj.rw.MJCdrCtx#cabinetRunning
public int ECAB()
Drawer number of the run control report.
See Also:
com.arsi.mj.rw.MJCdrCtx#drawerRunningNumeric
public int EDRW()
Report number of the run control report.
See Also:
com.arsi.mj.rw.MJCdrCtx#reportRunning
public int ERPT()
Drawer number of the run control report.
See Also:
com.arsi.mj.rw.MJCdrCtx#drawerRunningNumeric
public int ETYPE()
Current form cabinet number.
See Also:
com.arsi.mj.rw.MJCdrCtx#cabinetForm
public int FCAB()
Drawer number of the Screen Control form on display.
See Also:
com.arsi.mj.rw.MJCdrCtx#drawerFormNumeric
public int FDRW()
Drawer (form type) number of free form drawer A.
See Also:
com.arsi.mj.rw.MJCdrCtx#drawerFreeFormNumeric
public int FFTYPE()
Report number of the Screen Control form on display.
See Also:
com.arsi.mj.rw.MJCdrCtx#reportForm
public int FRPT()
Cabinet number of user's currently selected language.
See Also:
com.arsi.mj.rw.MJCdrCtx#cabinetLocale
public int LCAB()
Drawer number of the System Library Routines.
See Also:
com.arsi.mj.rw.MJCdrCtx#drawerLibraryNumeric
public int LIBDRW()
Drawer number of the script that issued the LNK statement.
See Also:
com.arsi.mj.rw.MJCdrCtx#drawerLinkerNumeric
public int LNKDRW()
Report number that issued the LNK statement.
See Also:
com.arsi.mj.rw.MJCdrCtx#reportLinker
public int LNKRPT()
Drawer number of the Network Configuration drawer.
See Also:
com.arsi.mj.rw.MJCdrCtx#drawerNetworkNumeric
public int NETDRW()
The number that represents the current report or result, i.e., -0 in MAPPER.
Returns:
number that represents the current report or result.
public int numberOfCurrentReportOrResult()
public int PLNG()
Report number of the run control report issuing the external Run Subroutine (RSR) statement (if the report is from an internal subroutine, then zero). In other words, report number of the calling program.
See Also:
 MAPPER reserved word CRPT$, com.arsi.mj.rw.MJCdrCtx#CRPT
public int reportCaller()
Report number of the Screen Control form on display.
See Also:
 MAPPER reserved word FRPT$, com.arsi.mj.rw.MJCdrCtx#FRPT
public int reportForm()
The number of the report or result last processed, or of the report or result on display when the script started. If equal to numberOfCurrentReportOrResult(), the current result. If zero, no report. After the equivalent of an ADR or or DUP statement, contains the report number of new report.
See Also:
 MAPPER reserved word RPT$, com.arsi.mj.rw.MJCdrCtx#RPT
public int reportLastProcessed()
Report number that issued the LNK statement. In other words, report number of the program that invoked the currently running program.
See Also:
 MAPPER reserved word LNKRPT$, com.arsi.mj.rw.MJCdrCtx#LNKRPT
public int reportLinker()
Report number of the run control report (in other words, currently running program).
See Also:
 MAPPER reserved word ERPT$, com.arsi.mj.rw.MJCdrCtx#ERPT
public int reportRunning()
Report number of the user's security registration. In MAPPER, 11 through 20 in the Security Registration drawer for Windows, Unix and Linux and 1 through 2000 for OS2200.
See Also:
 MAPPER reserved word SECRPT$, com.arsi.mj.rw.MJCdrCtx#SECRPT
public int reportSecurity()
The number of the report or result last processed.
See Also:
com.arsi.mj.rw.MJCdrCtx#reportLastProcessed
public int RPT()
Drawer number of the Security Registration reports.
See Also:
com.arsi.mj.rw.MJCdrCtx#drawerSecurityNumeric
public int SECDRW()
Report number of the user's security registration.
See Also:
com.arsi.mj.rw.MJCdrCtx#reportSecurity
public int SECRPT()

Class: MJCurrentDate   previous next package

Current date as MJDate instances associated with various MAPPER date formats, providing equivalent methods for MAPPER reserved words related to date and time.
public class com.arsi.mj.rw.MJCurrentDate
  extends java.lang.Object
Constructors
public MJCurrentDate()
Methods
Current date in YMMDD format.
See Also:
com.arsi.mj.rw.MJCurrentDate#yMMdd
public static com.arsi.mj.variable.MJDate DATE0()
Current date in YYMMDD format.
See Also:
com.arsi.mj.rw.MJCurrentDate#yyMMdd
public static com.arsi.mj.variable.MJDate DATE1()
Current date in YYYYMMDD format.
See Also:
com.arsi.mj.rw.MJCurrentDate#MMddyy
public static com.arsi.mj.variable.MJDate DATE11()
Current date in DD MMM YYYY format.
See Also:
com.arsi.mj.rw.MJCurrentDate#dd_MMM_yyyy
public static com.arsi.mj.variable.MJDate DATE12()
Current date in YYYYDDD format.
See Also:
com.arsi.mj.rw.MJCurrentDate#yyyyDDD
public static com.arsi.mj.variable.MJDate DATE14()
Current date in DDMMYYYY format.
See Also:
com.arsi.mj.rw.MJCurrentDate#ddMMyyyy
public static com.arsi.mj.variable.MJDate DATE15()
Current date in MM/DD/YYYY format.
See Also:
com.arsi.mj.rw.MJCurrentDate#MM_dd_yyyy
public static com.arsi.mj.variable.MJDate DATE16()
Current date in MMDDYYYY format.
See Also:
com.arsi.mj.rw.MJCurrentDate#MMddyyyy
public static com.arsi.mj.variable.MJDate DATE18()
Current date in DD/MM/YYYY format.
See Also:
com.arsi.mj.rw.MJCurrentDate#dd_MM_yyyy
public static com.arsi.mj.variable.MJDate DATE19()
Current date in DD MMM YY format.
See Also:
com.arsi.mj.rw.MJCurrentDate#ddMMMyy
public static com.arsi.mj.variable.MJDate DATE2()
Current date in YYYY-MM-DD format.
See Also:
com.arsi.mj.rw.MJCurrentDate#yyyy_MM_dd
public static com.arsi.mj.variable.MJDate DATE20()
Current date in YDDD format.
See Also:
com.arsi.mj.rw.MJCurrentDate#yDDD
public static com.arsi.mj.variable.MJDate DATE3()
Current date in YYDDD format.
See Also:
com.arsi.mj.rw.MJCurrentDate#yyDDD
public static com.arsi.mj.variable.MJDate DATE4()
Current date in DDMMYY format.
See Also:
com.arsi.mj.rw.MJCurrentDate#ddMMyy
public static com.arsi.mj.variable.MJDate DATE5()
Current date in MM/DD/YY format.
See Also:
com.arsi.mj.rw.MJCurrentDate#MM_dd_yy
public static com.arsi.mj.variable.MJDate DATE6()
Current date in MONTH DD, YYYY format.
See Also:
com.arsi.mj.rw.MJCurrentDate#month_dd_yyyy
public static com.arsi.mj.variable.MJDate DATE7()
Current date in MMDDYY format.
See Also:
com.arsi.mj.rw.MJCurrentDate#MMddyy
public static com.arsi.mj.variable.MJDate DATE8()
Current date in DD/MM/YY format.
See Also:
com.arsi.mj.rw.MJCurrentDate#dd_MM_yy
public static com.arsi.mj.variable.MJDate DATE9()
Current date in DD/MM/YY format.
See Also:
 MAPPER reserved word DATE9$, com.arsi.mj.text.IFormattedDate#DATE9_DD_MM_YY, com.arsi.mj.rw.MJCurrentDate#DATE9
public static com.arsi.mj.variable.MJDate dd_MM_yy()
Current date in DD/MM/YYYY format.
See Also:
 MAPPER reserved word DATE19$, com.arsi.mj.text.IFormattedDate#DATE19_DD_MM_YYYY, com.arsi.mj.rw.MJCurrentDate#DATE19
public static com.arsi.mj.variable.MJDate dd_MM_yyyy()
Current date in DD MMM YYYY format.
See Also:
 MAPPER reserved word DATE12$, com.arsi.mj.text.IFormattedDate#DATE12_DD_MMM_YYYY, com.arsi.mj.rw.MJCurrentDate#DATE12
public static com.arsi.mj.variable.MJDate dd_MMM_yyyy()
Current date in DD MMM YY format.
See Also:
 MAPPER reserved word DATE2$, com.arsi.mj.text.IFormattedDate#DATE2_DD_MMM_YY, com.arsi.mj.rw.MJCurrentDate#DATE2
public static com.arsi.mj.variable.MJDate ddMMMyy()
Current date in DDMMYY format.
See Also:
 MAPPER reserved word DATE5$, com.arsi.mj.text.IFormattedDate#DATE5_DDMMYY, com.arsi.mj.rw.MJCurrentDate#DATE5
public static com.arsi.mj.variable.MJDate ddMMyy()
Current date in DDMMYYYY format.
See Also:
 MAPPER reserved word DATE15$, com.arsi.mj.text.IFormattedDate#DATE15_DDMMYYYY, com.arsi.mj.rw.MJCurrentDate#DATE15
public static com.arsi.mj.variable.MJDate ddMMyyyy()
Get current date formatted with specified date format.
Parameters:
aDateFmt - date format such as Date0Format.
Returns:
current date and time.
public static com.arsi.mj.variable.MJDate getInstance(org.apache.commons.lang3.time.FastDateFormat aDateFmt)
Get current date in specified time zone formatted with specified date format.
Parameters:
aDateFmt - date format such as Date0Format.
aTZ - time zone to associate with date.
Returns:
current date and time in specified time zone.
public static com.arsi.mj.variable.MJDate getInstance(org.apache.commons.lang3.time.FastDateFormat aDateFmt, java.util.TimeZone aTZ)
Current date in MM/DD/YY format.
See Also:
 MAPPER reserved word DATE6$, com.arsi.mj.text.IFormattedDate#DATE6_MM_DD_YY, com.arsi.mj.rw.MJCurrentDate#DATE6
public static com.arsi.mj.variable.MJDate MM_dd_yy()
Current date in MM/DD/YYYY format.
See Also:
 MAPPER reserved word DATE16$, com.arsi.mj.text.IFormattedDate#DATE16_MM_DD_YYYY, com.arsi.mj.rw.MJCurrentDate#DATE16
public static com.arsi.mj.variable.MJDate MM_dd_yyyy()
Current date in MMDDYY format.
See Also:
 MAPPER reserved word DATE8$, com.arsi.mj.text.IFormattedDate#DATE8_MMDDYY, com.arsi.mj.rw.MJCurrentDate#DATE8
public static com.arsi.mj.variable.MJDate MMddyy()
Current date in MMDDYYYY format.
See Also:
 MAPPER reserved word DATE18$, com.arsi.mj.text.IFormattedDate#DATE18_MMDDYYYY, com.arsi.mj.rw.MJCurrentDate#DATE18
public static com.arsi.mj.variable.MJDate MMddyyyy()
Current date in MONTH DD, YYYY format.
See Also:
 MAPPER reserved word DATE7$, com.arsi.mj.text.IFormattedDate#DATE7_MONTH_DD_YYYY, com.arsi.mj.rw.MJCurrentDate#DATE7
public static com.arsi.mj.variable.MJDate month_dd_yyyy()
Current date in YDDD (single digit year and day in year) format.
See Also:
 MAPPER reserved word DATE3$, com.arsi.mj.text.IFormattedDate#DATE3_YDDD, com.arsi.mj.rw.MJCurrentDate#DATE3
public static com.arsi.mj.variable.MJDate yDDD()
Current date in YMMDD (single digit year and month and date) format.
See Also:
 MAPPER reserved word DATE0$, com.arsi.mj.text.IFormattedDate#DATE0_YMMDD, com.arsi.mj.rw.MJCurrentDate#DATE0
public static com.arsi.mj.variable.MJDate yMMdd()
Current date in YYDDD (two digit year and day in year) format.
See Also:
 MAPPER reserved word DATE4$, com.arsi.mj.text.IFormattedDate#DATE4_YYDDD, com.arsi.mj.rw.MJCurrentDate#DATE4
public static com.arsi.mj.variable.MJDate yyDDD()
Current date in YYMMDD format.
See Also:
 MAPPER reserved word DATE1$, com.arsi.mj.text.IFormattedDate#DATE1_YYMMDD, com.arsi.mj.rw.MJCurrentDate#DATE1
public static com.arsi.mj.variable.MJDate yyMMdd()
Current date in YYYY-MM-DD format.
See Also:
 MAPPER reserved word DATE20$, com.arsi.mj.text.IFormattedDate#DATE20_YYYY_MM_DD, com.arsi.mj.rw.MJCurrentDate#DATE20
public static com.arsi.mj.variable.MJDate yyyy_MM_dd()
Current date in YYYYDDD format.
See Also:
 MAPPER reserved word DATE14$, com.arsi.mj.text.IFormattedDate#DATE14_YYYYDDD, com.arsi.mj.rw.MJCurrentDate#DATE14
public static com.arsi.mj.variable.MJDate yyyyDDD()
Current date in YYYYMMDD format.
See Also:
 MAPPER reserved word DATE11$, com.arsi.mj.text.IFormattedDate#DATE11_YYYYMMDD, com.arsi.mj.rw.MJCurrentDate#DATE11
public static com.arsi.mj.variable.MJDate yyyyMMdd()

Class: MJCurrentTime   previous next package

Current time as MJDate instances associated with various MAPPER time formats, providing equivalent methods for MAPPER reserved words related to time.
public class com.arsi.mj.rw.MJCurrentTime
  extends java.lang.Object
Constructors
public MJCurrentTime()
Methods
Current day of the week in DAY format (MON, TUE, and so on).
See Also:
 MAPPER reserved word DAY$, com.arsi.mj.rw.MJCurrentTime#DAY
public static java.lang.String currentDayOfWeek()
Current number of seconds since January 1, 1970.
See Also:
 MAPPER reserved word CURSEC$, com.arsi.mj.rw.MJCurrentTime#CURSEC
public static long currentEpochTime()
Current number of seconds since January 1, 1970.
See Also:
com.arsi.mj.rw.MJCurrentTime#currentEpochTime
public static long CURSEC()
Current day of the week in DAY format (MON, TUE, and so on).
See Also:
com.arsi.mj.rw.MJCurrentTime#currentDayOfWeek
public static java.lang.String DAY()
Current time in HH:MM:SS format.
See Also:
 MAPPER reserved word TIME$, com.arsi.mj.text.IFormattedDate#TIME0_HH_MM_SS, com.arsi.mj.rw.MJCurrentTime#TIME
public static com.arsi.mj.variable.MJDate HH_mm_ss()
Current number of milliseconds since midnight.
See Also:
 MAPPER reserved word MSEC$, com.arsi.mj.rw.MJCurrentTime#MSEC
public static long millisSinceMidnight()
Current number of milliseconds since midnight.
See Also:
com.arsi.mj.rw.MJCurrentTime#millisSinceMidnight
public static long MSEC()
Current time in HH:MM:SS format.
See Also:
com.arsi.mj.rw.MJCurrentTime#HH_mm_ss
public static com.arsi.mj.variable.MJDate TIME()

Interface: MJDisplayCtx   previous next package

Defines equivalent methods for MAPPER reserved words related to cursor position and special display characters.
public interface com.arsi.mj.rw.MJDisplayCtx
Methods
Number of held lines.
See Also:
 MAPPER reserved word HLINES$, com.arsi.mj.rw.MJDisplayCtx#HLINES
public int countHeldLines()
Horizontal character position of the cursor.
See Also:
com.arsi.mj.rw.MJDisplayCtx#cursorPosHorz
public int CURH()
Horizontal character position of the cursor.
See Also:
 MAPPER reserved word CURH$, com.arsi.mj.rw.MJDisplayCtx#CURH
public int cursorPosHorz()
Vertical character position of the cursor.
See Also:
 MAPPER reserved word CURV$, com.arsi.mj.rw.MJDisplayCtx#CURV
public int cursorPosVert()
Vertical character position of the cursor.
See Also:
com.arsi.mj.rw.MJDisplayCtx#cursorPosVert
public int CURV()
Line number of the first non-held line on display.
See Also:
 MAPPER reserved word DLINE$, com.arsi.mj.rw.MJDisplayCtx#DLINE
public int displayLineNonHeld()
Line number of the first non-held line on display.
See Also:
com.arsi.mj.rw.MJDisplayCtx#displayLineNonHeld
public int DLINE()
Number of held lines.
See Also:
com.arsi.mj.rw.MJDisplayCtx#countHeldLines
public int HLINES()
Line number in a list box from which the user transmitted (LITEM$ is valid with the Graphical Interface for Business Information Server).
See Also:
 MAPPER reserved word LITEM$, com.arsi.mj.rw.MJDisplayCtx#LITEM
public int listboxItem()
Line number in a list box from which the user transmitted.
See Also:
com.arsi.mj.rw.MJDisplayCtx#listboxItem
public int LITEM()
Horizontal cursor position of the SOE character.
See Also:
com.arsi.mj.rw.MJDisplayCtx#startOfEntryPosHorz
public int SOEH()
Vertical cursor position of the SOE character.
See Also:
com.arsi.mj.rw.MJDisplayCtx#startOfEntryPosVert
public int SOEV()
Horizontal cursor position of the SOE character.
See Also:
 MAPPER reserved word SOEH$, com.arsi.mj.rw.MJDisplayCtx#SOEH
public int startOfEntryPosHorz()
Vertical cursor position of the SOE character.
See Also:
 MAPPER reserved word SOEV$, com.arsi.mj.rw.MJDisplayCtx#SOEV
public int startOfEntryPosVert()

Interface: MJGraphicsCtx   previous next package

Defines equivalent methods for MAPPER reserved words related to graphics and graphical user interface (GUI). Note that some values returned are either synthetic or defaults, since certain aspects of MAPPER graphics are obsolete in MJ applications.
public interface com.arsi.mj.rw.MJGraphicsCtx
Methods
Handle of object last accessed.
See Also:
com.arsi.mj.rw.MJGraphicsCtx#activeInputControl
public int ACTINP()
Handle of object last accessed. This could be a window handle, but usually it is the handle of a control within a window (ACTINP$ is valid with the Graphical Interface for Business Information Server).
See Also:
 MAPPER reserved word ACTINP$, com.arsi.mj.rw.MJGraphicsCtx#ACTINP
public int activeInputControl()
Window handle of last window accessed. When input is received from a control, ACTWIN$ is the handle of the window containing that control (ACTWIN$ is valid with the Graphical Interface for Business Information Server).
See Also:
 MAPPER reserved word ACTWIN$, com.arsi.mj.rw.MJGraphicsCtx#ACTWIN
public int activeWindow()
Window handle of last window accessed.
See Also:
com.arsi.mj.rw.MJGraphicsCtx#activeWindow
public int ACTWIN()
Functional level of the legacy graphical user interface.
See Also:
com.arsi.mj.rw.MJGraphicsCtx#legacyAPILevel
public java.lang.String APILVL()
Aspect ratio (used with graphics); provides a constant but is ignored.
See Also:
com.arsi.mj.rw.MJGraphicsCtx#aspectRatio
public int ASPECT()
Aspect ratio (used with graphics); provides a constant but is ignored.
See Also:
 MAPPER reserved word ASPECT$, com.arsi.mj.rw.MJGraphicsCtx#ASPECT
public int aspectRatio()
Color terminal flag.
See Also:
com.arsi.mj.rw.MJGraphicsCtx#supportsColor
public boolean COLOR()
Legacy, MAPPER graphics and GUI capabilities available on both the host system and the API.
See Also:
com.arsi.mj.rw.MJGraphicsCtx#legacyCapabilities
public java.lang.String DWCAP()
Graphics terminal flag.
See Also:
com.arsi.mj.rw.MJGraphicsCtx#supportsGraphics
public boolean GRAPH()
Functional level of the legacy graphical user interface.
See Also:
 MAPPER reserved word APILVL$, com.arsi.mj.rw.MJGraphicsCtx#APILVL
public java.lang.String legacyAPILevel()
Legacy, MAPPER graphics and GUI capabilities available on both the host system and the API. DWCAP$ is a string of zeros and ones, where 0 indicates an unsupported capability and 1 indicates a supported capability. Starting from character 1 of DWCAP$ and moving to the right, one may check for the following capabilities:
 1 - Reserved for internal use
 2 - Blocked fonts available (@FON T option available to eliminate blocking)
 3 - Handles generated by the host
 4 - Reserved for internal use
 5 - Reserved for internal use
 6 - Reserved for internal use
 7 - DDE Interface (DDE)
 8 - API Repository not currently active or otherwise supported
 9 - Font (FON) statement D and P options
 10 - Reserved for internal use
 11 - 32-bit client
 12 - MAPPER Modernization Features 2000
 13 - MAPPER Modernization Features 2001
 14 - MAPPER Modernization Features 2003
 15-32 - Reserved for future use
 
Check the positions of DWCAP$ using the variable substring format. For example, DWCAP$(9-1) refers to the ninth character in the reserved word, which, if it contains a 1, indicates @FON D and P options are supported.

See Also:
 MAPPER reserved word DWCAP$, com.arsi.mj.rw.MJGraphicsCtx#DWCAP
public java.lang.String legacyCapabilities()
Main workstation window handle (valid only with Graphical Interface for Business Information Server and Business Information Server for Microsoft Windows Client).
See Also:
 MAPPER reserved word WND$, com.arsi.mj.rw.MJGraphicsCtx#WND
public int mainWindow()
Color terminal flag; always returns true, even if the display is monochrome VGA graphics.
See Also:
 MAPPER reserved word COLOR$, com.arsi.mj.rw.MJGraphicsCtx#COLOR
public boolean supportsColor()
Graphics terminal flag (if false, terminal cannot display graphics).
See Also:
 MAPPER reserved word GRAPH$., com.arsi.mj.rw.MJGraphicsCtx#GRAPH
public boolean supportsGraphics()
Main workstation window handle.
See Also:
com.arsi.mj.rw.MJGraphicsCtx#mainWindow
public int WND()

Interface: MJLegacyDBCtx   previous next package

Defines equivalent methods for MAPPER reserved words related to legacy (i.e., MAPPER) data such as sites and databases. Note that values returned are either synthetic or defaults, since the MAPPER data store scheme is obsolete in MJ applications.
public interface com.arsi.mj.rw.MJLegacyDBCtx
Methods
The current site database path.
See Also:
com.arsi.mj.rw.MJLegacyDBCtx#dbPath
public java.lang.String DBASE()
The current site database path.
See Also:
 MAPPER reserved word DBASE$, com.arsi.mj.rw.MJLegacyDBCtx#DBASE
public java.lang.String dbPath()
Configured database threshold value.
See Also:
 MAPPER reserved word DBTHRS$, com.arsi.mj.rw.MJLegacyDBCtx#DBTHRS
public int dbThreshold()
Configured database threshold value.
See Also:
com.arsi.mj.rw.MJLegacyDBCtx#dbThreshold
public int DBTHRS()
Percent of database space currently being used.
See Also:
 MAPPER reserved word DBUSG$, com.arsi.mj.rw.MJLegacyDBCtx#DBUSG
public int dbUsage()
Percent of database space currently being used.
See Also:
com.arsi.mj.rw.MJLegacyDBCtx#dbUsage
public int DBUSG()

Interface: MJLegacyDTMCtx   previous next package

Defines equivalent methods for MAPPER reserved words related to legacy (i.e., MAPPER) Data Transfer Module. Note that values returned are either synthetic or defaults, since the Data Transfer Module scheme is obsolete in MJ applications.
public interface com.arsi.mj.rw.MJLegacyDTMCtx
Methods
Status of Data Transfer Module.
See Also:
com.arsi.mj.rw.MJLegacyDTMCtx#status
public int DTM()
Name of this system as known to DTM.
See Also:
com.arsi.mj.rw.MJLegacyDTMCtx#name
public java.lang.String DTNAM()
Indicates that local or network message(s) are queued for current user:
 If false, there are no messages queued.
 If true, there are messages queued.
 
See Also:
 MAPPER reserved word MSGQ$, com.arsi.mj.rw.MJLegacyDTMCtx#MSGQ
public boolean hasMessages()
Indicates that local or network message(s) are queued for current user.
See Also:
com.arsi.mj.rw.MJLegacyDTMCtx#hasMessages
public boolean MSGQ()
Name of this system as known to DTM.
See Also:
 MAPPER reserved word DTNAM$, com.arsi.mj.rw.MJLegacyDTMCtx#DTNAM
public java.lang.String name()
Status of Data Transfer Module:
 0 - DTM is not configured.
 1 - DTM is configured, but system is not attached.
 2 - DTM is configured, and system is attached.
 3 - Requesting script is processing DTM input.
 
See Also:
 MAPPER reserved word DTM$, com.arsi.mj.rw.MJLegacyDTMCtx#DTM
public int status()

Interface: MJLegacyEnvCtx   previous next package

Defines equivalent methods for MAPPER reserved words related to legacy (i.e., MAPPER) execution environment and resources. Note that values returned are either synthetic or defaults, since the MAPPER execution environment is obsolete in MJ applications.
public interface com.arsi.mj.rw.MJLegacyEnvCtx
Methods
Number of CALL levels remaining.
See Also:
com.arsi.mj.rw.MJLegacyEnvCtx#remainingNestedCalls
public int CALL()
Returns the amount of processing time consumed during a script in milliseconds.
See Also:
 MAPPER reserved word IP$, com.arsi.mj.rw.MJLegacyEnvCtx#IP
public long countCPU()
Number of data lines processed during the program.
See Also:
 MAPPER reserved word DLP$, com.arsi.mj.rw.MJLegacyEnvCtx#DLP
public long countDataLines()
Number of storage I/O requests processed during the program execution.
See Also:
 MAPPER reserved word IO$, com.arsi.mj.rw.MJLegacyEnvCtx#IO
public long countIO()
Number of logic lines processed during the program.
See Also:
 MAPPER reserved word LLP$, com.arsi.mj.rw.MJLegacyEnvCtx#LLP
public long countLogicLines()
Number of data lines processed during the program.
See Also:
com.arsi.mj.rw.MJLegacyEnvCtx#countDataLines
public long DLP()
Available environmental variable space in bytes.
See Also:
com.arsi.mj.rw.MJLegacyEnvCtx#remainingEnvSpace
public int ENVSTR()
Remaining available characters in the script string and array variable space.
See Also:
com.arsi.mj.rw.MJLegacyEnvCtx#remainingStringSpace
public int FRESTR()
Available global variable space in bytes.
See Also:
com.arsi.mj.rw.MJLegacyEnvCtx#remainingGlobalSpace
public int GLBSTR()
Number of storage I/O requests processed during the program execution.
See Also:
com.arsi.mj.rw.MJLegacyEnvCtx#countIO
public long IO()
Returns the amount of processing time consumed during a script in milliseconds.
See Also:
com.arsi.mj.rw.MJLegacyEnvCtx#countCPU
public long IP()
Number of logic lines processed during the program.
See Also:
com.arsi.mj.rw.MJLegacyEnvCtx#countLogicLines
public long LLP()
Maximum number of departments.
See Also:
 MAPPER reserved word MXDEPN$, com.arsi.mj.rw.MJLegacyEnvCtx#MXDEPN
public int maxDept()
Maximum number of environmental variables allowed in program.
See Also:
 MAPPER reserved word MAXEVR$, com.arsi.mj.rw.MJLegacyEnvCtx#MAXEVR
public int maxEnvvars()
Maximum number of environmental variables allowed in program.
See Also:
com.arsi.mj.rw.MJLegacyEnvCtx#maxEnvvars
public long MAXEVR()
Maximum number of global variables allowed in program.
See Also:
 MAPPER reserved word MAXGVR$, com.arsi.mj.rw.MJLegacyEnvCtx#MAXGVR
public int maxGlobals()
Maximum number of global variables allowed in program.
See Also:
com.arsi.mj.rw.MJLegacyEnvCtx#maxGlobals
public long MAXGVR()
Maximum number of global variables allowed in program.
See Also:
com.arsi.mj.rw.MJLegacyEnvCtx#maxLabels
public long MAXLAB()
Maximum number of labels allowed in program.
See Also:
 MAPPER reserved word MAXLAB$, com.arsi.mj.rw.MJLegacyEnvCtx#MAXLAB
public int maxLabels()
Maximum number of departments.
See Also:
com.arsi.mj.rw.MJLegacyEnvCtx#maxDept
public long MXDEPN()
Available environmental variable space in bytes.
See Also:
 MAPPER reserved word ENVSTR$, com.arsi.mj.rw.MJLegacyEnvCtx#ENVSTR
public int remainingEnvSpace()
Available global variable space in bytes.
See Also:
 MAPPER reserved word GLBSTR$, com.arsi.mj.rw.MJLegacyEnvCtx#GLBSTR
public int remainingGlobalSpace()
Number of CALL levels remaining.
See Also:
 MAPPER reserved word CALL$, com.arsi.mj.rw.MJLegacyEnvCtx#CALL
public int remainingNestedCalls()
Remaining available characters in the script string and array variable space.
See Also:
 MAPPER reserved word FRESTR$, com.arsi.mj.rw.MJLegacyEnvCtx#FRESTR
public int remainingStringSpace()

Interface: MJLegacyOutputCtx   previous next package

Defines equivalent methods for MAPPER reserved words related to legacy output (printers, for example). Note that values returned are either synthetic or defaults, since the MAPPER output to devices is obsolete in MJ applications.
public interface com.arsi.mj.rw.MJLegacyOutputCtx
Methods
Escape sequence.
See Also:
com.arsi.mj.rw.MJLegacyOutputCtx#escape
public java.lang.String ESC()
Escape sequence. Since the value of this reserved word varies depending on platform, avoid using it in new applications.
See Also:
 MAPPER reserved word ESC$., com.arsi.mj.rw.MJLegacyOutputCtx#ESC
public java.lang.String escape()

Interface: MJLegacySecurityCtx   previous next package

Defines equivalent methods for MAPPER reserved words related to legacy (i.e., MAPPER OS2200) credentials and security. Note that values returned are either synthetic or defaults, since the legacy credentials and security are obsolete in MJ applications.
public interface com.arsi.mj.rw.MJLegacySecurityCtx
Methods
Does logged on user have coordinator privileges?
See Also:
com.arsi.mj.rw.MJLegacySecurityCtx#isCoordinator
public boolean CPRIV()
Do external functions run with host (OS 2200, for example) user ID credentials or with MAPPER background job credentials?
Returns:
true if external functions run with host credentials, false if external functions run with background job credentials.
See Also:
 MAPPER reserved word OSFILS$, com.arsi.mj.rw.MJLegacySecurityCtx#OSFILS
public boolean externalUsesHostCredentials()
Configuration parameter that controls whether host (OS 2200, for example) user IDs are allowed or required for users to log on to the system.
 0 - host user IDs irrelevant
 1 - host user IDs allowed
 2 - host user IDs required
 
See Also:
 MAPPER reserved word OSUIDS$, com.arsi.mj.rw.MJLegacySecurityCtx#OSUIDS
public int hostCredentialsRequired()
Does logged on user have coordinator (a grade of system administrator) privileges?
See Also:
 MAPPER reserved word CPRIV$, com.arsi.mj.rw.MJLegacySecurityCtx#CPRIV
public boolean isCoordinator()
Does logged on user have script design (in other words, run-time debug) privileges?
See Also:
 MAPPER reserved word RPRIV$, com.arsi.mj.rw.MJLegacySecurityCtx#RPRIV
public boolean isDebugger()
Does logged on user have system analyst (in other words, software installation and configuration) privileges?
See Also:
 MAPPER reserved word SPRIV$, com.arsi.mj.rw.MJLegacySecurityCtx#SPRIV
public boolean isInstaller()
Does logged on user have operator (a grade of system administrator) privileges?
See Also:
 MAPPER reserved word OPRIV$, com.arsi.mj.rw.MJLegacySecurityCtx#OPRIV
public boolean isOperator()
Is user logged on with a host (OS 2200, for example) user ID?
See Also:
 MAPPER reserved word OSUSER$, com.arsi.mj.rw.MJLegacySecurityCtx#OSUSER
public boolean isUsingHostCredentials()
Maximum number of characters in a host (OS 2200, for example) password.
See Also:
 MAPPER reserved word OSPLEN$, com.arsi.mj.rw.MJLegacySecurityCtx#OSPLEN
public boolean maxHostPasswordLength()
Does logged on user have operator privileges?
See Also:
com.arsi.mj.rw.MJLegacySecurityCtx#isOperator
public boolean OPRIV()
Do external functions run with host credentials or MAPPER credentials?
See Also:
com.arsi.mj.rw.MJLegacySecurityCtx#externalUsesHostCredentials
public boolean OSFILS()
Maximum number of characters in a host password.
See Also:
com.arsi.mj.rw.MJLegacySecurityCtx#maxHostPasswordLength
public boolean OSPLEN()
Configuration parameter that controls whether host user IDs are allowed or required for users to log on to the system.
See Also:
com.arsi.mj.rw.MJLegacySecurityCtx#hostCredentialsRequired
public int OSUIDS()
Is user logged on with a host user ID?
See Also:
com.arsi.mj.rw.MJLegacySecurityCtx#isUsingHostCredentials
public boolean OSUSER()
Does logged on user have script design privileges?
See Also:
com.arsi.mj.rw.MJLegacySecurityCtx#isDebugger
public boolean RPRIV()
Does logged on user have system analyst privileges?
See Also:
com.arsi.mj.rw.MJLegacySecurityCtx#isInstaller
public boolean SPRIV()

Class: MJSpecialChars   previous next package

Defines constants for characters that are special to MAPPER.
public class com.arsi.mj.rw.MJSpecialChars
  extends java.lang.Object
Fields
The forward slash character, named for MAPPER reserved word RSLANT.
public static final java.lang.String RSLANT = "/"
The start-of-entry character, named for MAPPER reserved word SOE.
public static final java.lang.String SOE = "\u001b^"
The tab character, named for MAPPER reserved word TAB.
public static final java.lang.String TAB = "\t"
The single quote character, named for MAPPER reserved word TIC.
public static final java.lang.String TIC = "\'"
Constructors
public MJSpecialChars()

Interface: MJUserAgentCtx   previous next package

Defines equivalent methods for MAPPER reserved words related to client workstation (in other words, the user agent).
public interface com.arsi.mj.rw.MJUserAgentCtx
Methods
Legacy terminal has FCC.
See Also:
com.arsi.mj.rw.MJUserAgentCtx#legacyTerminalFCC
public boolean FCC()
Legacy terminal coded character set identifier (CCS-ID).
See Also:
 MAPPER reserved word TCCS$, com.arsi.mj.rw.MJUserAgentCtx#TCCS
public int legacyTerminalCCS()
Legacy terminal (UTS 400) has FCC (field control characters, i.e., hardware protect capability).
See Also:
 MAPPER reserved word FCC$, com.arsi.mj.rw.MJUserAgentCtx#FCC
public boolean legacyTerminalFCC()
Legacy user interface currently in effect at site and in effect for script (specified in the registration report by the coordinator). The system returns the following values:
 0: Pre-35R1 - Pre-35R1
 1: Pre-35R1 - Menu
 2: Menu - Pre-35R1
 3: Menu - Menu
 
See Also:
 MAPPER reserved word LOOK$, com.arsi.mj.rw.MJUserAgentCtx#LOOK
public int legacyTerminalLook()
Type of the legacy terminal executing the script (in MAPPER, read from the configuration report or the MAPTERM environment variable).
See Also:
 MAPPER reserved word TTYPE$, com.arsi.mj.rw.MJUserAgentCtx#TTYPE
public java.lang.String legacyTerminalType()
Station number executing the script.
See Also:
 MAPPER reserved word STNUM$, com.arsi.mj.rw.MJUserAgentCtx#STNUM
public int logicalStationID()
Legacy user interface currently in effect at site and in effect for script.
See Also:
com.arsi.mj.rw.MJUserAgentCtx#legacyTerminalLook
public int LOOK()
Number of columns that can be displayed on the screen.
See Also:
com.arsi.mj.rw.MJUserAgentCtx#screenColumns
public java.lang.String SCNH()
Number of rows that can be displayed on the screen.
See Also:
com.arsi.mj.rw.MJUserAgentCtx#screenRows
public java.lang.String SCNV()
Number of columns that can be displayed on the screen including columns that cannot be seen without using the scroll bars.
See Also:
 MAPPER reserved word SCNH$, com.arsi.mj.rw.MJUserAgentCtx#SCNH
public int screenColumns()
Number of rows that can be displayed on the screen including columns that cannot be seen without using the scroll bars.
See Also:
 MAPPER reserved word SCNV$, com.arsi.mj.rw.MJUserAgentCtx#SCNV
public int screenRows()
Station number executing the script.
See Also:
com.arsi.mj.rw.MJUserAgentCtx#logicalStationID
public int STNUM()
Legacy terminal coded character set identifier.
See Also:
com.arsi.mj.rw.MJUserAgentCtx#legacyTerminalCCS
public int TCCS()
Type of the legacy terminal executing the script.
See Also:
com.arsi.mj.rw.MJUserAgentCtx#legacyTerminalType
public java.lang.String TTYPE()
The IP address of the workstation, expressed in the form xxx.xxx.xxx.xxx where each xxx subfield is 1 to 3 decimal characters. If zero, the current session is not associated with a user agent or the IP address is not available.
See Also:
 MAPPER reserved word WSIPA$, com.arsi.mj.rw.MJUserAgentCtx#WSIPA
public java.lang.String workstationIP()
Workstation session opened to a host system. If zero, the user agent associated with the current session cannot render a graphical interface.
See Also:
 MAPPER reserved word WS$, com.arsi.mj.rw.MJUserAgentCtx#WS
public int workstationSupportsGUI()
String of characters forming a unique identifier for each workstation (client). Guaranteed to be unique across all sessions and system platforms. One use for this reserved word is forming unique identifiers for workstation objects (pictures, list boxes, combo boxes, and text boxes). Valid only when current session is associated with a user agent.
See Also:
 MAPPER reserved word WSITE$, com.arsi.mj.rw.MJUserAgentCtx#WSITE
public java.lang.String workstationUUID()
Workstation session opened to a host system.
See Also:
com.arsi.mj.rw.MJUserAgentCtx#workstationSupportsGUI
public int WS()
The IP address of the workstation.
See Also:
com.arsi.mj.rw.MJUserAgentCtx#workstationIP
public java.lang.String WSIPA()
String of characters forming a unique identifier for each workstation.
See Also:
com.arsi.mj.rw.MJUserAgentCtx#workstationUUID
public java.lang.String WSITE()

Interface: MJUserCtx   previous package

Defines equivalent methods for MAPPER reserved words related to identity of user associated with the currently executing program.
public interface com.arsi.mj.rw.MJUserCtx
Methods
User's department sign-on number.
See Also:
com.arsi.mj.rw.MJUserCtx#deptNumeric
public int DEPN()
User's department name (in other words, the department name associated with the currently executing program).
See Also:
 MAPPER reserved word DEPT$, com.arsi.mj.rw.MJUserCtx#DEPT
public java.lang.String dept()
User's department name.
See Also:
com.arsi.mj.rw.MJUserCtx#dept
public java.lang.String DEPT()
User's department sign-on number (in other words, the department number associated with the currently executing program).
See Also:
 MAPPER reserved word DEPN$, com.arsi.mj.rw.MJUserCtx#DEPN
public int deptNumeric()
User's security group number.
See Also:
com.arsi.mj.rw.MJUserCtx#securityGroupNumeric
public int SECGRP()
User's security group number, 1 through 200 (in other words, the security group number number associated with the currently executing program).
See Also:
 MAPPER reserved word SECGRP$, com.arsi.mj.rw.MJUserCtx#SECGRP
public int securityGroupNumeric()
User-id of the user who started the script (in other words, the user associated with the currently executing program).
See Also:
 MAPPER reserved word USER$, com.arsi.mj.rw.MJUserCtx#USER
public java.lang.String user()
User-id of the user who started the script.
See Also:
com.arsi.mj.rw.MJUserCtx#user
public java.lang.String USER()