Memorex LOCK - VERSION 2-24 Spezifikationen Seite 340

  • Herunterladen
  • Zu meinen Handbüchern hinzufügen
  • Drucken
  • Seite
    / 489
  • Inhaltsverzeichnis
  • LESEZEICHEN
  • Bewertet. / 5. Basierend auf Kundenbewertungen
Seitenansicht 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
Seitenansicht 339
1 2 ... 335 336 337 338 339 340 341 342 343 344 345 ... 488 489

Kommentare zu diesen Handbüchern

Keine Kommentare