Previous Topic: TSO/ISPF Editor EnvironmentNext Topic: Default Requests for CA WA CA 7 Edition Edit Functions


Requesting Edit Functions from the ISPF Editor

Several CA WA CA 7 Edition functions can be requested from the editor panels that cause termination of the edit session. These functions differ in the data movement that takes place when the function is requested. In a directly connected CA WA CA 7 Edition terminal session, the following subcommands are used to request these functions:

SAVE

Terminates the edit session and saves the contents of the EWF to the active area.

EXIT

Terminates the edit session without saving the contents of the EWF.

SS

Terminates the edit session, saves the contents of the EWF in the active area, and saves the contents of the active area to the primary source.

SR

Terminates the edit session, saves the contents of the EWF in the active area, and replaces the primary source with the contents of the active area.

SS and SR processing differs from the descriptions offered above if queue JCL is being edited.

All primary source/target updates are handled by CA WA CA 7 Edition; therefore, some means must be provided to allow the user to indicate to the interface programs from the editor, what CA WA CA 7 Edition is to do with the data in the EWF when the edit session is terminated. In an ISPF connected CA WA CA 7 Edition terminal session, the following ISPF edit macros can be used to request the CA WA CA 7 Edition edit functions described previously:

CA7SAVE

Terminates the edit session. Sends EWF to CA WA CA 7 Edition and requests SAVE processing. Deletes the temporary data set (EWF).

CA7EXIT

Terminates the edit session. Sends EXIT request to CA WA CA 7 Edition. Deletes the temporary data set (EWF).

CA7SS

Terminates the edit session. Sends EWF to CA WA CA 7 Edition and requests SS processing. Deletes the temporary data set (EWF).

CA7SR

Terminates the edit session. Sends EWF to CA WA CA 7 Edition and requests SR processing. Deletes the temporary data set (EWF).

These are standard ISPF edit macros, provided as CLISTs. When one of these CLISTs is invoked, the value of an internal variable is set. The interface programs retrieve the value of the variable and request the appropriate CA WA CA 7 Edition edit function (for example, SAVE, SS, SR, or EXIT).