LSCH DATE(pagemode) doesn't show the scheduled event

Document ID : KB000095393
Last Modified Date : 28/05/2018
Show Technical Document Details
Issue:
I had this scenario where a user tried to triggered an event for a future date and he decided that he did not need it, but mistakenly removed that event plus the scheduled event ...when he tried to display with the LSCH DATE command in PAGEMODE, he does not see the SCHEDULED event...so I suggested to add another schedule statement with 1 min after the scheduled one...when we try to Display again with LSCH DATE, the original SCHEDULE shows, but not the one with the 1 after...how does event file recognize that?
Resolution:
From LISTSCH (LSCH) Usage Notes:
  • The LISTSCH command displays events from the current time up to the next scheduled scan, which is normally at 6 am. events triggered with the ADD option are displayed on a LISTSCH command, even if the trigger time is past the next scan time. 


ESP knows only about only first next occurrence of the event trigger. For more entries, the command NEXT has to be used.
 
NEXT [count] eventid
The NEXT command displays the next scheduled executions of an event. The NEXT command lets you specify the number of execution times you want to test, up to a maximum of 99. As long as your event contains at least one SCHEDULE or EXPECT command, CA WA ESP Edition computes the execution times and dates for the number of executions you specify.


EVENT MANAGEMENT (E.5) can also be used to check the next schedules. For example: 

                         Display next execution times                
                                                                     
Complete EVENT NAME, and COUNT, then press ENTER                     
                                                                     
EVENT PREFIX ===> XXXXXXX            (Blank defaults to group name)  
EVENT NAME   ===> send                                               
COUNT        ===> 2                 (Blank defaults to 1)           

SCHED AT 09.05.00 ON THURSDAY MAY 10TH, 2018  
SCHED AT 09.06.00 ON THURSDAY MAY 10TH, 2018