× The internal search function is temporarily non-functional. The current search engine is no longer viable and we are researching alternatives.
As a stop gap measure, we are using Google's custom search engine service.
If you know of an easy to use, open source, search engine ... please contact support@midrange.com.



Hi All,





We are running Cash management balance update subsystem CSBACK3.

In a middle of a batch update this program GL1121S1 crashed and the program
dump says that it cannot find

a record in this logical file CHART. When I have a look in the file using
key field values printed in the dump this

record is there in the file. And nobody has done any changes to this file.
Hexadecimal values printed

in the dump under the key field values are exactly the same as what is in
the file. And Relative Record Number

pointing to the same record in the physical file.







FMT C   .....            CL0N01N02N03Factor1+++Opcde  Factor2+++
ResultLenDHHi

0163.00                   C*

0164.00                   C                         K003         CHAIN CHART
99

0165.00 B01            C   99                                    DO

0166.00                   C
MOVEL'E#TYPE=A'  P#MESS     P

0167.00                   C                                            EXSR
*PSSR

0168.00 E01            C                                            ENDDO



        C                         K003          KLIST

        C                                            KFLD
CONOKY

        C                                            KFLD
P#ACCN



Can any one think of a different reason other than some one has change the
key values at the time it dumped.

if the chain is unsuccessful why the program dump shows the correct Relative
Record Number

I have attached the program dump with this.





Thanks for your time



Regards

Janith

                                                                                
                                           Page    1
 RPG/400 FORMATTED DUMP
 Program Status Area:
 Program Name . . . . . . . . . . . . . :   OSLGLD3/GL1121S1
 Program Status . . . . . . . . . . . . :   00000
 Previous Status  . . . . . . . . . . . :   00000
 Statement in Error . . . . . . . . . . :   *INIT
 RPG Routine  . . . . . . . . . . . . . :   *DETC
 Number of Parameters . . . . . . . . . :   028
 Message Type . . . . . . . . . . . . . :
 MI Statement Number  . . . . . . . . . :
 Additional Message Info  . . . . . . . :   E#TYPE=A
 Message Data . . . . . . . . . . . . . :
 Last File Used . . . . . . . . . . . . :
 Last File Status . . . . . . . . . . . :
 Last File Operation  . . . . . . . . . :
 Last File Routine  . . . . . . . . . . :
 Last File Statement  . . . . . . . . . :
 Last File Record Name  . . . . . . . . :
 Job Name . . . . . . . . . . . . . . . :   CSUPDATE
 User Name  . . . . . . . . . . . . . . :   QPGMR
 Job Number . . . . . . . . . . . . . . :   776717
 Date Entered System  . . . . . . . . . :   112603
 Date Started . . . . . . . . . . . . . :   112603
 Time Started . . . . . . . . . . . . . :   065726
 Compile Date . . . . . . . . . . . . . :   012696
 Compile Time . . . . . . . . . . . . . :   151214
 Compiler Level . . . . . . . . . . . . :   0001
 Source File  . . . . . . . . . . . . . :   QRPGSRC
    Library . . . . . . . . . . . . . . :   OSLGLX3
 Member . . . . . . . . . . . . . . . . :   GL1121S1
                                                                                
                                           Page    2
 RPG/400 FORMATTED DUMP
 File . . . . . . . . . . . . . . . . . :   CHART
 File Open  . . . . . . . . . . . . . . :   YES
 File at EOF  . . . . . . . . . . . . . :   NO
 Commit Active  . . . . . . . . . . . . :   NO
 File Status  . . . . . . . . . . . . . :   00012
               RPG0012 No record found.
 File Operation . . . . . . . . . . . . :   CHAINF
 File Routine . . . . . . . . . . . . . :   *DETC
 Statement Number . . . . . . . . . . . :   16400
 Record Name  . . . . . . . . . . . . . :
 Message Identifier . . . . . . . . . . :   CPF5006
               CPF5006   Record not found in file .
 MI Instruction Number  . . . . . . . . :
 ODP type . . . . . . . . . . . . . . . :   DB
 File Name  . . . . . . . . . . . . . . :   CHART
    Library . . . . . . . . . . . . . . :   OSLGLF3
 Member . . . . . . . . . . . . . . . . :   CHART
 Record Format  . . . . . . . . . . . . :   FLR003
 Primary Record Length  . . . . . . . . :   228
 Secondary Record Length  . . . . . . . :   14
 Input Block Length . . . . . . . . . . :   253
 Output Block Length  . . . . . . . . . :   0
 Device Class . . . . . . . . . . . . . :   '0015'X
 Lines per Page . . . . . . . . . . . . :   0
 Columns per Line . . . . . . . . . . . :   0
 Number of Records in File  . . . . . . :   19631
 Access Type  . . . . . . . . . . . . . :   KEYED UNIQUE
 Allow Duplicate Keys . . . . . . . . . :   NO
 Source File  . . . . . . . . . . . . . :   NO
 UFCB Parameters  . . . . . . . . . . . :   'A2000000000008000000'X
 UFCB Overrides . . . . . . . . . . . . :   '00000000000000000000'X
 Records to Transfer  . . . . . . . . . :   1
 Number of Puts . . . . . . . . . . . . :   0
 Number of Gets . . . . . . . . . . . . :   702
 Number of Put/Gets . . . . . . . . . . :   0
 Number of other I/O  . . . . . . . . . :   0
 Current Operation  . . . . . . . . . . :   '0003'X
 Device Class . . . . . . . . . . . . . :   DATA BASE KEYED FILE
 Device Name  . . . . . . . . . . . . . :   **********
 Length of Last Record  . . . . . . . . :   228
 DDS Information  . . . . . . . . . . . :   
********************************************************************************
 Relative Record Number . . . . . . . . :   15729
 Records Transferred  . . . . . . . . . :   0
 Current Line Number  . . . . . . . . . :   0
 Maximum Key Length . . . . . . . . . . :   14
 Key Value  . . . . . . . . . . . . . . :
     0000   F3F0F7F7  F2F6F1F5  40404040  4040                                  
                  *30772615                        *
                                                                                
                                           Page    3
 RPG/400 FORMATTED DUMP
 File . . . . . . . . . . . . . . . . . :   TRANSALL
 File Open  . . . . . . . . . . . . . . :   YES
 File at EOF  . . . . . . . . . . . . . :   NO
 Commit Active  . . . . . . . . . . . . :   NO
 File Status  . . . . . . . . . . . . . :   00000
 File Operation . . . . . . . . . . . . :   UPDATR
 File Routine . . . . . . . . . . . . . :   UPD007
 Statement Number . . . . . . . . . . . :   31000
 Record Name  . . . . . . . . . . . . . :   FLR007
 Message Identifier . . . . . . . . . . :
 MI Instruction Number  . . . . . . . . :
 ODP type . . . . . . . . . . . . . . . :   DB
 File Name  . . . . . . . . . . . . . . :   TRANSALL
    Library . . . . . . . . . . . . . . :   OSLGLF3
 Member . . . . . . . . . . . . . . . . :   TRANSALL
 Record Format  . . . . . . . . . . . . :   FLR007
 Primary Record Length  . . . . . . . . :   138
 Secondary Record Length  . . . . . . . :   13
 Input Block Length . . . . . . . . . . :   162
 Output Block Length  . . . . . . . . . :   0
 Device Class . . . . . . . . . . . . . :   '0015'X
 Lines per Page . . . . . . . . . . . . :   0
 Columns per Line . . . . . . . . . . . :   0
 Number of Records in File  . . . . . . :   1915177
 Access Type  . . . . . . . . . . . . . :   KEYED UNIQUE
 Allow Duplicate Keys . . . . . . . . . :   NO
 Source File  . . . . . . . . . . . . . :   NO
 UFCB Parameters  . . . . . . . . . . . :   'A2000000000008000000'X
 UFCB Overrides . . . . . . . . . . . . :   '00000000000000000000'X
 Records to Transfer  . . . . . . . . . :   1
 Number of Puts . . . . . . . . . . . . :   0
 Number of Gets . . . . . . . . . . . . :   1053
 Number of Put/Gets . . . . . . . . . . :   0
 Number of other I/O  . . . . . . . . . :   351
 Current Operation  . . . . . . . . . . :   '0007'X
 Device Class . . . . . . . . . . . . . :   DATA BASE KEYED FILE
 Device Name  . . . . . . . . . . . . . :   **********
 Length of Last Record  . . . . . . . . :   138
 DDS Information  . . . . . . . . . . . :   
********************************************************************************
 Relative Record Number . . . . . . . . :   1915665
 Records Transferred  . . . . . . . . . :   0
 Current Line Number  . . . . . . . . . :   0
 Maximum Key Length . . . . . . . . . . :   13
 Key Value  . . . . . . . . . . . . . . :
     0000   F3F0E2E4  C3C3F0F1  F6F2F1F7  F5                                    
                  *30SUCC0162175                   *
                                                                                
                                           Page    4
 RPG/400 FORMATTED DUMP
 File . . . . . . . . . . . . . . . . . :   FLP008
 File Open  . . . . . . . . . . . . . . :   YES
 File at EOF  . . . . . . . . . . . . . :   NO
 Commit Active  . . . . . . . . . . . . :   NO
 File Status  . . . . . . . . . . . . . :   00000
 File Operation . . . . . . . . . . . . :   WRITER
 File Routine . . . . . . . . . . . . . :   *DETC
 Statement Number . . . . . . . . . . . :   27200
 Record Name  . . . . . . . . . . . . . :   FLR008
 Message Identifier . . . . . . . . . . :
 MI Instruction Number  . . . . . . . . :
 ODP type . . . . . . . . . . . . . . . :   DB
 File Name  . . . . . . . . . . . . . . :   FLP008
    Library . . . . . . . . . . . . . . :   OSLGLF3
 Member . . . . . . . . . . . . . . . . :   FLP008
 Record Format  . . . . . . . . . . . . :   FLR008
 Primary Record Length  . . . . . . . . :   207
 Secondary Record Length  . . . . . . . :   0
 Input Block Length . . . . . . . . . . :   0
 Output Block Length  . . . . . . . . . :   207
 Device Class . . . . . . . . . . . . . :   '0015'X
 Lines per Page . . . . . . . . . . . . :   0
 Columns per Line . . . . . . . . . . . :   0
 Number of Records in File  . . . . . . :   8692128
 Access Type  . . . . . . . . . . . . . :   ARRIVAL SEQ
 Allow Duplicate Keys . . . . . . . . . :   NO
 Source File  . . . . . . . . . . . . . :   NO
 UFCB Parameters  . . . . . . . . . . . :   'A2000000000008400000'X
 UFCB Overrides . . . . . . . . . . . . :   '00000000000000000000'X
 Records to Transfer  . . . . . . . . . :   1
 Number of Puts . . . . . . . . . . . . :   702
 Number of Gets . . . . . . . . . . . . :   0
 Number of Put/Gets . . . . . . . . . . :   0
 Number of other I/O  . . . . . . . . . :   0
 Current Operation  . . . . . . . . . . :   '0005'X
 Device Class . . . . . . . . . . . . . :   DATA BASE NONKEYED FILE
 Device Name  . . . . . . . . . . . . . :   **********
 Length of Last Record  . . . . . . . . :   207
 DDS Information  . . . . . . . . . . . :   
********************************************************************************
 Relative Record Number . . . . . . . . :   8693327
 Records Transferred  . . . . . . . . . :   0
 Current Line Number  . . . . . . . . . :   0
                                                                                
                                           Page    5
 RPG/400 FORMATTED DUMP
 *** NO SYMBOL TABLE PRESENT ***
 RPG/400 FORMATTED DUMP
             * * * * *   E N D   O F   R P G   D U M P   * * * * *


As an Amazon Associate we earn from qualifying purchases.

This thread ...

Follow-Ups:
Replies:

Follow On AppleNews
Return to Archive home page | Return to MIDRANGE.COM home page

This mailing list archive is Copyright 1997-2024 by midrange.com and David Gibbs as a compilation work. Use of the archive is restricted to research of a business or technical nature. Any other uses are prohibited. Full details are available on our policy page. If you have questions about this, please contact [javascript protected email address].

Operating expenses for this site are earned using the Amazon Associate program and Google Adsense.