×
The internal search function is temporarily non-functional. The current search engine is no longer viable and we are researching alternatives.
As a stop gap measure, we are using Google's custom search engine service.
If you know of an easy to use, open source, search engine ... please contact support@midrange.com.
I think you need to remove the extra space at the end of PA_F55EOPR and add dashes so it would look like this: Inz('2011-01-01')
Dawn Siegrist
Penske
Systems Analyst
T 610-775-6243
F 610-603-8402
E Dawn.Siegrist@xxxxxxxxxx
GoPenske.com
PO Box 563
Reading PA 19603-0563 USA
-----Original Message-----
From: RPG400-L [mailto:rpg400-l-bounces@xxxxxxxxxxxx] On Behalf Of Vidal, Peter
Sent: Friday, March 11, 2016 10:34 AM
To: Midrange - RPG
Subject: What is wrong with this %DATE function
Hi list!
DPA_F55EOPR S 10A Inz('20110101 ')
DMinDteCR S D DatFMT(*USA)
/free
MinDteCR = %Date((PA_F55EOPR):*USA);
*inlr = *on;
/end-free
It is blowing up with this error: Date, Time or Timestamp value is not valid (C G D F).
TIA,
Peter Vidal
Developer AS400
P: 800-808-1902, x137210 | F: 813-884-2847
9119 Corporate Lake Dr., Suite 300 | Tampa, FL 33634 | www.carecentrix.com<
https://urldefense.proofpoint.com/v2/url?u=http-3A__www.carecentrix.com_&d=CwICAg&c=h3doYy8SM5A3ClRIfuW3kMsQeA1oLqCc_JYUUs-p_mE&r=5PD5A7E5-r7GyZCIdOHTYBv2aRCrgLk0964gG004bzI&m=Cuo72rk6BKwTX0ov2ZuD6NzERrfWDwq3525dEltuLVY&s=_W9ALV1Z7njuoaANMIm0f6EokH85k3XnO0KkBJJzkBg&e= > [cid:image001.png@01D17B81.7B648D40]
________________________________
This communication is intended only for the use of the individual or entity named as the addressee. It may contain information which is privileged and/or confidential under applicable law. If you are not the intended recipient or such recipient's employee or agent, you are hereby notified that any dissemination, copy or disclosure of this communication is strictly prohibited. If you have received this communication in error, please immediately notify CareCentrix Compliance Hot Line at (877) 848-8229 and notify the sender by electronic mail. Please expunge this communication without making any copies. Thank you for your cooperation.
--
This is the RPG programming on the IBM i (AS/400 and iSeries) (RPG400-L) mailing list To post a message email: RPG400-L@xxxxxxxxxxxx To subscribe, unsubscribe, or change list options,
visit:
https://urldefense.proofpoint.com/v2/url?u=http-3A__lists.midrange.com_mailman_listinfo_rpg400-2Dl&d=CwICAg&c=h3doYy8SM5A3ClRIfuW3kMsQeA1oLqCc_JYUUs-p_mE&r=5PD5A7E5-r7GyZCIdOHTYBv2aRCrgLk0964gG004bzI&m=Cuo72rk6BKwTX0ov2ZuD6NzERrfWDwq3525dEltuLVY&s=Rd8y9fKkVVMaAmZYb_IKKn1OIERoMu0jpdWReeraRdw&e=
or email: RPG400-L-request@xxxxxxxxxxxx
Before posting, please take a moment to review the archives at
https://urldefense.proofpoint.com/v2/url?u=http-3A__archive.midrange.com_rpg400-2Dl&d=CwICAg&c=h3doYy8SM5A3ClRIfuW3kMsQeA1oLqCc_JYUUs-p_mE&r=5PD5A7E5-r7GyZCIdOHTYBv2aRCrgLk0964gG004bzI&m=Cuo72rk6BKwTX0ov2ZuD6NzERrfWDwq3525dEltuLVY&s=mGZk8Xnwyd2UfrMB8qDMPEllzNxrR2rhc3jbzRN_TIM&e= .
Please contact support@xxxxxxxxxxxx for any subscription related questions.
As an Amazon Associate we earn from qualifying purchases.