Can anyone provide info regarding the best techinque to use on the following situation. I have an existing control card which contains data to be used for an INCLUDE/EXCLUDE line on the sort. This control card is created dynamically, so the data changes from run to run. Has anyone encountered the same situation, and what technique worked best to resolve the issue?
I don't understand what issue it is you're trying to resolve. I might guess that you're looking for a way to easily change the value in the INCLUDE statement from run to run and I'd suggest a DFSORT Symbol for that. But you say the INCLUDE statement is dynamically created, so it appears you already have a way of changing the value. Please explain in more detail what problem you're trying to solve, with examples.
My above example would look like...
where the ****** characters are the 17 characters from the dynamic record being used in the control card.
Huh? Why are you using 164,8 for a character string of 17 characters? Only the first 8 characters will be used. I would think you'd want either (1) 164,17 with a 17-character string or (2) 164,8 with an 8-character string. Which is it?
If you can't use BUILD, then either you aren't using DFSORT, or you don't have the Dec, 2004 DFSORT PTF so your site is way behind on DFSORT service. If you are using DFSORT, ask your System Programmer to install z/OS DFSORT V1R5 PTF UK90007 or DFSORT R14 PTF UK90006 (April, 2006). That will get you all of the available DFSORT function.