Utility programs are pre-written programs, widely used in mainframes by system programmers and application developers to achieve day-to-day requirements, organising and maintaining data. A few of them are listed below with their functionality:. No operation utility. Used to return control to user and terminate. It is usually used to create empty dataset or delete an existing dataset. These utility programs need to be used with appropriate DD statements in a JCL in order to achieve the specified functionality.
|Published (Last):||3 January 2019|
|PDF File Size:||15.42 Mb|
|ePub File Size:||18.95 Mb|
|Price:||Free* [*Free Regsitration Required]|
Thanx a lot Wolfgang. Do you know your hidden name meaning? Click here to find your hidden name meaning. 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. 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. 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 only once. This prints the values that occur more than once. 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:. Character Data: CH. 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 Email This BlogThis! Unknown 4 September at Unknown 24 November at Unknown 8 August at MBonalde 12 May at Subscribe to: Post Comments Atom.
JCL - Utility Programs
JCL - Basic Sort Tricks