For a nicely ordered (alpha/numeric) list using ONLY the LISTFILE command, first reaccess the disk. The CMS command ACCESS will sort the files while building the in-storage directory.
I don't see that documented anywhere, but it's been true since at least VM/370. We had to rely on it back when all we had was line editors and very basic EXEC-classic. Mike Walter Hewitt Associates The opinions expressed herein are mine alone, not my employer's. "Michael Harding" <[email protected]> Sent by: "The IBM z/VM Operating System" <[email protected]> 09/21/2010 12:10 PM Please respond to "The IBM z/VM Operating System" <[email protected]> To [email protected] cc Subject Re: Listfile It does not. Any apparent order is an artifact of how it accesses in-storage directories. For RO minidisks they'll be ordered since their directories are, but for R/W minidisks files written since the disks were accessed may appear out of sequence. -- Mike Harding z/VM System Support [email protected] [email protected] [email protected] (925) 926-3179 (w) (925) 323-2070 (c) IM: VMBearDad (AIM), mbhcpcvt (Y!) The IBM z/VM Operating System <[email protected]> wrote on 09/21/2010 10:02:47 AM: > From: Scott Rohling <[email protected]> > To: [email protected] > Date: 09/21/2010 10:03 AM > Subject: Re: Listfile > Sent by: The IBM z/VM Operating System <[email protected]> > > As far as I know - it's alphabetical (A-Z,0-9). > > Scott Rohling > On Tue, Sep 21, 2010 at 10:52 AM, Mark Pace <[email protected]> wrote: > Does LISTFILE have a default sort order? The help file doesn't > mention in what sequence files are listed. > > -- > Mark D Pace > Senior Systems Engineer > Mainline Information Systems The information contained in this e-mail and any accompanying documents may contain information that is confidential or otherwise protected from disclosure. If you are not the intended recipient of this message, or if this message has been addressed to you in error, please immediately alert the sender by reply e-mail and then delete this message, including any attachments. Any dissemination, distribution or other use of the contents of this message by anyone other than the intended recipient is strictly prohibited. All messages sent to and from this e-mail address may be monitored as permitted by applicable law and regulations to ensure compliance with our internal policies and to protect our business. E-mails are not secure and cannot be guaranteed to be error free as they can be intercepted, amended, lost or destroyed, or contain viruses. You are deemed to have accepted these risks if you communicate with us by e-mail.
