Thanks to Barbara and Scott for their (as always) enlightening responses.
Barbara Morris wrote on 13/04/2007 19:27:59:
If you want to be really safe, you would create a wrapper procedure for
CL to call, with character parameters, that you pass on to the real
procedure using %DATE(parm). Or the wrapper could pass the parameters
by reference, and pass them on directly to the real procedure.
I may end up going this route anyway - it will allow me to do better
checking (ie. TEST(E D) ) to ensure that the character strings passed in
are indeed valid dates. Otherwise I have to monitor for RNX0112 when I
use the parameters the first time. This is one of those times I wish I
could overload subprocedures.
Thanks again,
Adam
Attention:
The information contained in this message and or attachments is
intended only for the person or entity to which it is addressed and may contain
confidential and/or privileged material. Any review, retransmission,
dissemination or other use of, or taking of any action in reliance upon, this
information by persons or entities other than the intended recipient is
prohibited. If you received this message in error, please contact the sender
and
delete the material from any system and destroy any copies. Thank you for your
time and consideration.
Attention:
Le contenu de ce message et(ou) les fichiers ci-joints s?adressent
exclusivement à la personne ou -entité à laquelle ils sont destinés. Ils
peuvent
contenir de l?information confidentielle, protégée et(ou) classifiée. Il est
strictement interdit à toute personne ou entité autre que le(la) destinataire
prévu(e) de ce message d?examiner, de réviser, de retransmettre ou de diffuser
cette information, de prendre une quelconque action en fonction ou sur la base
de celle-ci, ou d?en faire tout autre usage. Si vous avez reçu ce message par
erreur, veuillez communiquer avec l?expéditeur(trice), supprimer ce message et
les fichiers ci-inclus de tout système, et en détruire toutes copies, qu?elles
soient électroniques ou imprimées. Nous vous remercions de votre entière
collaboration.
As an Amazon Associate we earn from qualifying purchases.