Skip to Content
0
Former Member
Nov 14, 2011 at 12:25 PM

Read start time of time pair and compare it in a PCR

262 Views

Hi All

Created following PCR to check if th start time of the time pair is 09:30 or not. If it 0930 than I need to check the end time as well.

000010 D HRS=PBEG HRS?0900

000020 *

000030 = D HRS=PEND HRS?1730

000040 = *

000050 = = HRS=DZ007 HRS-00.50 ADDDBZ007Z

But the schema is processing only till line 20. As the start time of the time pair is 0930 it should go and check the end time.

I would like to know if correct operations are used to capture the start time of time pair and compare?

Any help will be much appreciated.

Thanks