Menu principal                 [Fechar]


CICS Manual do Usuário - RELEASE


Volta a página anterior

Volta ao Menu Principal


Desenvolvido por DORNELLES Carlos Alberto - Analista de Sistemas - Brasília DF. - cad_cobol@hotmail.com

RELEASE

Releases a loaded application table or mapset.

Sintaxe:

Descrição:

RELEASE marks an application table or mapset, which was previously loaded by a LOAD command, as a candidate for removal from shared main storage.
The actual storage allocated to the resource is freed only when no tasks are any longer accessing the resource.

Nota:
After issuing a RELEASE command, your transaction should not attempt to access the resource because it cannot be guaranteed that CICS has not already deallocated the associated storage area.
Subsequent access to a resource that has been released can cause unpredictable results.

The RELEASE command also cancels the effect of any HOLD option that was specified on a previous LOAD command for an application table or mapset.

Tasks might not issue the RELEASE command for application tables and mapsets that other tasks have loaded without the HOLD option.

The following example shows how to release a mapset called MAP4, which has been loaded in response to a LOAD command:

EXEC CICS RELEASE PROGRAM('MAP4')

For CICS regions, programs cannot be released (that is, removed from main storage) by using the RELEASE command. If an application program issues a RELEASE command for another program, the request is ignored.

Opções:

    PROGRAM(name)
  • Specifies the name of the application table or mapset that is to be released.
  • The name can consist of up to eight alphanumeric characters, and must be defined appropriately in the Program Definitions (PD).

Condição:

    NOTAUTH
  • Occurs if a resource security check has failed on PROGRAM(name).
  • Ação pré-definida: Terminates the task abnormally.
    PGMIDERR
  • Occurs for the following conditions:
    • The application table or mapset has no entry in the PD.
    • The application table or mapset is disabled.
  • Ação pré-definida: Terminates the task abnormally.
  • Informações relacionadas:

    LOAD


© Copyright IBM Corp.