z/OS DFSORT Application Programming Guide
Previous topic | Next topic | Contents | Contact z/OS | Library | PDF


UNIQUE operator

z/OS DFSORT Application Programming Guide
SC23-6878-00

Read syntax diagramSkip visual syntax diagram
>>-UNIQUE--FROM(indd)--+-ON(p,m,f)-+--+-------------+----------->
                       '-ON(VLEN)--'  '-VSAMTYPE(x)-'   

>--+-------+---------------------------------------------------><
   '-UZERO-'   

Prints a message containing the count of unique values for a specified numeric or character field.

DFSORT is called to sort the indd data set to ICETOOL's E35 user exit. ICETOOL prints a message containing the unique count as determined by its E35 user exit.

The DYNALLOC option is passed to DFSORT to ensure that work space is available for the sort. If your installation defaults for dynamic allocation are inappropriate for a UNIQUE operator, you can take one of the following actions:
  1. Override the DYNALLOC option using an OPTION control statement such as:
          OPTION DYNALLOC=(8)

    in the DFSPARM data set.

  2. Use SORTWKdd DD statements to override the use of dynamic allocation. Refer to SORTWKdd DD statement for details.
Attention: Either of these actions affects the work data sets used for an OCCUR operator, or for a SELECT or SPLICE operator for which USING(xxxx) is not specified.

Tape work data sets cannot be used with ICETOOL.

You must not supply your own DFSORT MODS, INREC, OUTREC, SUM or RECORD statement, because they override the DFSORT statements passed by ICETOOL for this operator.

Go to the previous page Go to the next page




Copyright IBM Corporation 1990, 2014