On 02/04/2016 10:09 PM, David Crayford wrote:
IBM switched the magic bit to offload the JZOS JNI C/C++ workload to a zIIP so they could do the same for DFSORT. A well engineered library could handle the callbacks so the client just reads records like a normal API. That would certainly push Java batch up a notch.
One question that puzzles me (maybe it's my lack of an application programming background): Why is sort used so much on z/OS?

I know you can then e.g. do grouping based on key changes, but is that really necessary in current programs? Is that the reason it is commonly used?

I generally use e.g. Java HashMap, C# Hashtable for grouping so the data doesn't need to be sorted. Do other common languages on z/OS provide similar functions? (C++ I know.) Are there opportunities to use programming language features to avoid sorts altogether?

Andrew Rowley

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

Reply via email to