Defining data format for input pipes  Handling errors

Chapter 2: Designing a CSA

Linking to other programs

When you link to or call another program from a CSA, you must use a format that allows the program to return processing control to the CSA. If the program does not return control to the CSA (for example, with an XCTL), CICS makes a copy of the SPAREA for the called program instead of pointing to the original SPAREA. Since control was not returned to CSA the results are unpredictable.

To avoid this, use one of these commands to link to another program:

CICS LINK programname
CALL programname




Copyright © 2005. Sybase Inc. All rights reserved. Handling errors

View this book as PDF