Hello all, I have an assembler program where I get the date and time in GMT
time. The below code seems to work well. Now I want to add 30 seconds to the
time and also adjust the date if necessary. I can't seem to find any assembler
services that will allow me to do that. Can someone please point me to a
routine or an explanation of how I can go about doing this.
Any help appreciated.
TIA
TIME DEC,OUTAREA,LINKAGE=SYSTEM,MF=(E,LIST1),
DATETYPE=MMDDYYYY,ZONE=GMT
UNPK TIMEC,OUTAREA(4)
UNPK DATEC,OUTAREA+8(5)
MVC TIME1,TIMEC
MVC TIME2,TIMEC+2
MVC TIME3,TIMEC+4
MVC DATE1,DATEC
MVC DATE2,DATEC+2
MVC DATE3,DATEC+4
==========================
This email, and any files transmitted with it, is confidential and intended
solely for the use of the individual or entity to which it is addressed. If you
have received this email in error, please notify the system manager. This
message contains confidential information and is intended only for the
individual named. If you are not the named addressee, you should not
disseminate, distribute or copy this e-mail. Please notify the sender
immediately by e-mail if you have received this message by mistake and delete
this e-mail from your system. If you are not the intended recipient, you are
notified that disclosing, copying, distributing or taking any action in
reliance on the contents of this information is strictly prohibited.