*---------*---------------*-----------------*----------------*---------------* | CODE | FACTOR 1 | FACTOR 2 | RESULT | INDICATORS | | | | | FIELD | | *---------*---------------*-----------------*----------------*---------------* | EXCPT | | EXCPT name | | | *---------*---------------*-----------------*----------------*---------------*
The EXCPT operation has two major functions:
See Figure "EXCPT Operation with/without Factor 2 Specified" for examples of the EXCPT operation.
When specifying the EXCPT operation remember:
Figure 28. EXCPT Operation with/without Factor 2 Specified
*...1....+....2....+....3....+....4....+....5....+....6....+....7... CL0N01N02N03Factor1+++OpcdeFactor2+++ResultLenDHHiLoEqComments++++++ C* C* When the EXCPT operation with HDG specified in factor 2 is C* processed, all exception records with the EXCPT name HDG are C* written. In this example, UDATE and PAGE would be printed C* and then the printer would space 2 lines. C EXCPTHDG C* C* When the EXCPT operation with no entry in factor 2 is C* processed, all exception records that do not have an EXCPT C* name specified in positions 32 through 37 are written if the C* conditioning indicators are satisfied. Any exception records C* without conditioning indicators and without an EXCPT name C* are always written by an EXCPT operation with no entry in C* factor 2. In this example, if indicator 10 is on, TITLE and C* AUTH would be printed and then the printer would space 1 line. C EXCPT *...1....+....2....+....3....+....4....+....5....+....6....+....7... OName++++DFBASbSaN01N02N03Excnam.................................... O* O E 1 10 O TITLE O AUTH O E 2 HDG O UDATE O PAGE O E 1 DETAIL O AUTH O VERSNO
(C) Copyright IBM Corporation 1992, 2006. All Rights Reserved.