cDSCHEDULE Automated Job Submission System Guide and Reference �ManualD

SCHEDULE
Automated Job Submission System
Guide and Reference Manual



 o T Y  
PreviousContentsIndex


<

SORT



Define sort orders.

HThe SORT command will sort a specified column without printing it. This ;is an alternate to the SORT qualifier in the PRINT command.




General format



SORT field_name -

B
[,ASCENDING (D) or DESCENDING] -
[,BY_YEAR, BY_MONTH or BY_DAY] -
[,special_word]



Examples

 6    
#1

 
    SORT DIVISION             





Qualifiers



ASCENDING

>The ASCENDING option will cause this field to be sorted in an increasing fashion.

BY_DAY

EThe BY_DAY option will round off the field value to the nearest day. EThis is useful if the data is to be grouped by day. This can only be used with fields of type QD.

BY_MONTH

BThe BY_MONTH option will round off the field value to the nearest Fmonth. This is useful if the data is to be grouped by month. This can $only be used with fields of type QD.

BY_YEAR

GThe BY_YEAR option will round off the field value to the nearest year. FThis is useful if the data is to be grouped by year. This can only be used with fields of type QD.

DESCENDING

HThe DESCENDING option will cause the field to be sorted in a decreasing fashion.

FIELD_NAME

FThe field name must be the first word in the command. The field names Dare different for each database used in generating a report. Please Grefer to the Field Table for the particular database. This name can be prompted for.

SPECIAL_WORD

@Special options are available when extracting data from certain Fdatabases. Please refer to the description of the particular database.



6

Part 5
APPENDICES


HThis part of the manual contains all the appendices including a command 5summary with brief descriptions of all line commands.


>

Appendix A
Logical names


DA variety of logical names are used throughout the SCHEDULE and MCL systemsBThey are used to contain both file names and parameter values. In Hgeneral if not explicitly DEFINED then built-in default values are used.

[

A.1 Commonly used logicals

EThe following logicals are frequently changed by a user to work with the SCHEDULE system.








 o V T Y  
PreviousNextContentsIndex