Sort, Operands, Example – IBM SC34-5764-01 User Manual

Page 293: Synonym, Sort synonym

Advertising
background image

SORT

When you type SORT from the command line use the following syntax:

SORT

DT

FN

FT

AT

RC

SZ

SORT sorts the file list.

Operands

DT

specifies sorting the files by date/time. (This is the default.)

FN

specifies sorting the files by file name.

FT specifies sorting the files by file type.

AT

specifies sorting the files by attribute.

RC

specifies sorting the file by number of records.

SZ

specifies sorting the files by size.

Example

'SORT FN'

This example sorts the file list by file name.

SYNONYM

When you type SYNONYM from the command line use the following syntax:

SYNONYM

syn

command

SYNONYM assigns a command action to any other valid command.

Operands

syn

specifies any valid command that executes the command action for which it is a synonym.

command

specifies any valid command.

File System

Chapter 19. REXX/CICS File System

271

Advertising