IBM AS/400 Bedienungsanleitung Seite 251

  • Herunterladen
  • Zu meinen Handbüchern hinzufügen
  • Drucken
  • Seite
    / 489
  • Inhaltsverzeichnis
  • LESEZEICHEN
  • Bewertet. / 5. Basierend auf Kundenbewertungen
Seitenansicht 250
This section provides some examples of how to use each of these RPG constructs.
The
ILE RPG for AS/400 Reference
provides more information on the *PSSR and
INFSR error subroutines, on the EXSR operation code, and on the INFDS and
PSDS data structures.
Specifying Error Indicators or the 'E' Operation Code Extender
Operation codes that allow an error indicator also allow the 'E' operation code
extender. The CALLP operation also allows the 'E' extender although it does not
allow an error indicator. This provides two ILE RPG error handling methods that are
essentially the same. Either an error indicator or the 'E' extender can be used to
handle the exception for the same operation code, not both.
Note: If an error indicator or and 'E' extender is coded on an operation, but the
error which occurs is not related to the operation (for example, an array-
index error on a CHAIN operation), any error indicator or 'E' extender would
be ignored. The error would be treated like any other program error.
To enable the RPG error indicator handler, you specify an error indicator in posi-
tions 73 and 74 for the operation codes listed in Table 15 on page 228 (except for
CALLP). If an exception occurs on the operation, the indicator is set on, the appro-
priate data structure (PSDS or INFDS) is updated, and control returns to the next
sequential instruction. You can then test the indicator to determine what action to
take.
To enable the 'E' operation code extender handler, you specify an 'E' (or 'e') with
any of the operation codes in Table 15 on page 228. Coding the 'E' extender
affects the value returned by the built-in functions %ERROR and %STATUS for
exceptions. Before the operation begins, the value returned by these built-in func-
tions is set to zero. If an exception occurs on the operation, the return values for
these built-in functions are updated accordingly, the appropriate data structure
(PSDS or INFDS) is updated, and control returns to the next sequential instruction.
You can then use these built-in functions to test the returned values and determine
what action to take.
Chapter 12. Handling Exceptions 227
Seitenansicht 250
1 2 ... 246 247 248 249 250 251 252 253 254 255 256 ... 488 489

Kommentare zu diesen Handbüchern

Keine Kommentare

Whirlpool GE641TX manuály

Uživatelské manuály a uživatelské příručky pro Sporáky Whirlpool GE641TX.
Poskytujeme 1 manuály pdf Whirlpool GE641TX ke stažení zdarma podle typů dokumentů: Návod k použití






Další produkty a příručky pro Sporáky Whirlpool

Modely Typ Dokumentu
SX 898 C 0 X Návod k použití   Whirlpool SX 898 C 0 X User manual, 16 stránky
AKT 680/IXL Návod k použití   Whirlpool AKT 680/IXL User manual [en] , 4 stránky
KP9C11S(K)/G Návod k použití   Whirlpool KP9C11S(K)/G User manual, 12 stránky
KMQCX 38600 Návod k použití a péči   90°C - whirlpool documents, 5 stránky
SH 103 CX S Návod k použití   Whirlpool SH 103 CX S User manual, 16 stránky
PC 640 T (AV) R /HA Návod k použití        Whirlpool PC 640 T (AV) R /HA Benutzerhandbuch, 64 stránky
PH 941MSTV (IX)/HA Návod k použití        Whirlpool PH 941MSTV (IX)/HA Benutzerhandbuch, 72 stránky
KRO 642 TO Z Návod k použití          Whirlpool KRO 642 TO Z User manual, 84 stránky
KIB 633 C E Návod k použití        Whirlpool KIB 633 C E Benutzerhandbuch, 84 stránky
PH 960MST (AN) R/HA Návod k použití        Whirlpool PH 960MST (AN) R/HA Benutzerhandbuch, 60 stránky
ACM 711/BF Návod k použití   210 mm 145 mm 210 mm 145 mm 210 mm 280/180 mm 145 mm, 12 stránky
EMZ 6262/IN Návod k použití   HOB INSTRUCTIONS, 1 stránky
AGB 368/WP Návod k použití   Whirlpool AGB 369/WP User manual [en] , 20 stránky
CH50GCIK Návod k použití   Whirlpool CH50GCIK User manual, 28 stránky
AKM 261/IX Instalační manuál   hob instructions - whirlpool documents, 4 stránky
HARG51K Návod k použití   Whirlpool HARG51K User manual, 20 stránky
Microwave Oven VT 266 Uživatelský manuál   Whirlpool Microwave Oven VT 266 User's Manual, 20 stránky
ET6124 Uživatelský manuál    Whirlpool ET6124 User manual, 12 stránky
KHGL 9010/B/01 Návod k použití   Whirlpool KHGL 9010/B/01 User manual, 16 stránky
G640SK Návod k použití   Whirlpool G640SK User manual [fr] , 12 stránky