I want to take a single value out of one dataset and then have this value occur in each record of a 2nd dataset I am to process. Can this be achieved using ICETOOL ?
Here is a working example
000IVP USER SCRBOSPRO01NNNNYY N N N NNN YN Y0250
1950101AAPPRO01 051408 P 200725200811 Y
1950105AACCOUNTS PAYABLE PROCESSING
From this record I only want to capture the data from record two for bytes 9 through 26. ie. PRO01 051408
I was just wondering what would be case if the second input file had no spaces infront of the record. If we want to append 'PRO01 051408' to all the records in the second file whose records start from column 1, what changes should be made to the above suggested code.
where n is the number of bytes you want from the original records (1-n).
If you're not familiar with DFSORT and DFSORT's ICETOOL, I'd suggest reading through "z/OS DFSORT: Getting Started". It's an excellent tutorial, with lots of examples, that will show you how to use DFSORT, DFSORT's ICETOOL and DFSORT Symbols. You can access it online, along with all of the other DFSORT books, from: