Now you can run the load module by logging on to CICS and entering the transaction code. For example, using the transaction installed in step 3, you enter the transaction code SAMP. The output from your program appears on a CICS terminal.
Note: | You can measure the amount of time it takes for your application to run under CICS/ESA by using the millisecondClockValue method. Because of CICS's dispatching architecture, however, be aware that millisecondClockValue returns a value based on the STCK assembler instruction, which gives the current value of the time-of-day clock (TOD). This factor will vary significantly and should not be used as an accurate measure of performance. |
You can use the query module (QMOD) transaction to obtain image type and virtual machine (VM) usage information for an existing Smalltalk load module. QMOD provides you with information as to how the specified load module was originally built. The QMOD transaction also supplies information about the image control table (ICT), which is setup by the system programmer for use with the ABTCMF1B and ABTCMF2B JCL procedures. See your system programmer for more information about the ICT.
The QMOD transaction displays the following information about the image associated with the built load module:
The QMOD transaction also displays the following information about the Smalltalk virtual machine that will be used by the application image:
QMOD is defined using standard CICS transaction and program resource definitions. During VisualAge Smalltalk Server installation, the required CSD definitions are automatically added to your target CSD. The program name is ABTCQMOD, and the transaction identifier is QMOD.
To use QMOD, run the QMOD transaction from a terminal window with the following syntax:
QMOD program name
For example, to obtain information about a Smalltalk application program named RUN01, enter:
QMOD RUN01
The following output is then displayed:
---------------------------------- Image Name : RUN01 VM Module : ABTCV140 Image Type : Single Image Execution Mode : Static Link Perf Instrumentation: On Cmd Line Arguments : <-MN262144 -MI2097152 -MC2000000> Created (Date) : 1997/01/11 14:32:27 Version : 4.2.0 ---------------------------------- * Virtual Machine * VM Module : ABTCV140 VM Type : Single Image VM Created (Date) : 1996/01/11 14:40:11 Version : 4.2.0 ----------------------------------
To obtain information about the ICT, enter the following:
QMOD ICT
The following output is then displayed:
------------------------------------------ Smalltalk Image Control Table (ICT) V420 ------------------------------------------ ABTXICT Timestamp: 06/26/96 @ 16.29 1. DSN= ABT.TPO3.CICS.IMAGE 2. DSN= BJLLIB.CICSDEV.SABTCIMG 3. DSN= ABT.CICSDEV.SABTCIMG ------------------------------------------
If the application could not be located in the CICS DFHRPL concatenation, a message indicates that the load request failed.