I'm asking here partly because I don't know who to ask in my organisation and partly because it's always best to remain covert, but...
...we use EXEC PGM=SORT which defaults to syncsort, though interestingly EXEC PGM=ICETOOL will run successfully, which suggests DFSORT is available somewhere.
I tried EXEC PGM=DFSORT, but without success. and so I wondered if there was a program name that I could either try directly in the EXEC card, or run through a 3.14 to see if I need an extra steplib card.
I would like to sort variable length fields and our suncsort isn't iup to it yet. (I think I'll leave that typo in)
btw, thanks for opening my eyes to ICETOOL. I've been trying to use it wherever possible and it's finally getting to the point where I know the syntax enough to be about as efficient as writing a program. I'm using mostly SPLICE and OCCURS at the moment, and I find following the OCCURS with a COPY using (2:80) will get rid of the annoying cc byte and 121 lrecl
Joined: 15 Feb 2005 Posts: 7129 Location: San Jose, CA
Quote:
...we use EXEC PGM=SORT which defaults to syncsort, though interestingly EXEC PGM=ICETOOL will run successfully, which suggests DFSORT is available somewhere.
No, it doesn't suggest that at all. If PGM=SORT invokes Syncsort, then Syncsort is your primary sort product and PGM=ICETOOL will actually invoke Syncsort's SYNCTOOL, not DFSORT's ICETOOL. Syncsort chose to make ICETOOL an alias for SYNCTOOL just as they chose to make ICEMAN an alias for SORT.
Quote:
I tried EXEC PGM=DFSORT, but without success
PGM=DFSORT is NOT supported. You invoke DFSORT with PGM=ICEMAN or PGM=SORT, but since Syncsort is your primary sort product, PGM=ICEMAN and PGM=SORT will invoke Syncsort, not DFSORT.
Quote:
wondered if there was a program name that I could either try directly in the EXEC card, or run through a 3.14 to see if I need an extra steplib card.
It's possible, though not probable, that your site has both Syncsort and DFSORT. Since Syncsort is your primary sort product, DFSORT would be your secondary sort product and you'd have to JOBLIB or STEPLIB to the libraries DFSORT was installed in to use DFSORT or DFSORT's ICETOOL. Ask your System Programmer if DFSORT is available and if so, the libraries you need to JOBLIB/STEPLIB to in order to use DFSORT instead of Syncsort.