Error when creating or saving an element in QE,

Document ID : KB000074975
Last Modified Date : 12/05/2018
Show Technical Document Details
Question:
A user received the following error message:
C1G0140S  ENDEVOR - BC1PSMGR ABENDED CODE=U0001
ELEMENT RECORD WAS NOT FOUND FOR ELEMENT IN ENV: 
         MVSTEST SYS: PSB SBS: BRPS STAGE D

What do I have to do to fix this problem?

Answer:
The problem is the record format.  Go the the type definition for the type you are having a problem:
CURRENT ENV:  ENV1       STAGE ID:  1   SYSTEM:  TESTSYS1    TYPE:  COBOL
NEXT ENV   :  ENV1       STAGE ID:  2   SYSTEM:  TESTSYS1    TYPE:  COBOL
 
 DESCRIPTION:  ===> UPDATE NAME
 UPDATED:           02SEP11 11:13 BY USERA
              -----------------  ELEMENT OPTIONS  -------------------
 DELTA FORMAT(F/R/I/L) ===> F  SOURCE LEN   ===> 80     ELE RECFM(N/F/V) ===> N
 COMPRESS/ENCRYPT(Y/N) ===> Y  COMPARE FROM ===> 7      DFLT PROC  ===> COBOLII
 AUTO CONSOL (Y/N)     ===> Y  COMPARE TO   ===> 72     LANGUAGE   ===> COBOL
 CONSOL AT LVL  ===> 96        REGRESSION   ===> 01     PV/LB LANG ===> COBOL
 LVLS TO CONSOL ===> 50        REG SEV(I/W/C/E)  ===> W DATA FORMAT(T/B) ===> T
 HFS RECFM(COMP/CR/CRLF/CRNL/F/LF/NL/V)     ===> CRLF   FILE EXT   ===>
          -----------------  COMPONENT LIST OPTIONS  ------------------
 FWD/REV DELTA(F/R)    ===> F  AUTO CONSOL (Y/N)      Y CONSOL AT LVL       96
                                                        LVLS TO CONSOL      50

To fix this problem change the following:

from:
     ELE RECFM(N/F/V) ===> N
to:
     ELE RECFM(N/F/V) ===> V

you can also increase the record length of the file.

Be aware of the same type defined in other stages.  Make sure that they are all defined the same.