×
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.
That should read "I have" not "I don't have".
George R. Smith
-----Original Message-----
From: RPG400-L [mailto:rpg400-l-bounces@xxxxxxxxxxxx] On Behalf Of George Smith
Sent: Monday, December 11, 2017 1:37 PM
To: RPG400-L@xxxxxxxxxxxx
Subject: Set a date to default value
If I have a DDL Statement in an output table for a date like:
EX$DRQJ DATE NOT NULL DEFAULT '1980-01-01'
In my input table I don't have zeros as this particular column how would I code the output statement? I have tried several variations of the output from the %DATE function just short of me coding the default value in the program. I appreciate any assistance.
George R. Smith
--
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://lists.midrange.com/mailman/listinfo/rpg400-l
or email: RPG400-L-request@xxxxxxxxxxxx
Before posting, please take a moment to review the archives at
https://archive.midrange.com/rpg400-l.
Please contact support@xxxxxxxxxxxx for any subscription related questions.
Help support midrange.com by shopping at amazon.com with our affiliate link:
http://amzn.to/2dEadiD
As an Amazon Associate we earn from qualifying purchases.