11.01.2013 Views

ABCs of z/OS System Programming Volume 3 - IBM Redbooks

ABCs of z/OS System Programming Volume 3 - IBM Redbooks

ABCs of z/OS System Programming Volume 3 - IBM Redbooks

SHOW MORE
SHOW LESS

You also want an ePaper? Increase the reach of your titles

YUMPU automatically turns print PDFs into web optimized ePapers that Google loves.

DFSORT functions<br />

DFSORT adds the ability to do faster and easier sorting, merging, copying, reporting and<br />

analysis <strong>of</strong> your business information, as well as versatile data handling at the record, fixed<br />

position/length or variable position/length field, and bit level. While sorting, merging, or<br />

copying data sets, you can also:<br />

► Select a subset <strong>of</strong> records from an input data set. You can include or omit records that<br />

meet specified criteria. For example, when sorting an input data set containing records <strong>of</strong><br />

course books from many different school departments, you can sort the books for only one<br />

department.<br />

► Reformat records, add or delete fields, and insert blanks, constants, or binary zeros. For<br />

example, you can create an output data set that contains only certain fields from the input<br />

data set, arranged differently.<br />

► Sum the values in selected records while sorting or merging (but not while copying). In the<br />

example <strong>of</strong> a data set containing records <strong>of</strong> course books, you can use DFSORT to add up<br />

the dollar amounts <strong>of</strong> books for one school department.<br />

► Create multiple output data sets and reports from a single pass over an input data set. For<br />

example, you can create a different output data set for the records <strong>of</strong> each department.<br />

► Sort, merge, include, or omit records according to the collating rules defined in a selected<br />

local.<br />

► Alter the collating sequence when sorting or merging records (but not while copying). For<br />

example, you can have the lowercase letters collate after the uppercase letters.<br />

► Sort, merge, or copy Japanese data if the <strong>IBM</strong> Double Byte Character Set Ordering<br />

Support (DBCS Ordering, the 5665-360 Licensed Program, Release 2.0 or an equivalent<br />

product) is used with DFSORT to process the records.<br />

DFSORT and ICETOOL<br />

DFSORT has utilities such as ICETOOL, which is a multipurpose DFSORT utility that uses<br />

the capabilities <strong>of</strong> DFSORT to perform multiple operations on one or more data sets in a<br />

single step.<br />

Tip: You can use DFSORT's ICEGENER facility to achieve faster and more efficient<br />

processing for applications that are set up to use the IEBGENER system utility. For more<br />

information, see z/<strong>OS</strong> DFSORT Application <strong>Programming</strong> Guide, SC26-7523.<br />

DFSORT customization<br />

Specifying the DFSORT customization parameters is a very important task for z/<strong>OS</strong> system<br />

programmers. Depending on such parameters, DFSORT may use lots <strong>of</strong> system resources<br />

such as CPU, I/O, and especially virtual storage. The uncontrolled use <strong>of</strong> virtual storage may<br />

cause IPLs due to the lack <strong>of</strong> available slots in page data sets. Plan to use the IEFUSI z/<strong>OS</strong><br />

exit to control products such as DFSORT.<br />

For articles, online books, news, tips, techniques, examples, and more, visit the z/<strong>OS</strong><br />

DFSORT home page:<br />

http://www-1.ibm.com/servers/storage/support/s<strong>of</strong>tware/sort/mvs<br />

Chapter 4. Storage management s<strong>of</strong>tware 191

Hooray! Your file is uploaded and ready to be published.

Saved successfully!

Ooh no, something went wrong!