CA Verify for CICS: Is there a batch utility to print a test stream?
search cancel

CA Verify for CICS: Is there a batch utility to print a test stream?

book

Article ID: 22213

calendar_today

Updated On:

Products

Verify

Issue/Introduction

I am using CA Verify for CICS.  I have a failing test stream of many screens.  It is not practical for me to send screen shot images of all of these screens to the issue. Is there a batch utility to print a test stream?

Environment

Release: OSVERW00200-8.5-Verify-Automated Regression Testing-for VTAM Extended Environment

Resolution

When a test script for CA Verify for CICS contains just several screens, one can print out screen shots and the test script errors without too much difficulty. But for larger test scripts this can get very cumbersome. There is a CA Verify for CICS batch utility, TCABATCH, that you can execute that will create a listing that shows the screens and corresponding errors for a failing test script. This output will help you to debug your test script, or in the case you have opened an issue with Broadcom, create output that can easily be attached to the issue.

What follows are the steps required to execute a CA Verify for CICS batch utility (TCABATCH) that will print out the results of running a test script.

These instructions will be assuming the script was originally specified with the name "ARRATEBK.ARRA2.001".

You will note that CA Verify for CICS numbers scripts sequentially starting with 001 so these directions will apply no matter what the sequence number is.

  1. From a clear screen, enter "XTCA RUN TCADS.ARRATEBK.ARRA2.001" (no quotes).

    What this command will do is run the script without stopping for errors.

  2. After the command finishes a *.002 script will be created in your TCADS file.

    The *.002 script will contain the errors you are seeing.

  3. Use the batch utility program TCABATCH to print out the *.002 dataset:

    //JOBCARD
    //*
    //COPY EXEC PGM=TCABATCH,REGION=1M
    //STEPLIB DD DSN=Your.VERIFY.Loadlib,DISP=SHR
    //CAOESTOP DD DUMMY
    //SYSPRINT DD SYSOUT=*
    //TCAPRINT DD SYSOUT=*
    //SYSUDUMP DD SYSOUT=*
    //TCADSIN DD DISP=SHR,DSN=Your.TCADS.File
    //*TCADSOUT DD DISP=SHR,DSN=Your.TCADS.File
    //SYSIN DD *
    PRINT NOHI DIFF(YES) DISPLAY APRULES(YES)
    SELECT ARRATEBK.ARRA2.002
    /*
    //

You will notice that the output of the job is a listing of all the screens in your test script and the errors.

This output can then be FTP'D ASCII to Broadcom technical support using a DCB of RECFM=FB LRECL=133 BLKSIZE=26600.