Pedro64
Member
This has been bugging me for a few days now so i hope you experts can piont me in the right direction. I need to compare the hours and minutes to the time stored in DB5. Its stored at 8.0. I've tried L DB5.DBD8 which accesses the TOD, but i'm having trouble getting the HOURS and Minutes. I've tried Move LB0 and then did a BCDI on it and moved it to MW310, but i never get the right answer back is it i'm using the wrong data type. If you can post the code to extract the hours and minutes from TOD in DB5 8.0 then i would be grateful.