ALERT: Some images may not load properly within the Knowledge Base Article. If you see a broken image, please right-click and select 'Open image in a new tab'. We apologize for this inconvenience.
When attempting to place a program under Date Simulator control using program WARPPARM the programmer receives error message WARP011I:0002: STCK :The Store Clock trapping feature has been disabled
Article ID: 125754
The client just installed CA Date Simulator for the first time and is a NEW user. The client then started the WARPMAIN task that is used to warp dates for programs. When the client attempted to place a program - under CA Date Simulator control using utility program WARPPARM they receive error message WARP011I:0002: STCK :The Store Clock trapping feature has been disabled. For example
//WARPDATE EXEC PGM=WARPPARM //STEPLIB DD DISP=SHR,DSN=CA.DATESIM.V200.APFLOAD // DD DISP=SHR,DSN=CA.DATESIM.V200.SCEERUN.CEEPLPKA //SYSOUT DD SYSOUT=* //SYSIN DD * SET JOB TIMECOB CURRENT DATE 09/21/2018 -
The cause of the problem is the SVC number parameter is missing when starting the Date Simulator program WARPMAIN. CA Date Simulator requires an SVC to use the store clock trapping feature.
Specify an SVC on the WARPMAIN started task. For example the following JCL is using SVC 219 for managing the Store Clock commands.
When my server starts I receive the message below which your server does not have
WARP103I: STORE CLOCK HANDLING IS ENABLED
… In the Date simulator HLQ.CNTL(DATESIM) PDS we have the WARPMAIN server JCL with the STCKSVC example JCL for reference.
//DATESIM EXEC PGM=WARPMAIN //* //* optionally specify these parameters: //* STCKSVC=xxx where xxx is from 200 to 255 //* NOWTO //* SMFNUM=yyy where yyy is from 128 to 255 //* //* E.G. EXEC PGM=WARPPARM,PARM='STCKSVC=233' //* EXEC PGM=WARPPARM,PARM='STCKSVC=252,NOWTO,SMFNUM=180'
… Below from the documentation is information on the SVC you will need to add to the WARPMAIN server.
Step 7. Select the Number of an Unused Type 3 SVC
If you intend to use the Store Clock handling feature, you must find and assign the number of an unused type 3 SVC in your z/OS operating system. Obtain this number from your z/OS system programmer. The JCL used to start the store clock is then specified to CA Date Simulator.
See the chapter “CA Date Simulator Operations.”
Note: CA Date Simulator uses this number but there is no actual SVC routine that must be installed.
JCL Parameters You can specify the following parameters on the EXEC card of the CA Date Simulator JCL: Parameter Description
For CA Date Simulator to trap Store Clock instructions, you must supply it with the number of an unused type 3 SVC in the range 200-255. Obtain this number from your z/OS system programmer.
JCL example from page 3-2
Run CA Date Simulator as a Batch Job
CA Date Simulator can be run as a batch job using JCL such as the following:
highlvl The high-level qualifier of the CA Date Simulator data sets. vvvv The version identifier.
Run CA Date Simulator as a Started Task CA Date Simulator can be run as a started task with a cataloged procedure using JCL such as the following:
//DATESIM PROC //DATESIM EXEC PGM=WARPMAIN,PARM=’parameters’ //STEPLIB DD DISP=SHR,DSN=highlvl.vvvv.APFLOAD //SYSLIB DD DISP=SHR,DSN=highlvl.vvvv.APFLOAD //SYSUDUMP DD SYSOUT=X //SYSOUT DD SYSOUT=X //SYSIN DD DISP=SHR,DSN=highlvl.vvvv.CNTL(STARTUP) highlvl The high-level qualifier of the CA Date Simulator data sets. vvvv The version identifier.
Note: You can call the cataloged procedure anything you want, but it is best to avoid the name WARP, because it is a CA Date Simulator subsystem name.