Use EE_ABORT event in Program Manager

j_proulxj_proulx United States ✭✭
I would like to abort a part that is being run in Production Manager. I see there is an EE_ABORT event available. How this be triggered and used?
BR

Comments

  • MickyMicky Germany ✭✭✭
    Hello,
    as I know the event "EE_ABORT" is triggered if an error occurred during calling the production routine or if the error "GAP_EXIT_PART" or "GAP_EXIT_MENU" is raised.

    Example:
    PROC Part1()
      TPWRITE "process part 1";
      IF di1=high RAISE GAP_EXIT_PART;
      TPWRITE "Continue part 1";  
    ERROR
      RAISE;
    ENDPROC
    Best regards 
    Micky

  • j_proulxj_proulx United States ✭✭
    Thanks.
Sign In or Register to comment.