Previous Topic: Performance ConsiderationsNext Topic: Tuning Storage


Application Design

CA Ideal will request EDSA whenever possible, but CICS above the line storage is not limitless. Programs that are no longer needed should free the storage they are no longer using. It is important to recognize, however, exactly what is meant by the term no longer needed. An example of a program that is no longer needed is an initialization program. This type of program is called at the beginning of a run and never called again. Another example is the leg of an application.

For instance, if you have a menu program that calls programs that are considered applications and if users spend a long period of time in one application before moving to another piece of the menu, you might consider using RELEASE PROGRAM statements on the programs belonging to the application. This type of application can also lend itself to setting up each leg of the application as its own transaction and using FINAL-ID to invoke the transaction. The invoked transaction can then invoke the menu transaction when it is complete. This frees up all resources because you ended the CA Ideal run.

Important! Do not follow CALL program PDL statements with RELEASE PROGRAM statements as a general rule.