Download Print this page

HP 3000 Manual page 32

Mpe/ix computer systems, rpg/xl utilities
Hide thumbs Also See for 3000:

Advertisement

5
Chapter 4 Special Option Specification
The Special Option Specification presents you with additional run time options. Special Option, referred to
as S Option, can be thought of as an extension of your Header Specification. It offers global controls
including:
• Address-out file first record number.
• In place sort override.
• Maximum number of records to be sorted.
The S Option is entered following your Header Specification and ALTSEQ specifications (if used). It can be
omitted if you have no need to exercise any of the options, in which case all options default to blank entries.
However, it must be used when your input is non-disk or multiple-file (to specify the maximum number of
records to be sorted).
Column Entries
The following table gives an overview of column entries and their positions.
COLUMN
ENTRIES
1-5
Any Valu
6
S
7
0 or blank
1
8
N or blank
Y
10-16
1-9999999
or blank
17-39
blank
40-80
Any Characters
* If this column is blank and you are sorting a KSAM file built with Firstrec=1, then record numbering in
the Address-out file automatically starts with 1.
Columns 1-5: Line Number
Line number is an optional entry. XSORT does not check your columns 1-5 entries for sequence. Your
entry here is intended as convenience, a record you may use for future reference.
Column 6: Line Type
An entry of S identifies this as the S option specification.
Column 7: Address-Out File First Record Number
This entry states the first record number of an Address-out file. It is used primarily for sorts converted
from other systems, such as IBM, that start record numbering at 1 instead of 0 (as HP does).
3-34
Line number.
S Option will be exercised
Numbering for Address-out file starts at 0*
Numbering for Address-out file starts at 1.
XSORTOUT must be new or be the same file as XSORTIN
XSORTOUT may exist and be a separate file from XSORTIN.
Maximum number of records to be sorted.
Reserved.
Comments.
EXPLANATION

Advertisement

loading