Sequence of WRKSPLF output
"Dennis Lovelady" <iseries-HF96MFG82JhWk0Htik3J/[email protected]> Thu, 23 Sep 2010 21:39:23 -0400
| Newsgroups | gmane.comp.lang.as400.mi |
|---|---|
| Message-ID | <003e01cb5b89$51957e70$f4c07b50$@com> |
(Cross-posted from midrange-l on good advice.) Hi, Folks: We have a WRKSPLF workalike-plus-extras program, and it has been serving our needs fairly well. We found, though, that the output sequence of the in-house command does not match the sequence presented in the IBM version. Further, the sequence presented in the IBM version doesn't match the result of QUSLSPL for any particular user. We've known for years that SAV/HLD are shown last, and we thought that within that list the files were presented in priority sequence and then in opened sequence (Created date/time). But when we do (IBM's) WRKSPLF username OUTPUT(*PRINT) we are unable to determine the sort order (this is on a V5R3 system). http://code.midrange.com/1e37238551.html shows the point of question. This is extracted from page 1 of WRKSPLF output for a certain user. Notice the create date/time of the last entry compared to the one above it. I was tempted to think job number/name may come into play here, but one can see that there are two entries for each of two jobs, and the order is JOB1 JOB2 JOB2 JOB1. So have any of you landed on an exact sort order that's used by this command? Have any of you any idea why that output's sequence would be different from QUSLSPL output? Dennis E. Lovelady AIM/Skype: delovelady MSN: fastcounter-HF96MFG82JhWk0Htik3J/[email protected] <http://www.linkedin.com/in/dennislovelady> www.linkedin.com/in/dennislovelady -- "Money is what you'd get on beautifully without if only other people weren't so crazy about it." - Margaret Case Harriman _______________________________________________ This is the MI Programming on the AS400 / iSeries (MI400) mailing list To post a message email: MI400-Zwy7GipZuJhWk0Htik3J/[email protected] To subscribe, unsubscribe, or change list options, visit: http://lists.midrange.com/mailman/listinfo/mi400 or email: MI400-request-Zwy7GipZuJhWk0Htik3J/[email protected] Before posting, please take a moment to review the archives at http://archive.midrange.com/mi400.