×
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.
Couldn't agree more ... was just going to post response to do that.
Respectfully,
Michael Mayer
IBM i on Power System Admin
ERMCO-ECI
2225 Industrial Rd
Dyersburg, Tennessee 38024
Office and OnCall: 731.676.4318
Cell: 518.641.8906
Email: michael.mayer@xxxxxxxxxxxxx<mailto:michael.mayer@xxxxxxxxxxxxx>
https://www.ermco-eci.com<
https://www.ermco-eci.com/>
IBM i Personal Blog:
https://ibmireference.blogspot.com<
https://ibmireference.blogspot.com/>
"Success is not final. Failure is not fatal. It is the courage to continue that counts".
[cid:image001.gif@01D97E64.F24DBAB0]
From: MIDRANGE-L <midrange-l-bounces@xxxxxxxxxxxxxxxxxx> On Behalf Of John Rusling via MIDRANGE-L
Sent: Thursday, May 4, 2023 6:49 AM
To: midrange-l@xxxxxxxxxxxxxxxxxx
Cc: John Rusling <JRusling@xxxxxxxxxxx>
Subject: Re: date conversion
Hi Bill,
When you get it fleshed out, it'd be nice to see the sql statement.
John
Thanks for all the great replies! All great options!
Decided to go with the statistics table. The last used date is already in timestamp format. Thanks again!
[Bill]
I have what is surely a simple question but I can't seem to find an answer to it.
I have a work file that I've created that contains the output of the DSPOBJD command for a particular library.
This file has the field ODUDAT, which is the date last used field.
It's a character field in the MMDDYY format.
I'm using Run SQL Scripts in ACS to then query this file, but I'd like to convert this date
to YYYYMMDD format so that I can order the query results by the most recent date.
The only way I can find that comes close to working so far is just to substring
the ODUDAT field into the month, day, and year portions and then play with it that way.
I'm sure there's a more elegant method that will just yield a YYYYMMDD field. Thoughts?
[Bill]
--
This is the Midrange Systems Technical Discussion (MIDRANGE-L) mailing list
To post a message email: MIDRANGE-L@xxxxxxxxxxxxxxxxxx<mailto:MIDRANGE-L@xxxxxxxxxxxxxxxxxx>
To subscribe, unsubscribe, or change list options,
visit:
https://lists.midrange.com/mailman/listinfo/midrange-l<
https://lists.midrange.com/mailman/listinfo/midrange-l>
or email: MIDRANGE-L-request@xxxxxxxxxxxxxxxxxx<mailto:MIDRANGE-L-request@xxxxxxxxxxxxxxxxxx>
Before posting, please take a moment to review the archives
at
https://archive.midrange.com/midrange-l<
https://archive.midrange.com/midrange-l>.
Please contact support@xxxxxxxxxxxxxxxxxxxx<mailto:support@xxxxxxxxxxxxxxxxxxxx> for any subscription related questions.
The information in this email may be confidential. It is intended only for the person(s) named above. If you are not the intended recipient, please notify the sender and do not review, distribute, or duplicate this email.
As an Amazon Associate we earn from qualifying purchases.