Sort Fields on the SYSOUT Selection List for OM View
search cancel

Sort Fields on the SYSOUT Selection List for OM View

book

Article ID: 55512

calendar_today

Updated On:

Products

View

Issue/Introduction

The SORT command provides the ability to sort the selection list display by Sysout/Report identifier, archive date and time, location, lines, pages, job name, job number, generation, exception code, and more. Up to two fields may be sorted.

Environment

  • View®
  • OM View for z
  • Output Management View® for z/OS

Resolution

The syntax of the SORT command is as follows:

SORT field1 field2

The table below identifies the field names that may be referenced on the SORT command and the predefined sort sequence used to order the data.

+------------------+------------+-----------------------------------+
|    Field Name    |    Sort    | Description                       |
|                  |  Sequence  |                                   |
|------------------|------------|-----------------------------------|
| ACCESS|ACCDATE   | Descending | Sort by last access date and time |
| C|CLASS          | Ascending  | Sort by print class               |
| DATE|ARCDATE     | Descending | Sort by archive date and time     |
| DESC             | Ascending  | Sort by description               |
| DEST             | Ascending  | Sort by print destination         |
| FORMS            | Ascending  | Sort by print forms               |
| GEN              | Ascending  | Sort by generation number         |
| ID|REPORT|SYSOUT | Ascending  | Sort by sysout/report identifier  |
| JOB/JOBNAME      | Ascending  | Sort by job name                  |
| JOBID            | Ascending  | Sort by job number                |
| LINES            | Ascending  | Sort by number of lines           |
| LOC|LOCATION     | Ascending  | Sort by report location           |
| ORG|ORIGIN       | Ascending  | Sort by report origin             |
| PAGES            | Ascending  | Sort by number of pages           |
| PRINT|PRTDATE    | Descending | Sort by print date and time       |
| READER|RDRDATE   | Descending | Sort by reader date and time      |
| TAPE|TAPESEQ     | Ascending  | Sort by tape sequence number      |
| USERFLD          | Ascending  | Sort by user comments             |
| XCODE            | Ascending  | Sort by exception code            |
+------------------+------------+-----------------------------------+