Memorex LOCK - VERSION 2-24 Especificações Página 340

  • Descarregar
  • Adicionar aos meus manuais
  • Imprimir
  • Página
    / 489
  • Índice
  • MARCADORES
  • Avaliado. / 5. Com base em avaliações de clientes
Vista de página 339
Processing Requirements Executing in CICS
10-14 User Reference
Processing Requirements
Step Action
1 Move the event name to the EVENT–NAME field. See "Posted Events," for
details about event–name limitations.
2 Link to the subroutine.
3 Check the return code passed and process accordingly.
WORKING-STORAGE SECTION.
01 EVENT.
02 EVENT-NAME PIC X(08).
02 EVENT-RETURN-CODE PIC X(01).
88 SUCCESS VALUE 'Y'.
88 FAILURE VALUE 'N'.
02 EVENT-POWER-MESSAGE PIC X(60)
PROCEDURE DIVISION.
MOVE 'PAY' TO EVENT-NAME.
EXEC CICS
LINK PROGRAM ('TSIDCCHK')
COMMAREA (EVENT)
LENGTH (69)
END EXEC.
IF SUCCESS
GOTO PERFORM
ELSE
GOTO WAIT.
...
This example checks for a posted event with TSIDCCHK. If the event is posted, it performs
the dependent task. If the event is not posted, it goes to the WAIT routine.
Procedure
Example
Vista de página 339
1 2 ... 335 336 337 338 339 340 341 342 343 344 345 ... 488 489

Comentários a estes Manuais

Sem comentários