[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

1965.0. "Formfeeds in CM_CART_SCRIPT_V30$PRIMARY.SCP ?" by UTRTSC::SCHOLLAERT (AJAX beats Kaiserslautern) Tue Dec 15 1992 08:19

    Hello,
    
    Ran the CART on one of our local 2.4 systems. 
    After the upgrade, running CM_CART_SCRIPT_V30$PRIMARY.SCP 
    results in "Working..." forever.
    
    Investigating the contents of the script showed formfeeds after
    each 63 lines. 
    
    The looping occurred because there was a formfeed in the middle
    of an if-then-goto. Because it is the second occurence of this element,
    ALL-IN-1 jumps back in the script to the label of the first 
    occurence and the loop is there.
    
    My question: waht caused the formfeeds in the script.

!!!!
!
!   Element MUA_PAT_ARCHIVE                        DO   SHARE          
!

	.IF *CMMANAGEAREAS:AREA.%KEY["SHARE"] EQS "" THEN -

	  .GOTO MUA_PAT_ARCHIVE_DO_SHARE

	GET #CM_KEY = "MUA_PAT_ARCHIVE                        DO   SHARE          "
	GET #CM_CART_CONFLICT_DETAIL1 = ""
	GET #CM_CART_CONFLICT_DETAIL2 = ""
    
    Regards,
    
    Jan
    
    by the way, when the *CMMANAGEAREAS:AREA.%KEY["SHARE"] is empty,
    the same hang will occur. 
T.RTitleUserPersonal
Name
DateLines
1965.2UTRTSC::SCHOLLAERTAJAX beats KaiserslauternWed Dec 16 1992 07:5115
    Tony,
    
    I ran the CART before the upgrade from my own fully
    VMS and ALL-IN-1 priviledged account. ALL-IN-1 version
    was 2.4 Dutch, fully patched.
    
    After the upgrade I Executed the Procedure (EP) from the 
    ALL-IN-1 manager account.
    
    With the TPU and EDT editor I can see formfeeds throught
    the whole file. I think they occur after each 63 lines.
    
    Regards,
    
    Jan
1965.3OA$PAGE_LENGTH = '62'CESARE::EIJSAll in 1 PieceWed Dec 16 1992 10:5050
    
    Jan,
    
    The Script CM_CART_REPORT_DRIVER.SCP sets OA$PAGE_LENGTH to '62' before
    the reports are created. However, it's not set back to '0' when the
    resolution Script is created. 
    
    A possible solution is to add the definition of the symbol at:
    
    LABEL CREATE_CART_SCRIPT
    
    !+
    ! Re-set symbol OA$PAGE_LENGTH
    !-
    	    GET OA$PAGE_LENGTH = '0'
    
            GET #CM_TEXT = "%CART-I-SCRIP " OA$TIME " Creating CART Script...."
            .IF NOT #CM_QUIET THEN .TEXT #CM_TEXT
            .IF #CM_LOG THEN TEXT_FILE WRITE CART_LOG #CM_TEXT
            DELETE_FILE OA$TEMP:CM_CART_SCRIPT.SCP
            DELETE_FILE OA$TEMP:CM_CART_SCRIPT_1.SCP
            MERGE CM_CART_SCRIPT.BLP, OA$TEMP:CM_CART_SCRIPT_1.SCP, -
                  OA$TEMP:CM_CART.SEL
            .IF #CM_CART_INSTALL EQS "Y" THEN -
            COPY "VMI$KWD:CM_CART_SCRIPT_HEADER.TXT" "OA$TEMP:CM_CART_SCRIPT.SCP" -
            ELSE -
            COPY "OA$LIB:CM_CART_SCRIPT_HEADER.TXT" "OA$TEMP:CM_CART_SCRIPT.SCP"
    
            APPEND "OA$TEMP:CM_CART_SCRIPT_1.SCP" "OA$TEMP:CM_CART_SCRIPT.SCP"
    
            BIND_BREAK *CM$CART$CONFLICT$ELEMENTS
    
    .LABEL CREATE_CART_SITE_ELEMENTS
    
            .IF NOT #CM_CART_FIRST THEN .GOTO ALL_DONE_GET_OUT      
            .IF #CM_NO_SITE_DIR_ELEM THEN .GOTO ALL_DONE_GET_OUT
    
    !+
    ! Re-set symbol OA$PAGE_LENGTH
    !-
    	    GET OA$PAGE_LENGTH = '62'
    
            GET #CM_TEXT = "%CART-I-SITEL " OA$TIME " Creating Site Elements Report
    
    
    It will be reported.
    
    Ciao,
    
    	Simon