Google
 

Trailing-Edge - PDP-10 Archives - BB-4160E-BM - sort-doc/sort.rnh
There are no other files named sort.rnh in the archive.
.VARIABLE TWENTY 2 1
\\
.NNM;.LM0;.RM70;.F;.J;.FLAG CAP;.SP1
.CENTRE
<SORT.HLP
.B 1
.IF TWENTY
^General command format for <SORT and <MERGE:
.BR
^^VERB/GLOBAL-SW... IN.FIL/LOCAL-SW,... OUT.FIL/LOCAL-SW...\\
.B 1
^Shortest command format:
.BR
^^S/R:n/K:n,m IN OUT\\
.B 1
^Verbs are:
.BR;.TS 16
<EXIT	takes no arguments
.BR
<HELP	takes no arguments
.BR
<MERGE	see below
.BR
<RUN (program) file-spec
.BR
<SORT	see below
.BR
<TAKE (commands from) file-spec (logging output on) file-spec
.B 1;.TS 16
<SORT and <MERGE ^Switches are:
.B 1
</RECORD:_<n_>	n = record size
.B 1
</KEY<:_<n_>,_<m_>,..	the first two arguments are mandatory
.BR;.LM 2
_<n_>	position of first KEY character
.BR
_<m_>	length of the KEY
.BR
<ALPHANUMERIC	key data type
.BR
<ASCENDING	key collating order
.BR
<COMP1	key data type
.BR
<COMP3	key data type
.BR
<COMPUTATIONAL	key data type
.BR
<DESCENDING	key collating order
.BR
<FORMAT<:a_<b_>._<c_> key data type, a_<b_>._<c_> is <FORTRAN format descriptor
.BR;.LM 11;.TS 14
a	= ^D decimal floating point, double precision
.BR;.LM 16
^E decimal floating point, single precision
.BR
^F decimal fixed point
.BR
^G general
.BR;.LM 10
_<b_> = <KEY length
.BR
_<c_> = number of decimal places
.BR;.LM 2;.TS 16
<NUMERIC	key data type
.BR
<SIGNED	key operational sign is to be used
.BR
<UNSIGNED	key operational sign is to be ignored
.B 1;.LM 0
</ALIGN	word align all <ASCII output records
.BR
</ASCII	recording mode
.BR
</BINARY	recording mode
.BR
</EBCDIC	recording mode
.BR
</SIXBIT	recording mode
.B 1
</BLOCKED<:_<n_>	<COBOL blocking factor
.BR
</FIXED	fixed length records
.BR
</FORTRAN	<FORTRAN type data file
.BR
</RANDOM	same as </FIXED
.BR
</SEQUENTIAL	same as </VARIABLE
.BR
</VARIABLE	variable length records
.B 1
</BUFFER-PAGES<:_<n_>	number of pages for <IO buffers
.BR
</CHECK	WHEN merging check the sequence of THE input recordS
.BR
</COLLATE<:_<a_>	_<a_> is one of the following:
.BR;.LM 2
<ASCII	collating sequence
.BR
<EBCDIC	collating sequence
.BR
<FILE<:file-spec
.BR
<LITERAL<:/collating-sequence/ first char after colon is delimeter
.BR
<ADDRESS<:_<N_>	octal address
.BR;.LM 0
</ERROR-RETURN<:_<n_>	octal address
.BR
</FATAL-ERROR-CODE<:_<n_>	octal address
.BR
</LEAVES<:_<n_>	_<n_> is the number of records to keep in main memory
.BR
</PHYSICAL	do not use logical names
.BR
</SUPPRESS-ERROR<:_<a_>	_<a_> is one of the following:
.BR;.LM 2
<ALL
.BR
<FATAL
.BR
<INFORMATION
.BR
<NONE
.BR
<WARNING
.BR;.LM 0
</TEMPORARY-AREAS<:directory-name,...
.B 1
</ANSI-ASCII	alias <STANDARD <ASCII for mag-tape
.BR
</DENSITY<:_<a_>	_<a_> is one of the following:
.BR;.LM 2
800
.BR
1600
.BR
<SYSTEM-DEFAULT
.BR;.LM 0
</INDUSTRY	industry compatible (8 bit) mode for mag-tape
.BR
</LABEL<:_<a_>	_<a_> is one of the following:
.BR;.LM 2
<ANSI
.BR
<DEC
.BR
<IBM
.BR
<NONSTANDARD
.BR
<OMITTED
.BR
<STANDARD
.BR;.LM 0
</PARITY<:_<a_>	_<a_> is one of the following:
.BR;.LM 2
<EVEN
.BR
<ODD
.BR;.LM 0
</REWIND	before use
.BR
</UNLOAD	after use
.ELSE TWENTY
^The general command format is:
.BR
^^OUTPUT=INPUT/SWITCH:ARGUMENT,...\\
.B 1
^The switches are:
.BR;.TS 16
<ALIGN	^Word align all output <ASCII records (saves time)
.BR
<ALPHANUMERIC	^Data type
.BR
<ASCII	^Data mode of file
.BR
<BINARY	^Data mode of file
.BR
<BLOCK<:n	N = Blocking factor
.BR
<CHECK	^WHEN merging check the sequence of the input recordS
.BR
<COMP	^COMPUTATIONAL Data type
.BR
<COMP1	^Floating point data type
.BR
<COMP3	^Packed (4 bits) decimal data type
.BR
<COMPUTATIONAL	^Data type
.BR
<CORE	^Low segment core size
.BR
<EBCDIC	^Data type
.BR
<COLLATE<:a	a is one of the following:
.BR;.LM 2
<ASCII	collating sequence
.BR
<EBCDIC	collating sequence
.BR
FILE<:file-spec
.BR
<LITERAL<:/collating-sequence/
 first char after colon is delimeter
.BR
<ADDRESS<:N	octal address
.BR;.LM 0
<ERROR<:n	^Octal address
.BR
<FATAL<:n	^Octal address
.BR
<FIXED	^Fixed length records
.BR
<FORMAT<:f	^Data type is <FORTRAN floating point <ASCII
.BR
	f is <FORTRAN format descriptor
.BR
<FORTRAN	^Data file produced by <FORTRAN (<ASCII or <binary)
.BR
<INDUSTRY	^Industry compatible (8 bit) mode
.BR
<KEY<:f:s:o	f = first byte, s = size
.BR
	o = <ASCENDING or <DESCENDING
.BR
<LABEL<:A	A IS ONE OF THE FOLLOWING:
.BR
	<STANDARD, <NONSTANDARD, <OMITTED, <DEC, <ANSI or <IBM
.BR
<LEAVES<:n	n = number of records to keep in main memory
.BR
<MERGE	^Merge the presorted input files
.BR
<NUMERIC	^Data type
.BR
<PACKED	^Same as <COMP3
.BR
<PRIORITY	^Disk priority (-3 to 3)
.BR
<RANDOM	<FORTRAN binary data type
.BR
<RECORD<:s	s = size in bytes
.BR
<REWIND	^Rewind device before use
.BR
<SEQUENTIAL	<FORTRAN binary data type
.BR
<SIGNED	^Numeric field has operational sign
.BR
<SIXBIT	^Data type
.BR
<STANDARD	^Standard <ASCII mode
.BR
<SUPPRESS<:a	a is one of the following:
.BR
	<ALL, <FATAL, <INFORMATION, <NONE, <WARNING
.BR
<TEMP	^Device is to be used for temporary files
.BR
<UNLOAD	^Unload device after use
.BR
<UNSIGNED	^Field does not have operational sign
.BR
<VARIABLE	^Variable record size
.PG
^The following switches are implemented by <SCAN:
.BR
<DENSITY	of magtape
.BR
<ESTIMATE	block size of output file
.BR
<HELP	^Type this file
.BR
<PARITY	of magtape
.BR
<PHYSICAL	^Physical-only <LOOKUPs and <ENTERs
.BR
<PROTECTION	of output file
.BR
<RUN	^other program to run
.BR
<RUNCORE	^Size of program to run
.BR
<RUNOFFSET	0 or 1 for normal or <CCL mode start
.BR
<VERSION	^Version number of output file
.B 1
^The following are recognized by <SCAN but have no effect:
.BR
<ABEFORE
.BR
<ASINCE
.BR
<BEFORE
.BR
<ERNONE
.BR
<ERPROTECTION
.BR
<ERSUPERSEDE
.BR
<LENGTH
.BR
<MESSAGE
.BR
<NOOPTION
.BR
<OKNONE
.BR
<OKPROTECTION
.BR
<OKSUPERSEDE
.BR
<OPTION
.BR
<SINCE
.BR
<STRS
.ENDIF TWENTY
.B 1;.LM 0
.CENTRE
^^[END OF SORT.HLP]\\