Control-D/WebAccess Server - When transforming a large AFP report to PDF message "The limit of maximum rendered pages, has been reached" is displayed.

Version 3
    Share:|

    This document contains official content from the BMC Software Knowledge Base. It is automatically updated when the knowledge article is modified.


    PRODUCT:

    Control-D/WebAccess Server


    COMPONENT:

    Control-D/WebAccess Server


    APPLIES TO:

    Control-D/WebAccess Server all versions



    PROBLEM:

     

      When transforming a report to PDF from the WebAccess interface, the maximum number pages that is transformed is 2000, and an error message is displayed, stating that the max rendered pages limit has been reached. and the end of the pages are not displayed.  
     
    The full message is seen at the end of the transformed PDF report as follows:  
     
    The limit of maximum rendered pages,  
    has been reached.  
    The remaining pages will not be displayed.  
      

     


    SOLUTION:

     

    Legacy ID:KA339240

      
      The 2000 page rendering limitation is set by default in the WebAccess Server transformer configuration to prevent excessive consumption of processing resources.  This setting may be changed in one of the following locations: 
      
        
      
      1.The maxrenderpages parameter located in the "<install path>\transformer\config\transformer.ini" file. 
      
        
      
      2. On the mainframe, increase the value as well in <IOA prefix>.MSGENG($$CLIQUE). 
      
        
      
      3. In "<install path>\CONTROL-D\config\ctd_dal_report_clique_build.txt", look in the following section: 
      
      @KEYWORD  
    NAME=MAXRENDERPAGES;  
    TITLE=Max Render Pages;  
    TYPE=NUM;  
    MANDATORY=N;  
    RENDERSET=Y;  
    MIN=1;  
    MAX=9999999;  
    DEFAULT=2000;  
    HELP=Maximum number of pages to Transform under WebAccess Server.;  
    HELP=Transformation is stopped and the message specified in the ;  
    HELP=maxrndr.tbl file in the default resource directory, is added ;  
    HELP=as a last page. ; 
      
      Change the DEFAULT parameter to the desired value. This will create all transformations with this default, so you will not have to define this parameter in the transformer.ini . 
      
        
      
      4. If step 3 does not help, there may be already a report clique in the  folder    <Installation Path>\res\resource\CLQ\CLQ  responsible for this report.
      
      You may solve this problem by renaming this folder.
      
        
      
      5. If the above steps do not help, this means we have a non-default Report Clique used during decollation and the Max Render Pages parameter would have to be set in this clique.  
    If the reports are decollated on the mainframe with ON TRNCLASS / ON TRNDSN, their report Clique on the mainframe has to be updated also. 
      
        
      
      6. If we want the "<install path>\transformer\config\transformer.ini" to override this parameter, we may specify the correct report name or mask in the []  . Add the following sections to your transformer.ini 
      
      [*]  
    reportformat=AFP;   
    maxrenderpages=99999; 
      
      [*]  
    reportformat=TXT;   
    maxrenderpages=99999;  
      
      
    Related Products:  
       
    1. Control-D/WebAccess Server

     


    Article Number:

    000090357


    Article Type:

    Solutions to a Product Problem



      Looking for additional information?    Search BMC Support  or  Browse Knowledge Articles