However, I can see from the messages you posted that you don't have this PTF. Ask your System Programmer to install it.
You can do what you want without WHEN=GROUP in a slightly more complicated way (though not as complicated as the "solution" Sambhaji proposed), like this:
Joined: 15 Feb 2005 Posts: 7129 Location: San Jose, CA
Quote:
Can this same functionality be achieved by a simple SORT
Just want to know
I don't know what you mean by a "simple SORT". If you mean by a DFSORT step, rather than an ICETOOL step, then the WHEN=GROUP step I showed above meets that criteria.
If you're thinking that there's a difference between using PGM=ICEMAN and PGM=SORT, there isn't. They are equivalent.
If that doesn't answer your question, then explain more clearly what you mean by a "simple SORT" (and why it matters).
Ya i meant it as DFSORT
Can it be done in DFSORT i compiled the code and it gave syntax errors
Here people feel it would be better if its SORT step rather than ICEMAN step if so how to proceed further to put the same using DFSORT
Joined: 15 Feb 2005 Posts: 7129 Location: San Jose, CA
Edwin,
The first example uses DFSORT (PGM=SORT or PGM=ICEMAN - they are equivalent). It requires z/OS DFSORT V1R5 PTF UK90013 (July, 2008). If your System Programmer installs that PTF, you can use that example.
The second example uses DFSORT's ICETOOL (PGM=ICETOOL). It does NOT require that PTF.
Quote:
second example works fine with ICETOOL
will that be possible to be implemented in DFSORT
ICETOOL is part of DFSORT. It has been since 1991! ICETOOL is available to you, and you said the ICETOOL job works fine, so what's the problem?