[Date Prev][Date Next][Thread Prev][Thread Next]
[Author Index]
[Date Index]
[Thread Index]
[SQR-USERS Info]
[SQRUG Home Page]
As Of Date Reporting
- Subject: As Of Date Reporting
- From: Andrew Martinez <Amart92692@AOL.COM>
- Date: Sun, 29 Jun 1997 20:08:55 -0400
Hi, I'm a relatively new SQR programmer using MVS/DB2 on IBM mainframe. I
have several reports that require As-Of-Date logic in them but can't seem to
get them to work. My reports are asking for a user-entered date and if none
is found, it should default to today's date for the report. When I enter a
specific date, the report runs fine, when I don't it terminates with errors
citing invalid input. I'm using instream parameters in JCL for the date. My
logic reads the parm for the date if one is found but should default if there
is no parm to read. Anyone have better logic or know of something I'm not
doing correctly?
Thanks for your help.
-Andrew