Using Xchange
This section explains how to work with Xchange. Using Xchange, you can set the values for the date and time you want to simulate. Then Xchange will substitute, or exchange, this value each time the programs you specified request the system date and time with a TIME macro, EXEC CICS ASKTIME, STCK, STCKE, or STCKF instruction, or Db2 call. You can tell by looking at the results of your application whether it handled the date change in an appropriate manner. If not, just make the necessary changes and test again using Xchange.
There are eleven different ways of using Xchange's ability to simulate "non-current" system dates and times:
- ISPF Interface
- Jobclass Support
- Offset from Current Date and Time Support
- DB2's Distributed Data Facility Support
- Execution Date Support
- Advance Request Support
- COPE Logical System Support
- Batch Utility
- Code Debug TSO Interface
- IMS Message Level Support
- With CICS
Xchange can also be used with programs that use the Assembler STCK, STCKE, or STCKF instruction. The seven sections in this section cover each of these topics. For information on starting and stopping Xchange, see Starting and Terminating Xchange.
This section contains the following topics: