Reset Values

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

  • Reset Values

    Hi,

    I search a lot in forum but I may using the wrong key words so here's the problem and question:

    I have to run the same routines a few times (5 to 125) for each time i run the routine the previous value stays there and on the View Last Execute Report Mode, keeps adding pages and pages, and each time i ran a routine it's slower and slower.

    Thank you in advance...

  • #2
    look and see if you have this in your program
    should be at the end
    look at the previous runs
    Code:
    PRINT/REPORT,EXEC MODE=END,$
                  TO_FILE=ON,APPEND=V22,$
                  TO_PRINTER=OFF,$
                  TO_DMIS_REPORT=OFF,FILE_OPTION=OVERWRITE,FILENAME=,$
                  REPORT_THEORETICALS=NONE,REPORT_FEATURE_WITH_DIMENSIONS=NO,$
                  PREVIOUS_RUNS=DELETE_INSTANCES

    Comment


    • #3
      Can I use this in any routine?
      Darroll
      2018R2

      Comment


      • #4
        Originally posted by Darrollh View Post
        Can I use this in any routine?
        yes
        the file/printing/report window print setup/ "report print window" should be all unchecked

        also - if you want a header on each report, after print command block need to add this
        REPORT/LABEL, FILENAME= FILE_HEADER.LBL
        before line of code to return your logic run next part in multiple part execution
        Last edited by Rich P; 09-12-2019, 01:21 PM.

        Comment


        • #5
          Sounds like your using "execute from line" and not restarting the execution.
          Systems Integrator
          Hexagon Manufacturing Intelligence

          Comment


          • #6
            File/Reset Execution List will also clear out any prior commands that were executed.
            The list is cleared upon a start of a full execution but not upon any other type (execute block, execute from cursor, etc) which is why you are seeing multiple executed commands.

            Comment

            Related Topics

            Collapse

            Working...
            X