× 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.



James,

What happens if you write a view over your output file? You could use
functions like Alan Campin's iDate or write your own using CAST.

HTH,

Luis Rodriguez
IBM Certified Systems Expert — eServer i5 iSeries
--



On Wed, Jun 23, 2010 at 7:11 PM, James H. H. Lampert <
jamesl@xxxxxxxxxxxxxxxxx> wrote:

Dennis Lovelady wrote:
I believe you will find that they are CMMDDYY fields.

I wish.

From the file's field text itself

Creation:
ODCCEN - Creation century
ODCDAT - Creation date: format- mmddyy
ODCTIM - Creation time

Last Changed:
ODLCEN - Change century
ODLDAT - Change date: format- mmddyy
ODLTIM - Change time

Source Changed (rather perversely):
ODSRCC - Source change century
ODSRCD - Source change date: format- yymmdd
ODSRCT - Source change time

And they're all simple alphanumeric character fields, not L-date,
T-time, or Z-timestamp.

Wrote a little RPG Cycle program to reformat the dates into a second
file, then a CL to do the DSPOBJD, reformat it with the RPG program, and
open it in QuestView (using a VIEW program I'd created, which
encapsulated an OPNQRYF call, as well as suppressing irrelevant fields
from the screen).

A bit Rube Goldberg, but it works.

As to the outfile format for DSPOBJD, I can only say (quoting David
Gerrold):

IBM
UBM
We all BM
for IBM.

--
JHHL
--
This is the Midrange Systems Technical Discussion (MIDRANGE-L) mailing list
To post a message email: MIDRANGE-L@xxxxxxxxxxxx
To subscribe, unsubscribe, or change list options,
visit: http://lists.midrange.com/mailman/listinfo/midrange-l
or email: MIDRANGE-L-request@xxxxxxxxxxxx
Before posting, please take a moment to review the archives
at http://archive.midrange.com/midrange-l.



As an Amazon Associate we earn from qualifying purchases.

This thread ...

Replies:

Follow On AppleNews
Return to Archive home page | Return to MIDRANGE.COM home page

This mailing list archive is Copyright 1997-2024 by midrange.com and David Gibbs as a compilation work. Use of the archive is restricted to research of a business or technical nature. Any other uses are prohibited. Full details are available on our policy page. If you have questions about this, please contact [javascript protected email address].

Operating expenses for this site are earned using the Amazon Associate program and Google Adsense.