Just a few questions. 1) are you formating the system formating the date
right (sqc's) and picking up the #ndef?
I also work on a MVS/DB2 enviroment but as of yet had not run into this
problem.
Note: look out for page counters, some will not work
Dave Evans
drevans@cyberus.ca
----
From: Andrew Martinez <Amart92692@AOL.COM>
To: Multiple recipients of list SQR-USERS <SQR-USERS@usa.net>
Date: Sunday, June 29, 1997 10:14 PM
Subject: As Of Date Reporting
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