ibmi-brunch-learn

Announcement

Collapse
No announcement yet.

CPF5257 Failure for device or member file in library

Collapse
X
 
  • Filter
  • Time
  • Show
Clear All
new posts

  • CPF5257 Failure for device or member file in library

    Hi,

    I want sure where to post this so hope this the right place.

    We upgraded our iSeries OS last weekend to V7R3M0

    For some reason, one our over night batch programs fails with the said error but I can't find out for the life of me what's going on. Something has obviously changed during the upgrade but it's only effecting this one program.

    I have tried recompiling all the objects involved but I still get the same error.

    However, if i remove the OPNQRY command before the TC0130 it no longer fails.. not that that is a solution though.. the OPNQRY command needs to remain but something is wrong here..

    Here's the code:

    Code:
       OVRDBF     FILE(CLOANC) TOFILE(CLOAN) SHARE(*NO)      
       CALL       PGM(TC0130E)                               
       IF         COND(%SWITCH(XXXXXXX0)) THEN(DO)           
       OVRDBF     FILE(FC0130L1) SHARE(*YES)                 
       OPNQRYF    FILE((FC0130L1)) QRYSLT('PTYP *NE 70') +   
                    KEYFLD(*FILE)                            
       CALL       PGM(TC0130)                                
       CLOF       OPNID(FC0130L1)                            
       ENDDO

    This is legacy software that's been in place for years.. so any help would be appreciated.

    Thank you looking
    www.midlifegamers.co.uk

  • #2
    What OS version did you update from?
    Does the joblog list other messages before CPF5257?

    Comment


    • #3
      thank you taking the time to reply:

      we came from V7R1M0

      here is part of the job log.. doesn't give too much away.


      Code:
      MCH3203    Escape                  60   18/04/18  20:20:40.752989  DbpmTrap                 0003D8   QDBGETM     QSYS        *STMT 
                                           To module . . . . . . . . . :   QDBGETM                                                       
                                           To procedure  . . . . . . . :   QDBGETM                                                       
                                           Statement . . . . . . . . . :   7194                                                          
                                           Message . . . . :   Function error X'1720' in machine instruction. Internal                   
                                             dump identifier (ID) 010005C0.                                                              
      CPF3698    Information             00   18/04/18  20:20:40.972408  QSCPUTR      QSYS        005E     QMHAPD      QSYS        0507  
                                           Message . . . . :   Dump output directed to spooled file 4, job                               
                                             580614/BLIOPRMI/TQPHAS3_4 created on system BLBEUPRD on 18/04/18 20:20:40.                  
      CPF9999    Escape                  40   18/04/18  20:20:42.622566  QMHUNMSG                 *N       QDBGETM     QSYS        *STMT 
                                           To module . . . . . . . . . :   QDBGETM                                                       
                                           To procedure  . . . . . . . :   QDBGETM                                                       
                                           Statement . . . . . . . . . :   7194                                                          
                                           Message . . . . :   Function check. MCH3203 unmonitored by QDBGETM at                         
                                             statement 0000007194, instruction X'0000'.                                                  
      CPF5257    Escape                  70   18/04/18  20:20:42.622634  QDBSIGEX     QSYS        067F     TC0130      RH4PLIB     083B  
                                           Message . . . . :   Failure for device or member FC0130L1 file FC0130L1 in                    
      
        Job name . . . . . . . . . . :   TQPHAS3_4       User  . . . . . . :   BLIOPRMI     Number . . . . . . . . . . . :   580614     
        Job description  . . . . . . :   BLIEODR10       Library . . . . . :   MIXBLI                                                   
      MSGID      TYPE                    SEV  DATE      TIME             FROM PGM     LIBRARY     INST     TO PGM      LIBRARY     INST 
      RPG1299    Sender copy             99   18/04/18  20:20:42.642708  QRGXMSG      QSYS        00CB     QRGXMSG     QSYS        00CB 
                                           Message . . . . :   CPF5257 I/O error was detected in FC0130L1 (C G S D F).                  
      *NONE      Reply                        18/04/18  21:06:47.522830  QMHSCLVL     QSYS        06FF     QRGXMSG     QSYS        00B4 
                                           From user . . . . . . . . . :   Y0E2089                                                      
                                           Message . . . . :   D                                                                        
      MCH1202    Escape                  40   18/04/18  21:06:47.922633  cfcnn                    0002CC   QRGXDUMP    QSYS        08BC 
                                           Message . . . . :   Decimal data error.                                                      
      RPG9001    Escape                  50   18/04/18  21:06:48.002545  QRGXSIGE     QSYS        001B     TCC0130     RH4PLIB     004C 
                                           Message . . . . :   Error RPG1299 caused program TC0130 to stop.                             
      CPF9999    Escape                  40   18/04/18  21:06:48.002839  QMHUNMSG                 *N       TCC0130     RH4PLIB     004C 
                                           Message . . . . :   Function check. RPG9001 unmonitored by TCC0130 at                        
                                             statement 5000, instruction X'004C'.                                                       
      CPA0701    Sender copy             99   18/04/18  21:06:48.017583  QCLXERR      QSYS        00DA     QCLXERR     QSYS        00DA 
                                           Message . . . . :   RPG9001 received by TCC0130 at 5000. (C D I R)                           
      *NONE      Reply                        18/04/18  21:06:57.732374  QMHSCLVL     QSYS        06FF     QCLXERR     QSYS        00E7 
                                           From user . . . . . . . . . :   Y0E2089
      www.midlifegamers.co.uk

      Comment


      • #4
        I would be more worried about the MCH3203 escape message being received by QDBGETM. Other than checking for a possibly damaged object (FC0130L1) you might want to search IBM's website for a possible PTF related to the MCH error...

        Comment


        • #5
          This definitely looks like an internal error in the database. I guess it could be that an object is damaged... but I'd waste no time reporting it to IBM for help.

          Comment

          Working...
          X