RKTools installation: Difference between revisions
No edit summary |
No edit summary |
||
Line 3: | Line 3: | ||
Introduced in RKTools V7.7 (mid-2017), <var class="product">[[RKWeb]]</var> is a web-based version of the <var class="product">Model 204</var> utilities and tools, including most of RKTools. RKWeb is installed as part of RKTools. | Introduced in RKTools V7.7 (mid-2017), <var class="product">[[RKWeb]]</var> is a web-based version of the <var class="product">Model 204</var> utilities and tools, including most of RKTools. RKWeb is installed as part of RKTools. | ||
Another important change in V7.7 is | Another important change in V7.7 is the consolidation of all Rocket-provided, Soul-based tools into M204PROC. The components formerly in the SIRIUS procedure file, and those formerly associated with the SQL interface have all been moved to M204PROC, which means that all Model 204 tools provided by Rocket are in a single file. The RKTools install process will change the apsy definitions to point to the new procedure file - if you want to switch back to the previous version of RKTools you should keep a backup of your current SIRIUS file and your current CCASYS file (though you can also change the apsy definitions manually via SUBSYSMGMT). | ||
Because all Rocket Model204 procedure are now in one file, you should review the [[Dictionary/204 installation guide]] to see what steps, if any, related to SUBSYSMGMT, FILEMGMT, etc., might need to be run. | Because all Rocket Model204 procedure are now in one file, you should review the [[Dictionary/204 installation guide]] to see what steps, if any, related to SUBSYSMGMT, FILEMGMT, etc., might need to be run in addition to this install. | ||
Installing <var class="product">RKTools</var> requires downloading the <code>M204PROC</code> file from the <var class="product">Model 204</var> maintenance website, restoring it to your environment, setting up some subsidiary <var class="product">Model 204</var> files, and verifying that the environment has the appropriate parameter settings. | Installing <var class="product">RKTools</var> requires downloading the <code>M204PROC</code> file from the <var class="product">Model 204</var> maintenance website, restoring it to your environment, setting up some subsidiary <var class="product">Model 204</var> files, and verifying that the environment has the appropriate parameter settings. | ||
Line 100: | Line 100: | ||
<table class="thJustBold"> | <table class="thJustBold"> | ||
<tr><th>File</th> <th>Allocation is required...</th></tr> | <tr><th>File</th> <th>Allocation is required...</th></tr> | ||
<tr><th> | <tr><th>M204PROC</th> | ||
<td>always</td></tr> | <td>always</td></tr> | ||
Revision as of 20:06, 29 May 2017
RKTools (Rocket Tools for Model 204) is a set of application subsystems (aka APSYs) running inside a Model 204 Online that provide 3270 and web-based tools for programmers, database administrators, and system managers. RKTools was formerly known as UL/SPF.
Introduced in RKTools V7.7 (mid-2017), RKWeb is a web-based version of the Model 204 utilities and tools, including most of RKTools. RKWeb is installed as part of RKTools.
Another important change in V7.7 is the consolidation of all Rocket-provided, Soul-based tools into M204PROC. The components formerly in the SIRIUS procedure file, and those formerly associated with the SQL interface have all been moved to M204PROC, which means that all Model 204 tools provided by Rocket are in a single file. The RKTools install process will change the apsy definitions to point to the new procedure file - if you want to switch back to the previous version of RKTools you should keep a backup of your current SIRIUS file and your current CCASYS file (though you can also change the apsy definitions manually via SUBSYSMGMT).
Because all Rocket Model204 procedure are now in one file, you should review the Dictionary/204 installation guide to see what steps, if any, related to SUBSYSMGMT, FILEMGMT, etc., might need to be run in addition to this install.
Installing RKTools requires downloading the M204PROC
file from the Model 204 maintenance website, restoring it to your environment, setting up some subsidiary Model 204 files, and verifying that the environment has the appropriate parameter settings.
Once the installation is complete, upgrades to RKTools can almost always be handled by restoring a fresh copy of the M204PROC
file.
Download the installation file
All RKTools code resides in the M204PROC
Model 204 file. You will need to download a dump version of this file from the Rocket Software Model 204 maintenance website.
To download from the Rocket website:
- On the Rocket M204 Customer Care page, go to the "Downloads and Uploads" section and select the "Download SOUL files" link to access the "SOUL files for Rocket Software" page.
- Log in, and download the latest version of the
M204PROC
file. The RKTools held in M204PROC Version 7.7 will work for Model 204 releases 7.6 and above. For older releases of Model 204 use the download labeled "RKTools V7.5".A "Click here" link on the download page provides help about downloading and uploading files, file sizing, and more.
You can bypass any step of the installation that applies only to a RKTools module you are not installing.
System requirements
- RKTools operates in a Model 204 Online region of the same or higher release number as RKTools. In other words, version 7.5 of RKTools requires Model 204 version 7.5 or higher. RKTools V7.7 was made specifically backward compatible to M204 Version 7.6, thought Version 7.7 is recommended.
- Requirements for server sizes and parameter settings for each product are listed in RKTools server sizes.
- To verify the products for which your Online is authorized, enter
ROCKET
at the Model 204 command line. - The installing user must have:
- Update access to the JCL or EXECs that bring up the host Online
- System manager privileges
- Access to the SUBSYSMGMT facility and the JCL or EXEC that runs the Online Model 204 region.
Installing RKTools
Attention: If you are upgrading from a previous release, keep your old copies of SIRLOCAL
, M204LOCL
and any application-specific data files, such as JANCAT
, SIRLIBD
, SIRFILED
, or SIRSTATS
. As of RKTools V7.7, the SIRIUS
file is no longer used, but there is no harm in keeping it in case you want to fall back to a previous release.
The installation process uses your existing RKTools files to determine whether to perform upgrade actions or new-installation actions.
- Allocate the space required for the RKTools files.
- If you are restoring into your existing
M204PROC
file, note that theM204PROC
file has X'0221' privileges, which does not allow RESTORE. You will have to CREATE the file first (to wipe out existing content) before you execute the RESTORE. A sample command sequence is:CREATE FILE M204PROC END CREATE OPEN FILE M204PROC IN M204PROC RESTORE 192 FROM dumpfile
- RESTORE
M204PROC
from the downloaded DUMP file. - Update the Online JCL or EXEC:
- Add DD (MVS) cards or FILEDEFs (CMS) for the RKTools files.
The following table lists the files for which DD cards or FILEDEFs might be needed:
File Allocation is required... M204PROC always SIRLOCAL always M204LOCL If using RKWeb M204DATA only if installing SirMon and using the web interface SIRFILED only if installing SirFile SIRLIBD, SIRLIBP only if installing SirLib JANCAT only if installing JANUS OMNI Access Module JANSSL only if installing JANUS SSL Module - Verify that the Online environment allows the use of file groups and APSY subsystems.
- To use permanent file groups, the Online must have allocated an
initialized
CCAGRP
file, and the SYSOPT parameter must contain the2
bit. - To use APSYs, an Online must have allocated an initialized CCASYS file
(with all fields defined), and the SYSOPT parameter must contain the
1
bit.
- To use permanent file groups, the Online must have allocated an
initialized
- Add DD (MVS) cards or FILEDEFs (CMS) for the RKTools files.
The following table lists the files for which DD cards or FILEDEFs might be needed:
- Verify that the Online has a minimum of 10 Sdaemon threads allocated. Each of these threads is typically defined as
IODEV15
thread. If using RKWeb or any of the web interfaces to other components, you may need more IODEV15s available. - Modify the User 0 stream.
Adjust these parameters:
Parameter Adjustment NFILES Increase by the number of RKTools files. NDCBS Increase by the number of RKTools files. NDIR Increase by the number of RKTools files. NORQS Minimum setting is 5. MAXDAEM Minimum setting is 10. MAXINCL Minimum setting is 10. CUSTOM RKWeb requires the 18 bit to be on, to enable a larger SSLIBSIZE on the Janus web port. COMPOPT RKTools requires the COMPOPT X'03' bit, which enables mixed-case SOUL. RKTools makes extensive use of mixed-case coding, and the tools fail to compile if support is not enabled. If batch SirLib or other batch features are used, ensure that COMPOPT is set to X'03' in those jobs as well. - Verify you have adequate UTABLE settings:
UTABLE parameter Value Description SEQPDL 4096 Minimum PDL available for sequencer LIBUFF 2000 Length of input buffer LOBUFF 960 Length of output buffer LPDLST 10000 Length of user push down list LQTBL 2200 Length of QTBL LNTBL 50 Length of NTBL LSTBL 60000 Length of STBL LTTBL 2000 Length of TTBL LVTBL 1300 Length of VTBL LGTBL 2000 Length of global variable table LFTBL 1000 Length of FTBL LXTBL 1000 Length of XTBL LITBL 104 Length of ITBL LOUTPB 10000 Length of output page buffer LFSCB 21400 Length of full screen buffer NORQS 10 Number of requests preserved HTLEN 220 Max length of each header or trailer MAXHDR 7 Max number of headers MAXTRL 7 Max number of trailers SCRNSTBL 12000 STBL size for screen objects - Issue
OPEN FILE M204PROC
(no password is required), and execute the following command:INCLUDE RKTOOLS_INSTALL
This procedure performs all installation functions for new users and all upgrade functions for reinstalling users. No user profiles or other site-specific customization will be lost. If any problems are encountered while running this procedure, correct the problems and re-execute.
The procedure RKTOOLS_INSTALL also builds an APSY subsystem called
During APSY subsystem execution, some error messages are not suppressed, which aids in diagnosing any installation problems. For example, you will be able to see if an installation failed because a file was enqueued in a different Online, and so on.RKINSTALL
. If installations need to be re-run, the subsystem may be invoked rather than the procedure. - Use SUBSYSMGMT to add users to the appropriate SCLASSes for any private or semi-public RKTools subsystems.
The installing user is automatically added to the administration SCLASS in all RKTools subsystems.
- Review the next section, "RKTools server sizes," for specific requirements of individual subsystem components of RKTools.
The following table shows the RKTools files and their sizes.
File | Size | Allocation is required... |
---|---|---|
M204PROC | 9800 pages | always |
SIRLOCAL | 1200 pages | always |
M204LOCL | 2000 pages | required for RKWeb |
MONDATA | 4000 pages | only if installing SirMon. Note that MONDATA replaces SIRSTATS, which is no longer needed as of RKTools V7.7 |
SIRFILED | 1200 pages | only if installing SirFile |
SIRLIBD | 1200 pages | only if installing SirLib |
SIRLIBP | 1200 pages | only if installing SirLib |
JANCAT | 1200 pages | only if installing Janus OMNI |
JANSSL | 1200 pages | only if installing Janus SSL or RKWeb |
Note: CCATEMP usage might increase with RKTools.
CCATEMP should be monitored (VIEW TEMPSIZE
, VIEW TEMPMAX
) to ensure that sufficient space is allocated to accommodate the additional activity.
RKTools server sizes
The minimum RKTools server size requirements are listed below. The actual server size requirements might vary slightly because of table settings in your Model 204 online, and because of slight differences between UTABLE requirements in different versions of Model 204. Rocket recommends using one server size for the entire online, making it at least 750000 bytes to accomodate the largest RKTools component.
Subsystem name | Minimum server size |
---|---|
SIRADMIN | 150K |
SIRDBA | 180K |
SIRFILE | 230K |
SIRLIB | 135K |
SIRMON | 220K |
SIRPRO | 750K |
SIRSCAN | 250K |
JANSSL | 300K |
RKTools | 135K |
UTABLE and parameters
Initial problems with RKTools subsystems are usually associated with one or two extremely small default UTABLE settings.
Running the failing subsystem in TEST DEBUG
mode will highlight UTABLE parameters that need to be increased.
Note: One parameter that must be set for
SIRMON
,SIRPRO
, andSIRSCAN
is SCRNSTBL, which is necessary for the use of screen objects.
RKTools required parameter minimums Parameter Value SCRNSTBL 12000. A setting of 18000 is recommended for shops that use Mod 6 terminals with very large screen sizes (Rocket regularly tests with 3270 screen sizes of 50x150 characters).
Additional setup for SirLib
Read and follow the instructions in the SirLib "getting started" steps.
Additional setup for SirScan
The SirScan administrator can use SIRADMIN to set default I/O and record maximums for users in the various SirScan SCLASSes. See SirScan setup for details.
Additional setup for SirMon
When users are added to SCLASSes, note that there is a special BUMP SCLASS. Any user added to this SCLASS gains the ability to BUMP other users. This class does not provide access to customizing options in SirMon. Only users in the ADMIN SCLASS are able to add custom screen definitions to SirMon.
If the SirMon background monitor is to be used, add the following line to User 0's input stream:
SIRMON BACKGROUND
The background monitor may also be started automatically in a BATCH2 thread or an sdaemon thread. Consult the SirMon documentation for details.
You can customize statistic thresholds or use the supplied defaults to establish problem conditions.
SirMon has a feature to send warnings to e-mail addresses and cell phones (via e-mail). This feature requires Janus Sockets and a started Janus Sockets port.
Additional setup for SirFile
If the SirFile background monitor is to be used, add the following line to User 0's input stream:
SIRFILE BACKGROUND
As with SirMon, the background monitor may be started automatically in a BATCH2 thread or in an sdaemon thread. See SirFile refresh process for details.
You can customize the system and file-specific thresholds or use the supplied defaults to establish problem conditions.
RKTools access privileges and SCLASSes
Each component application of RKTools has its own APSY subsystem definition and privileges associated with SCLASS specifications. If you have a good reason for doing so, you can redefine any of the RKTools subsystems as PUBLIC, SEMI-PUBLIC, or PRIVATE. Contact Rocket Software if you are unsure of the effect of a proposed change.
RKTools components are installed as auto-start. Use SUBSYSMGMT to disable this feature if you prefer that the subsystems not start automatically at each user request.
RKWeb - Model 204 Tools on the Web
New for version V7.7 (and requiring at least Model 204 Version 7.6 - RKWeb provides web access to all the important elements of Model 204. Use of this product requires Janus Web Server. If your site does not own Janus Web, RKWeb can still be used by a limited number of Janus Web threads via the Janus TOGA agreement (which allows the running of up to 4 web threads).
Because RKWeb includes an interface for password maintenance, it is mandatory to run it on an SSL-protected web port.
Following are the recommended and mandatory Janus rules to run RKWeb:
- ... Codepage 0037... json requires square brackets to be Unicode 5B & 5D...
- ... translate EBCDIC BA/BB accordingly
UNICODE TABLE STANDARD MAP E=BA IS U=005B UNICODE TABLE STANDARD MAP E=BB IS U=005D
- ... support for the Ace Editor, part of RKWeb
JANUS WEB [portname] ON /ACE/* OPEN FILE ACEPROC SEND * TEXT JANUS WEB [portname] ON /ACE/EDITOR OPEN FILE ACEPROC CMD 'I EDITOR' JANUS WEB [portname] ON /ACE/PROCLIST OPEN FILE ACEPROC CMD 'I PROCLIST' JANUS WEB [portname] ON /ACE/S.SETTINGS.PNG OPEN FILE ACEPROC SEND S.SETTINGS.PNG BINARY EXPIRE +999999 JANUS WEB [portname] ON /ACE/S.SIRLIB_SEQ.PNG OPEN FILE ACEPROC SEND S.SIRLIB_SEQ.PNG BINARY EXPIRE +999999 JANUS WEB [portname] ON /ACE/*.JS OPEN FILE ACEPROC SEND *.JS TEXT JANUS WEB [portname] ON /ACE/SRC/SNIPPETS/*.JS OPEN FILE ACEPROC SEND /ACEPROC/SRC/SNIPPETS/*.JS BINARY EXPIRE +999999 JANUS WEB [portname] ON /ACE/SRC/*.JS OPEN FILE ACEPROC SEND /ACEPROC/SRC/*.JS BINARY EXPIRE +999999 JANUS WEB [portname] ON /ACE/SRC/MODE-M204.JS OPEN FILE ACEPROC SEND MODE-M204.JS TEXT JANUS WEB [portname] ON /ACE/LIB/*.JS OPEN FILE ACEPROC SEND *.JS BINARY EXPIRE +999999 JANUS WEB [portname] ON /EDITOR/* OPEN FILE ACEPROC CMD 'I UTIL_CODE_MANAGER.JSON'
- ... RKWeb rules:
JANUS WEB [portname] ON /RKWEB/* CMD RKWEB JANUS WEB [portname] ON /RKWEB/*.CSS OPEN FILE M204PROC SEND "1.CSS TEXT EXPIRE +7200 JANUS WEB [portname] ON /RKWEB/*.JS OPEN FILE M204PROC SEND "1.JS TEXT EXPIRE +7200 JANUS WEB [portname] ON /RKWEB/*.GIF OPEN FILE M204PROC SEND "1.GIF EXPIRE +7200 JANUS WEB [portname] ON /RKWEB/*.PNG OPEN FILE M204PROC SEND "1.PNG EXPIRE +7200 JANUS WEB [portname] ON /RKWEB/*.JPG OPEN FILE M204PROC SEND "1.JPG EXPIRE +7200 JANUS WEB [portname] ON /RKWEB/*.JPEG OPEN FILE M204PROC SEND "1.JPEG EXPIRE +7200 JANUS WEB [portname] ON /RKWEB/*/*.CSS OPEN FILE M204PROC SEND "2.CSS TEXT EXPIRE +7200 JANUS WEB [portname] ON /RKWEB/*/*.JS OPEN FILE M204PROC SEND "2.JS TEXT EXPIRE +7200 JANUS WEB [portname] ON /RKWEB/*/*.GIF OPEN FILE M204PROC SEND "2.GIF EXPIRE +7200 JANUS WEB [portname] ON /RKWEB/*/*.PNG OPEN FILE M204PROC SEND "2.PNG EXPIRE +7200 JANUS WEB [portname] ON /RKWEB/*/*.JPG OPEN FILE M204PROC SEND "2.JPG EXPIRE +7200 JANUS WEB [portname] ON /RKWEB/*/*.JPEG OPEN FILE M204PROC SEND "2.JPEG EXPIRE +7200 JANUS WEB [portname] ON /RKWEB/*/RKWSEND/*.* OPEN FILE M204PROC SEND "2."3 EXPIRE +7200 JANUS WEB [portname] ON /RKWSEND/* OPEN FILE M204PROC SEND * EXPIRE +7200
- ... Rules supporting the applications implemented as Janus Legacy apps.
JANUS WEB [portname] DISALLOW /SIRLIB* JANUS WEB [portname] DISALLOW /DICTADMIN* JANUS WEB [portname] DISALLOW /DICTREPORT* JANUS WEB [portname] DISALLOW /DICTDOC* JANUS WEB [portname] DISALLOW /XREF* JANUS WEB [portname] DISALLOW /FILEMGMT* JANUS WEB [portname] ALLOW /SIRLIB* USER * JANUS WEB [portname] ALLOW /DICTADMIN* USER * JANUS WEB [portname] ALLOW /DICTREPORT* USER * JANUS WEB [portname] ALLOW /DICTDOC* USER * JANUS WEB [portname] ALLOW /XREF* USER * JANUS WEB [portname] ALLOW /FILEMGMT* USER * JANUS WEB [portname] ON /SIRLIB* CMD 'SIRLIB *' JANUS WEB [portname] ON /DICTADMIN* CMD 'DICTADMIN *' JANUS WEB [portname] ON /DICTREPORT* CMD 'DICTREPORT *' JANUS WEB [portname] ON /DICTDOC* CMD 'DOCUMENT *' JANUS WEB [portname] ON /XREF* CMD 'XREF *' JANUS WEB [portname] ON /FILEMGMT* CMD 'FILEMGMT *' JANUS WEB [portname] SCREEN /SIRLIB/* - EXITURL '/rkweb/' EXITKEY 'Exit SirLib' AUTOPF ON CSS /styles/cool.css - BGCOLOR 'white' TEXT 'black' - BLUE '#000066' GREEN '#006600' PINK '#ff80ff' RED '#ff0000' TURQUOISE '#0033ff' WHITE '#0000ff' YELLOW '#ffff00' JANUS WEB [portname] SCREEN /DICTADMIN* - EXITURL '/rkweb/' EXITKEY 'Exit DictAdmin' AUTOPF ON CSS /styles/cool.css - BGCOLOR 'white' TEXT 'black' - BLUE '#000066' GREEN '#006600' PINK '#ff80ff' RED '#ff0000' TURQUOISE '#0033ff' WHITE '#0000ff' YELLOW '#ffff00' JANUS WEB [portname] SCREEN /DICTREPORT* - EXITURL '/rkweb/' EXITKEY 'Exit DictReport' AUTOPF ON CSS /styles/cool.css - BGCOLOR 'white' TEXT 'black' - BLUE '#000066' GREEN '#006600' PINK '#ff80ff' RED '#ff0000' TURQUOISE '#0033ff' WHITE '#0000ff' YELLOW '#ffff00' JANUS WEB [portname] SCREEN /DICTDOC* - EXITURL '/rkweb/' EXITKEY 'Exit Document' AUTOPF ON CSS /styles/cool.css - BGCOLOR 'white' TEXT 'black' - BLUE '#000066' GREEN '#006600' PINK '#ff80ff' RED '#ff0000' TURQUOISE '#0033ff' WHITE '#0000ff' YELLOW '#ffff00' JANUS WEB [portname] SCREEN /XREF* - EXITURL '/rkweb/' EXITKEY 'Exit Xref' AUTOPF ON CSS /styles/cool.css - BGCOLOR 'white' TEXT 'black' - BLUE '#000066' GREEN '#006600' PINK '#ff80ff' RED '#ff0000' TURQUOISE '#0033ff' WHITE '#0000ff' YELLOW '#ffff00' JANUS WEB [portname] SCREEN /FILEMGMT* - EXITURL '/rkweb/' EXITKEY 'Exit FileMgmt' AUTOPF ON CSS /styles/cool.css - BGCOLOR 'white' TEXT 'black' - BLUE '#000066' GREEN '#006600' PINK '#ff80ff' RED '#ff0000' TURQUOISE '#0033ff' WHITE '#0000ff' YELLOW '#ffff00' START SUBSYSTEM DICTADMIN START SUBSYSTEM DICTREPORT START SUBSYSTEM DOCUMENT START SUBSYSTEM XREF START SUBSYSTEM FILEMGMT
Again, because the above rules force users to log in with their enterprise credentials, and because RKWeb provides an interface into protected elements like passwords and apsy definitions, the port on which RKWeb runs must be SSL protected.
Once the rules are implemented and the port is started, RKWeb can be reached via a URL like this:
https://www.mydomain.com/rkweb/welcome.html
As implied by the above rules, some RKWeb applications are implemented with Janus Legacy, which launches them into a separate browser tab. Janus Legacy apps are not fully integrated with RKWeb, so use the security configured for those apps. For instance, FileMGMT is implemented with Janus Legacy and might prompt the user for a separate password.