If B97GLOBL cannot carry out a request, the corresponding data record receives an error flag and the job ends with a respective error message. Errors are normally caused by the absence of matching definitions, which prevent the processing of the respective requests.
If you have located the error, correct the respective definitions. Then reset the internal global index record, so that the request is processed by the next B97GLOBL run.
This approach will be explained on the basis of an example.
B97GLOBL ends with RC 8; IRMPROT contains information that no matching processing instructions were found for 2 indexes:
+---------------------------------------------------------------------------------+
| GLOBAL INDEX UTILITY DATE: date PAGE: 00001|
| ------------------------------------------------------------------------------- |
| |
| INDEX RECORDS (IGL) FOUND : 000003 FOR INSERT : 000003 FOR DELETE : 000000 |
| |
| ------------------------------------------------------------------------------- |
| START FOR GLOBAL : REJ-TRADE |
| INDEX : ORDER |
| OWNER : CUST001 |
| |
| START : 01/01/2008 END : 06/30/2008 / (IGL) INSERT : 00001 |
| DELETE : 00000 |
| |
| |
| INDEXES EXPECTED : 000000101204 GLOBAL INDEXES EXPECTED : 000000000000 |
| SELECTED : 000000101204 GLOBAL INDEXES SELECTED : 000000000000 |
| IGNORED : 000000100440 GLOBAL INDEXES DELETED : 000000000000 |
| INSERTED : 000000000764 GLOBAL INDEXES INSERTED : 000000000764 |
| |
| |
| 00002 INDEX RECORDS (IGL) WITHOUT MATCHING PROCESSING INSTRUCTIONS |
+---------------------------------------------------------------------------------+
Possible causes that the matching processing instructions are missing are:
Select one of the options under Option 3 (UTILITIES) in order to display the respective internal global index records. Enter the value Error in the Status field.
PE97IL05 --------------------------------------------- Row 1 of 2 Command ===> ________________________________________________ Scroll ===> PAGE Display Internal Global Index Records Selection : READER S - Select D - Delete R - Reset error flag Sel Date Time Form Extension Report Mi Md Ok Er Owner Folder Index Name RC IC 02/22/2008 13:25:58 REJ TRADE Y N N Y CUST001 REJ-TRADE ORDER 0008 0801 ------------------------------------------------------------------------------- 02/22/2008 13:25:58 REJ TRADE Y N N Y CUST001 REJ-TRADE CUSTOMER 0008 0801 ------------------------------------------------------------------------------- ******************************* BOTTOM OF DATA ******************************** |
The names of the indexes, where the problem arose during processing, are displayed in this table. Check the values of the definition of the folder to which this list is assigned, as well as the corresponding processing instructions. Correct the respective definitions.
The error flag must be reset in this data record, so that the request contained in the IGL is processed by the next B97GLOBL run.
Display the affected data records in the "Display Internal Global Index Records" table and enter the line command R in front of the affected data records. You can also use the block command RR. In the displayed panel, confirm the reset either individually or by suppressing the individual confirmation request.
PE97IL99 --------------------------------------------------------------------- Command ===> _________________________________________________________________ Reset Error Flag Last Update: QI#VGLBL 02/22/2008 22:31:12 Folder : REJ-TRADE Form : REJ ( 02/22/2008 13:25:58 ) Extension : TRADE Report : Index Name : ORDER ( 02/22/2008 13:25:58 ) Owner : CUST001 Marked for Insertation : YES Successfully Processed : NO Marked for Deletion : NO In Error : YES RC : 0008 IC : 0801 Suppress Confirmation ===> NO__ (Y)es, (N)o Press the ENTER key to confirm the request. Press the END key to abort the request. |