I'm doing a compare on the ZLM4DATE of a PDS and if it is equal to
today's date, I would write it. As I loop through the PDS I display each
line with a SAY and the ZLM4DATE correctly shows the date of that
members last update.
But I also do a SAY display of the ZLM4DATE and it shows a different
date altogether. I can't figure my problem. My code is below. Below
that is the output of the 3 SAY's.
TODAY = DATE('STANDARD')
TODAY = INSERT('/',INSERT('/',DATE('S'),4),7)
DO I = 1 TO 20
COMPARE = ZLM4DATE
SAY 'COMPARE = 'COMPARE
SAY 'TODAY = 'TODAY
IF TODAY = COMPARE
THEN SAY MEMLIST.I
END
COMPARE = 2013/04/11
TODAY = 2013/04/15
AAAAAAA 2010/10/22 2010/12/20 16:19:12 01 01 SYSMAS1
COMPARE = 2013/04/11
TODAY = 2013/04/15
AAAAAAAU 2012/03/29 2012/03/29 12:47:07 01 00 SCLM
COMPARE = 2013/04/11
TODAY = 2013/04/15
AAAAAAG 2010/10/22 2010/10/22 10:59:55 01 00 SCLM
Thanks!
There are 10 kind of people in the world, those that understand binary
and those that don't.
Mike Shaughnessy
Programmer/Analyst
PCE Paragon Solutions
7501 South Memorial Parkway
Suite 102
Huntsville, Alabama 35803
Desk Phone
256-690-5254
Cell Phone
256-929-3333
Fax Number
256-690-5277
email:
Mike.Sha...@foxconn.com
P Please consider your environmental responsibility before printing this
email. If you must print it, please recycle!
-----Original Message-----
From: TSO REXX Discussion List [mailto:
TSO-...@vm.marist.edu] On Behalf
Of Roberto Halais
Sent: Friday, April 12, 2013 1:46 PM
To:
TSO-...@vm.marist.edu
Subject: Re: [TSO-REXX] DATE QUESTION