Menu principal                 [Fechar]


CICS Manual do Usuário - SET FILE OPEN


Volta a página anterior

Volta ao Menu Principal


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

SET FILE OPEN

Opens a file.

Sintaxe:

SET FILE
 
>>-SET FILE(data-value)--OPEN--+-------+-----------------------><
                               '-EMPTY-'
 
 

Condição: FILENOTFOUND, INVREQ, IOERR, NOTAUTH

Nota:
DSIDERR is equivalent to FILENOTFOUND.

Descrição:

SET FILE OPEN allows you to open a local file.

Opções:

    EMPTY
  • Specifies that the opened file is to be emptied before giving access to the caller.
    FILE(data-value)
  • Specifies the name of the file as it is defined in the File Definitions (FD).
  • The name can be up to eight characters long.

Condições:

    FILENOTFOUND
  • Occurs if the named file cannot be found in the FD (RESP2=18).
  • Default action: Terminates the task abnormally.
    INVREQ
  • Occurs if the file is remote (RESP2=1).
  • Default action: Terminates the task abnormally.
    IOERR
  • Occurs if the SET FILE OPEN operation fails. The CICS queue and file control return code, if any, is set in RESP2.
  • See Processing the IOERR condition for information about handling the IOERR condition.
  • Default action: Terminates the task abnormally.
    NOTAUTH
  • Occurs if a resource security check has failed on FILE(data-value).
  • Default action: Terminates the task abnormally.

Informações relacionadas:


© Copyright IBM Corp.