Milestone 8: Define Started Tasks
ISPW relies on four Started Tasks (CM, CI, CT, and SX) to perform all its operations. Without these Started Tasks, ISPW will not function. Follow the instructions in this Milestone to define those Started Tasks.
Task 8.1 Define Common Parameters
On the ISPW Guided Configuration Dialog Main Menu, type 4 (Define Started Tasks) in the Option field and press Enter. The Define Parameters for Started Tasks screen is displayed.
Define Parameters for Started Tasks Screen
If you do not want to import parameters from a prior release, skip ahead to Step 5 (not Option 5).
To import parameters from a previous release of ISPW, type I in the Option field and press Enter. The Import Parameters screen is displayed.
Import Parameters Screen- Make sure the dataset and member are correct for CM, CI, and CT, then type GEN in the Option field and press Enter. An ISPF edit session is opened for the job $IMPORT that will be run to import your site’s existing ISPW parameters.
Review the job, then submit it. The imported parameters will form the basis of the CM, CI, and/or CT parameters used in this release of ISPW. The $IMPORT job should complete with one of the following return codes:
- 0 – No issues.
- 4 – Warning: Some parameters may have been skipped.
- 12 – Error: Invalid parameters were found. These should be reviewed and corrected.
These return codes will not prevent the job from running or cause it to fail, but they should be reviewed in order to make any necessary changes to your parameters.
If you do not want to make changes to your imported parameters, skip ahead to Generate Started Task PARMLIB Members.
Type 1 (Update Common Parameters) in the Option field and press Enter. The Define Common Parameters for Started Tasks screen is displayed. Fields with defaults are pre-filled, but you can overtype them.
Define Common Parameters for Started Tasks Screen
- These parameters can be made the defaults for the CMSC. In the Should these parameters... field, type Y or N based on the following:
- If set to Y (Yes), the PARMLIB members generated will have the names IWCM00, IWCI00, and IWCT00. This will cause them to be used as the default by any ISPW instance on the CMSC, unless another set is specified in the PROC.
If set to N (No), the PARMLIB members generated will have names in the format IWCMxxxx, IWCIxxxx, and IWCTxxxx. Where xxxx is the SERVERID specified by the user. A corresponding DD will be added to each of the Started Task PROCs to signify which PARMLIB member to use.
- In the Server Names section of the screen, enter the following:
- In the SERVERID field, enter ISPW (CM) Server ID used by ISPW clients. This is the internal name given to the ISPW instance.
- In the WZCMNAME field, enter the internal name for the ISPW Server (CM) task.
- In the WZCINAME field, enter the internal name for the Communications Interface (CI) task that communicates with the CM specified in WZCMNAME.
- In the WZCTNAME field, enter the internal name for the Component Transfer (CT) task that communicates with the CM specified in WZCMNAME.
- In the Port Numbers section of the screen, enter the following:
- In the WZCMPORT field, enter the port number the CM task listens on for connections from CI and CT.
- Optional: If HCI or Topaz Workbench 18.02 and above or REST APIs will be used, in the WZCMXPRT field, enter the port number the CM task listens on for those REST APIs.
- In the Communications section of the screen, enter the following:
- In the XSYSPROT field, enter the communications protocol used by the CM.
- In the WZCMADDR field, enter the virtual IP address of CM.
Task 8.2 Extract Extra Parameters
If you are performing a new installation or do not have security or TRCMD records, skip ahead to Define CM Specific Parameters.
The migration program ignores security and TRCMD records. The security records are SECRULE, SECPREFIX, SECDELIM and SECCLASS. The extract utility copies these records to a file that is read by the CI, CM, or CT. Run this extract utility only if there were security and TRCMD records ignored by the migration tool.
Execute the extract utility for each CM, CI, and CT you currently run. JCL for the extract utility is provided in the SAMPLIB. There is one for each address space. You must supply the appropriate JOB card information and customize the JCL as required. You will need to modify and run each of the following JCL members located in the SPWMSAMP dataset:
- XTRACCI
- XTRACCT
- XTRACCM
The following figure shows sample JCL for extracting security and TRCMD records from the CM parameters.
Sample JCL for Parameter Extraction
Task 8.3 Define CM Specific Parameters
Return to the Define Parameters for Started Tasks screen, type 2 (Update CM Specific Parameters) in the Option field, and press Enter. The Define Parameters for the CM Started Task screen is displayed. Fields with defaults are pre-filled, but you can overtype them.Define Parameters for the CM Started Task Screen
- In the upper portion of the screen, enter the following:
- In the SECCLASS field, type the SAF security class used by ISPW. See Set Up an SAF Class.
- In the SECRULE field, type the Security Rule Specification.
- In the SETPROC field, type the name of the SX started task. CM will issue a z/OS START for this name when Set Processing is required.
- In the FXPROC field, type the name of the FX started task. CM will issue a z/OS START for this name when Custom Exit processing is required.
In the TCPUSERID field, type the job name of the TCP/IP address space. The default is TCPIP.
- In the Number of TCB’s section of the screen, enter the following:
- In the GPROCESS field, type the number of long running requests that can be processed against Db2 (threads). Maps to the number of long running TCBs.
- In the SPROCESS field, type the number of short running requests that can be processed against Db2 (threads). Maps to the number of short running TCBs.
- In the Authorized Users for Server Start section of the screen, enter a maximum of four userID(s) that can perform a server start. The userID of the installer should be the first entry.
- In the Optional Parameters section of the screen, enter the following:
- In the WEBAPI field, type Y or N . Specifying Y (Yes) enables the Web Services API to ISPW. The default is N (No).
In the CUSTOM_DIALOGS field, type Y or N. Specifying Y (Yes) enables use of custom dialogs. the default is N (No).
- In the CONFIG_NAMES field, type Y or N. Specifying Y (Yes) enables loading of a list of valid runtime configuration names for this CM. The default is N (No).
Task 8.4 Define CI Specific Parameters
Return to the Define Parameters for Started Tasks screen, type 3 (Update CI Specific Parameters) in the Option field, and press Enter. The Update the ISPW CI Parameters screen is displayed. Fields with defaults are pre-filled, but you can overtype them.Update the ISPW CI Parameters Screen
- In the Cross-memory ID XMEMID field, enter the cross-memory ID to be used by ISPW clients to send messages to this CI.
- In the Port Numbers fields, enter the following:
- In the WZCIPORT field, enter the port number on which the CI task will listen for communications from Topaz Workbench 17.02 and below and Remote Servers.
- In the WZCIXPRT field, enter the port number on which the CI task will listen for CSS/XML messages from CES browser apps or CES REST API 18.02.01 and below.
- In the IP Addresses WZCIADDR field, enter the virtual IP address for the CI. Include only when VIPA will be used.
Task 8.5 Define CT Specific Parameters
Return to the Define Parameters for Started Tasks screen, type 4 (Update CT Specific Parameters) in the Option field, and press Enter. The Update the ISPW CT Parameters screen is displayed. Fields with defaults are pre-filled, but you can overtype them.Update the ISPW CT Parameters screen
- In the CT parms section of the screen, enter the following:
- In the TEMPPREFIX field, enter the prefix used to allocate temporary datasets. Created files are deleted by CT. Must be 12 characters or less.
- In the TEMPUNIT field, enter the unit for temporary datasets allocation. The default is SYSDA.
- In the TEMP_PRIMARY_SPACE field, enter the primary allocation space the address space will use for CT Started Task temporary datasets.
- In the TEMP_SECONDARY_SPACE field, enter the secondary allocation space the address space will use for CT Started Task temporary datasets.
- In the CWIDLE field, enter the number of seconds the warehouse dataset can be idle before it is closed and deallocated. The default is 60 seconds.
- In the HKINTERVAL field, enter the number of minutes between warehouse housekeeping operations. The default is 60 minutes.
- In the COMPSTAT field, enter Y (Yes) or N (No) to specify whether compression statistical messages are to be written to SYSLOG. The default is N.
In the HSMINT field, enter Y (Yes) or N (No) to specify whether to use HSM to recall migrated datasets. The default is Y.
- In the TCPUSERID field, enter the job name of the TCP/IP address space. The default is TCPIP.
- In the IP Addresses WZCTADDR field, enter the virtual IP address for the CT. Include only when VIPA will be used—otherwise leave blank.
- In the External Function section of the screen, enter the following:
- In the EFPROC field, enter the name of the ISPWEF proclib member. Include only if you will be using the ISPW External Function Processor Enhancement.
- In the EFRTCONF field, enter the Runtime Config entry to be used by ISPWEF when communicating with CI. Include only if you will be using the ISPW External Function Processor Enhancement.
- In the Audit Log section of the screen, enter the following:
- In the AUDITGDG field, enter the dataset name for GDG created for the audit log.
- In the AUDITMAX field, enter the maximum number of GDG versions. The default is 10.
- In the AUDITUNIT field, enter the allocation unit for GDG datasets. The default is SYSDA.
- In the AUDITVOL field, enter the allocation volume for GDG datasets. The default is an asterisk (*) specifying to use SMS.
- In the AUDITSIZE field, enter the allocation size for GDG datasets, in tracks.
Task 8.6 Generate Started Task PARMLIB Members
Return to the Define Parameters for Started Tasks screen, type 5 (Generate Parmlib Members) in the Option field, and press Enter. If the PARMLIB members have not yet been generated, the dialog will generate them, place them in the previously designated “Work” dataset, and display the Generate Manual Tasks screen. If the PARMLIB members have been previously defined, the popup shown in Popup on the Generate Manual Tasks Screen will be displayed asking whether they should be regenerated or not.Generate Manual Tasks Screen
Popup on the Generate Manual Tasks Screen
- If the popup shown in Popup on the Generate Manual Tasks Screen is displayed, type Y (Yes) or N (No) in the Would you like to regenerate the Parmlib Members field, then press Enter to continue.
To edit one of the PARMLIB members after they have been generated, type 1 , 2 , or 3 in the Command field and press Enter. An ISPF edit session will be displayed for the chosen member.
Once the tasks have been generated, go to the “Work” dataset you specified initially on the ISPW Configuration Dialog. You will find three members, the names of which are dependent on whether they were specified as the default or not in Define Common Parameters. Their names will be in the format IWCMxxxx, IWCIxxxx, and IWCTxxxx where xxxx is either the SERVERID (for non-default) or 00 (for default).
These three members will need to be copied into the PARMLIB that corresponds with the CMSC you plan to use for this instance of ISPW. Contact your CMSC administrator for complete details on where the PARMLIB resides and setting up the CMSC for use with ISPW. You might not have access to copy members to the PARMLIB.
When the three PARMLIB members have been copied over to the PARMLIB, a CMSC refresh command will be needed for the CMSC to recognize the new members. To do so, use the z/OS MODIFY (F) command to update the CMSC with the PARMLIB members you created or updated.
Refreshing All PARMLIB Members
F cmscname,PARMLIB REFRESH
Refreshing A Single Parameter Member
F cmscname,PARMLIB REFRESH member_name
Multiple CI and CT Started Tasks
If your site requires multiple CI and CT Started Tasks, you will need to create additional PARMLIB members, each with their own unique suffix. Appropriate DD statements will also need to be added or modified in the PROCs for the startup tasks. For more information on the format, see Multiple CIs and CTs.