Space announcement This documentation space provides the same content as before, but the organization of the content has changed. The content is now organized based on logical branches instead of legacy book titles. We hope that the new structure will help you quickly find the content that you need.

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.

Warning

Rolling back the date on a software product may be a violation of your licensing agreement. You should review the terms of your license agreement and contact the software licensor before attempting to roll back any dates. Xchange is not intended to be used in any manner that will violate your license agreement with another software licensor.

This section contains the following topics:

 

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