Previous Topic

Next Topic

Book Contents

Book Index

Example 2

In this example, we specify that the printing mission should run every time a Director's report is created. The condition is added by the decollating missions that handle the Directors' reports. Using a condition to trigger a cyclic printing mission is a powerful way of linking "ad hoc" report creation events to printing events.

---- CONTROL-D CATEGORY DEVELOPMENT-DEPT     PRT MISSION LAS132   --------(M.S)

COMMAND ===>                                                    SCROLL===> CRSR

+-----------------------------------------------------------------------------+

  CATEGORY DEVELOPMENT-DEPT                  MISSION LAS132     MONITOR      

  OWNER    M90           TASKTYPE CPR        GROUP   DEV                     

  BATCH                  SKELETON            FREE                TIMEOUT      

  OVERRIDE CLASS         DEST                EXTWTR              FORM         

  STARTED                ODATE               MAXWAIT

  WRITER OPTION                                                               

  DESC     PRINTS REPORTS FOR DIRECTORS AS SOON AS THEY ARE CREATED           

  DESC                                                                        

  ===========================================================================

  INCLUDE USER DIRBR                                                         

  INCLUDE USER                                                               

  EXCLUDE USER                                                               

  SORT PARAMETERS: 1-USER  2-JOB   3-REPORT NAME 4-CATEGORY  5-LEVEL 6-TREE   

                   7-FORMS 8-CHARS 9-MODIFY T-DECOL TIME E-USER EXIT           

  ENTER SORT SEQ :                                                            

  ===========================================================================

  DAYS    ALL                                                   DCAL         

                                                                     AND/OR   

  WDAYS                                                         WCAL         

  MONTHS  1- Y 2- Y 3- Y 4- Y 5- Y 6- Y 7- Y 8- Y 9- Y 10- Y 11- Y 12- Y      

  DATES                                                                       

  CONFCAL          SHIFT   RETRO N MAXWAIT 00                                 

  MINIMUM          PDS                                                        

  ===========================================================================

  IN        DIRECTOR-REP-DEC-OK  ODAT                                         

  TIME FROM      TO      NOT LATER THAN      PRIORITY                        

  ON PAGE#               ON LINE#            INTERVAL          NEXT TIME

  ===========================================================================

  OUT       DIRECTOR-REP-DEC-OK  ODAT -                                       

  SHOUT WHEN                                      TO                   URGN   

   MSG                                                                        

  PRINTER                       DEST                   CHUNKSIZE              

  ON FORM                                                                     

   REQUEST                                                                    

  ===========================================================================

  STORE        BACKUP               MIGRATE

======= >>>>>>> END OF PRINTING MISSION PARAMETERS OF THIS CATEGORY <<<<<< ====

PLEASE FILL IN MISSION PARAMETERS. USE "SHPF" TO SEE PFK DEFINITION    12.31.32

If you use a condition to trigger a cyclic mission, make sure that you delete the condition (using parameter OUT) at the completion of the mission. Otherwise, your mission will try to execute continuously.

Parent Topic

Cyclic Printing Missions