[Search for users] [Overall Top Noters] [List of all Conferences] [Download this site]

Conference iosg::all-in-1_v30

Title:*OLD* ALL-IN-1 (tm) Support Conference
Notice:Closed - See Note 4331.l to move to IOSG::ALL-IN-1
Moderator:IOSG::PYE
Created:Thu Jan 30 1992
Last Modified:Tue Jan 23 1996
Last Successful Update:Fri Jun 06 1997
Number of topics:4343
Total number of notes:18308

2117.0. "PCF Error occurred when precompiling MEMRES" by ZUR01::KURTH () Tue Jan 19 1993 11:55

    Hi
    
    ALL-IN-1 V3.0 / V3.0-1 (German/English)
    
    When precompile the form library (MGT CSZ PCF) OA$LIB:MEMRES the
    following error message displays:
    
    %OA-I-LASTLINE, Error occurred when precompiling oa$lib:memres form
    library
    
    The MEMRES.FLC has been created:
    
    Directory OASYS$DISK:[ALLIN1.LIB_ENGLISH]
    
    MEMRES.FLB;2                          240  12-MAR-1992 09:38:42.51
    MEMRES.FLC;1                          230  19-JAN-1993 09:49:45.07
                                                          
    What error occures? Can this error be ignored?
    
    Regards, Peter
T.RTitleUserPersonal
Name
DateLines
2117.1Maybe this oneVNABRW::EHRLICH_KScreaming for vengeanceTue Jan 19 1993 12:3315
    Hoi Peter,
    
    	I was also running very often in this situation. After looking in
    the STARS Database there's an article, which describes why this happens.
    
    Because of MEMRES is a special Library in a Global Section you've to
    delete the .FLC first before you do MGT CSZ PCF. See, no error occours.
    
    I think this must something to do with the reference Count on this
    global section.
    
    Regards 
    
    Charly
    
2117.2Magic! But error should be reported...IOSG::PYEGraham - ALL-IN-1 Sorcerer's ApprenticeTue Jan 19 1993 12:537
    It's always safer to remove a FLC (OA$FBT_REMOVE_LIB) and delete the
    file before trying to compile it. I'm not sure that anyone really
    understands why this is. However I think the code should do this for
    you... Also, it ought to tell you what the error is - perhaps a symbol
    that's not defined or something like that.
    
    Graham
2117.3Delete MEMRES.FLCZUR01::KURTHTue Jan 19 1993 19:066
    Danke Charly.
    
    Yes, delete the file MEMRES.FLC before entering ALL-IN-1 and doing MGT
    CSZ PCF and it works.
    
    Regards, Peter
2117.4We got bit by that one tooAIMTEC::WICKS_AA year behind in more ways than oneTue Jan 19 1993 20:2514
    Peter et al,
    
    Taht'll teach you for following the steps in the manual (:==:)
    
    Of course if the patch release notes had told you to do this properly
    in the post-install chapter rather than just the blanket "recompile
    all form-libraries" section that mysteriously crept into the document
    after the last review cycle you wouldn't have seen the error.
    
    Did you get the same error on SITEMEMRES?
    
    regards,
    
    Andrew.D.Wicks
2117.5Yes, SITEMEMRES tooZUR01::KURTHWed Jan 20 1993 20:021
    
2117.6PCF tries alsoUTES09::EIJSSimon Eijs @Utrecht, 7838-2558Tue Jan 26 1993 11:5132
    
    Hi,
    
    > I think this must something to do with the reference Count on this
    > global section.
    
    It (probably) has, the MANAGER (or whoever is compiling it) runs
    ALL-IN-1, so...
    
    However, PCF tries to get rid of the .FLC itself, but might not succeed
    all the time:
    
    !+
    !       CM_PCF.SCP
    !+
    .
            .IF FILE$.STATUS[#CM_FLC] EQ 1
             .THEN
              GET #CM_ORIG_FLC = FILE$.ALL_BUT_VERSION[#CM_FLC]
              GET #CM_SAVE_FLC = FILE$.ALL_BUT_VERSION[#CM_FLC] "_SAV"
              GET OA$FUNCTION = "DELETE_FILE " #CM_SAVE_FLC
              OA$FAO CM$_GEN_SAV_ERR,"#CM_MSG",#CM_FLC
              GET #CM_STATUS = 0
              GET #CM_DCL_CMD = "COPY " #CM_FLC " " #CM_SAVE_FLC
              COMMAND CM_DCL W Y
    .
            GET OA$FUNCTION = "DELETE_FILE " #CM_FLC
    .
    
    Ciao,
    
    	Simon
2117.7I needed /noinitTAV02::CHAIMSemper ubi Sub ubi .....Mon Feb 01 1993 17:4613
I recently ran into the same problem, and no matter what I did, I was unable to
run PCF from within CSZ even after I executed oa$fbt_remove and deleted the
memres.flc file. 

The only way I was successful in compiling thi slibrary was issuing
ALLIN1/NOINIT
oa$fbt_remove 
oa$fbt_write
oa$fbt_install

Thanks,

Cb.