Sample Programs


Xatz is delivered with a small number of sample test programs in the Enterprise Common Components sample library hlq.SLCXCNTL.

XADCICC0

Sample CICS test program using CICS Assign api for retrieving program information. Must be called by call interface CICSLINK.

XADCICC1

Sample CICS test program using CICS Containers instead of commarea. Must be called by call interface CICSLINK.

XADCICC2

Sample CICS test program using CICS TS Storage instead of commarea. Must be called by call interface CICSLINK.

XADCICC3

Sample CICS test program using CICS Containers and TS Storage instead of commarea. In the sample, the Container and TS Storage names are composed by variables &{tran4} and &{task5}. Must be called by call interface CICSLINK.  The Functional Test transaction XATZ must be defined with a TWASIZE of 10 or more.

XADCICC4

Sample CICS test program for execute as started transaction. A CICS transaction must be defined for this program.

XADCICC5

Sample CICS test program using CICS TWA for arguments. The Functional Test transaction XATZ must be defined with a TWASIZE of 6 or more.

XADB2TST

Sample CICS/Batch test program using Db2 in source format in XATZSAMP. Source is located in XADB2TST. DDL for tables is located in XADB2DDL. Load data is located in XADB2LOD. If run under CICS it must be called by call interface: CALL.

XAPGMBT1

Sample Batch test program using Db2 in source format in XATZSAMP. Source is located in XAPGMBT1. Copy books are located in XACARM and XACARMO. DDL for tables is located in CARMAKDD and CARMODDD. Load data is located in CARMAKLD and CARMODLD.

XAPGMCAL

Sample test program with time functions. Delivered as source and object code. If run under CICS it must be called by call interface: CALL.

XAPGMTST

Sample test program with all types of data. Delivered as source and object code. If run under CICS it must be called by call interface: CALL.

XADPGMT2

Sample test program for call recording. Delivered as source and object code. If run under CICS it must be called by call interface: CALL.

XAEXSILU

Sample test program for simple lookup of hardcoded EMP values with no Db2 access. If run under CICS it must be called by call interface: CALL.

XAMAINPG

Sample Batch test program for simple lookup of hardcoded EMP values with no Db2 access.

XAMOCCAL

Sample test program demonstrating virtualization. If run under CICS it must be called by call interface: CALL.

XARISCAL

Sample test program demonstrating simple calculations for use in Code Coverage. If run under CICS it must be called by call interface: CALL.

XADALTM1

Sample test batch main program for testing sub modules or entries in statically linked load modules. XADALTM1 has two entries: XADALTE1 and XADALTE2. XADALTM1 has two statically linked sub programs, XADALTS1 and XADALTS2.1    

XADALTS1

Sample test batch sub program for testing sub modules or entries in statically linked load modules. XADALTS1 has two entries: XADAL1E1 and XADAL1E2. XADALTS1 does not exist as a stand-alone program, but is statically linked in load module XADALTM1. When testing this sub module or entries, make sure the Optional main module in the Functional Test Component Definition is set to XADALTM1.1

XADALTS2

Sample test batch sub program for testing sub modules or entries in statically linked load modules. XADALTS2 has two entries: XADAL2E1 and XADAL2E2. XADALTS2 does not exist as a stand-alone program, but is statically linked in load module XADALTM1. When testing this sub module or entries, make sure the Optional main module in the Functional Test Component Definition is set to XADALTM1.1

 1 The return value is an 8 character field containing the name of the program name or entry point where execution was started.

 

Tip: For faster searching, add an asterisk to the end of your partial query. Example: cert*

BMC AMI DevX Total Test