Hi,I got a scenario to write a jcl to sort the two files and write the matched and unmatched records into 2 different files using ICETOOL utility. DFSORT/ICETOOL: Hi all I want to know what exactly is ICETOOL utility & what is its function and usage:?:?. JCL Utility Programs – Learn JCL (Job Control Language) in simple and easy steps DFSORT is a powerful IBM utility used to copy, sort or merge datasets.
|Country:||Bosnia & Herzegovina|
|Published (Last):||15 October 2018|
|PDF File Size:||7.76 Mb|
|ePub File Size:||11.10 Mb|
|Price:||Free* [*Free Regsitration Required]|
Thanx a lot Wolfgang. TEXT is used to decide the text to be written before the count. Only the header and trailer kept in place and rest of the data is sorted.
List indicates the output dataset.
ON indicates the fields to be displayed on the report. Note that 1st column is occupied by the printing carriage control character. We can turn off that display using NOCC.
Re:ICETOOL UTILITY – JCL
Note that only the column we mentioned in ON is printed in the report. Also note that both the titles are printed. Is for formatting purpose. Also note that in the above figure the title is being printed every page.
TLEFT to print the title left justified. We can specify NOCC to override default of printing carriage control characters.
icetool: ICETOOL examples
The string within is also printed before the value is printed. ON indicates the column for which unique must be found.
Above shows the unique values in the column 5,8,ZD. BLANK replaces all the leading zeros. That is the values that appear iceotol once.
This prints the values that occur more than once.
Complete ICETOOL examples
The ones that occur only 1 time are not printed. Below prints the values that occur more than times. Prints the values that occur more than times.
In the ON clause we can specify the format in which data will be displayed. We could any of the existing masks.
Note the format is decided as follows: Numeric fields with usage COMP: Numeric fields with usage COMP See the Use of Edit patterns. This displays the count of records having field 36,2,ZD greater than Prints the number of records with value greater than Following can be used to remove duplicates from a file and save it to another file. All unique records will be copied to another datasets. Above means keep the records from input file from record numbers to This will copy records from 1 to 99 and then the last record.
This giving us a sample records for testing. Posted by cobolbasics at Raj kumar Bhakthavachalam 4 September at Ashwani Sharma 24 November at Matthew McKenzie 8 August at