MIDRANGE dot COM Mailing List Archive



Home » MIDRANGE-L » June 2010

Problem solved, Re: Sorting DSPOBJD outfile by ascending date



fixed

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





Return to Archive home page | Return to MIDRANGE.COM home page

This mailing list archive is Copyright 1997-2014 by MIDRANGE dot 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 here. If you have questions about this, please contact