I would argue you should expose the full function of DFSORT control 
statements if you can.

Cheers, Martin

Martin Packer,
zChampion, Principal Systems Investigator,
Worldwide Banking Center of Excellence, IBM

+44-7802-245-584

email: [email protected]

Twitter / Facebook IDs: MartinPacker
Blog: 
https://www.ibm.com/developerworks/mydeveloperworks/blogs/MartinPacker



From:   John McKown <[email protected]>
To:     [email protected]
Date:   06/06/2014 19:06
Subject:        Re: Any need? DFSORT interface to C language
Sent by:        IBM Mainframe Discussion List <[email protected]>



On Fri, Jun 6, 2014 at 12:54 PM, John Gilmore <[email protected]> wrote:

> It's clear that Sri's suggestion is functionally adequate; but it is,
> I think, less perspicuous than the sort of thing you were proposing.
>
> Anyone who understands the, usually, several sets of conventions
> involved can of course call/invoke anything from C; but only a few of
> the applications programmers who are most likely to want to
> invoke/ATTACH an external sort from C do in fact understand them.
> Moreover, a properly designed interface can insulate its users from
> trivial changes in their environments.
>
> John Gilmore, Ashland, MA 01721 - USA
>

One of my hopes is that, if I do write something, it would be as
conceptually as easy for a C programmer to use as the SORT verb is for the
COBOL programmer. Perhaps with an interface similar to what qsort() uses. 
I
would guess most C programmers who need to sort would be familiar with
qsort(). I may well not be qualified to actually accomplish this. But it
would be a glorious failure! <grin/> Even more ambitious would be a DFSORT
class for C++.


-- 
There is nothing more pleasant than traveling and meeting new people!
Genghis Khan

Maranatha! <><
John McKown

----------------------------------------------------------------------
For IBM-MAIN subscribe / signoff / archive access instructions,
send email to [email protected] with the message: INFO IBM-MAIN



Unless stated otherwise above:
IBM United Kingdom Limited - Registered in England and Wales with number 
741598. 
Registered office: PO Box 41, North Harbour, Portsmouth, Hampshire PO6 3AU

----------------------------------------------------------------------
For IBM-MAIN subscribe / signoff / archive access instructions,
send email to [email protected] with the message: INFO IBM-MAIN

Reply via email to