Policy1 USA
Policy1 CANADA
Policy1 MEXICO
Policy2 USA
What I need to do is, if the feild 1 ( in this case Policy1 & Policy2) is repeated more that once, then I need to write it in another file.
Note that Policy2 is not repeated,hence it should not be written.
Hence, My output file should look like this
Policy1 USA
Policy1 CANADA
Policy1 MEXICO
Note that SUM FEILDS=NONE and XSUM wont work here.
The file is 80 bytes long. Feild 1 starts from position 1 and feild 2 from 10.
Joined: 15 Feb 2005 Posts: 7129 Location: San Jose, CA
Just out of curiosity, have they ever given you a reason why? Do they realize they're paying for functionality that they're not letting you take advantage of?
Joined: 07 Dec 2007 Posts: 2205 Location: San Jose
ap_mainframes,
The following DFSORT JCL will give you the desired results.The job uses DFSORT's new WHEN=GROUP functions available with z/OS DFSORT V1R5 PTF UK90013 (July, 2008).
If you don't have z/OS DFSORT PTF UK90013, ask your System Programmer to install it (it's free).
For complete details on the new functions available with PTF UK90013, see: