× The internal search function is temporarily non-functional. The current search engine is no longer viable and we are researching alternatives.
As a stop gap measure, we are using Google's custom search engine service.
If you know of an easy to use, open source, search engine ... please contact support@midrange.com.



Yep... Good old Gsort is a S/36 deal, while
fmtdta is the 400 version.

They both use identical control records....

Something along these lines:

The following source records are stored in a
member called sortrecs in SORCELIB/QFMTSRC.

HSORTR    35A
I C   1  3EQCABC
FNC   1  3
FNC   4  8
FNC   9 11

35 byte rrecord
sort positions 1-3
               4-8
               9-11

Include only records with the characters of ABC in 1-3.


FMTDTA infile(inputfile)  outfile(wrkfile) srcfile(sorcelib/qfmtsrc)

or the S/36 version

// load #GSORT
// file name-input,label-inputfile,disp-shr
// file name-output,label-wrkfile,disp-new,records-2000
// run
HSORTR    35A
I C   1  3EQCABC
FNC   1  3
FNC   4  8
FNC   9 11
// end

Very easy and fairly quick (all from memory)

Get the manuals....



Charles St-Laurent wrote:

Hi!

Just a question about GSORT. Is it possible to run that in a CLP with a
STRS36PRC? If it is possible, can you tell me how? Do you consider FMTDTA as
a GSORT?


As an Amazon Associate we earn from qualifying purchases.

This thread ...

Follow-Ups:
Replies:

Follow On AppleNews
Return to Archive home page | Return to MIDRANGE.COM home page

This mailing list archive is Copyright 1997-2024 by midrange.com and David Gibbs as a compilation work. Use of the archive is restricted to research of a business or technical nature. Any other uses are prohibited. Full details are available on our policy page. If you have questions about this, please contact [javascript protected email address].

Operating expenses for this site are earned using the Amazon Associate program and Google Adsense.