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


Notes on using JOINKEYS with COPY and SORT

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

  • You can use a JOINKEYS application with a COPY or SORT operator of ICETOOL, but not with any of the other ICETOOL operators. Use the JKFROM operand instead of the FROM operand to indicate you are using a JOINKEYS application.
  • See Using a JOINKEYS application for joining two files for complete details on JOINKEYS applications.
  • If you want to sort the joined records, use a SORT operator with USING(xxxx) in TOOLIN and a SORT control statement along with the appropriate JOINKEYS, JOIN and REFORMAT statements in xxxxCNTL (main task).
  • If you want to copy the joined records, use a COPY operator with USING(yyyy) in TOOLIN and the appropriate JOINKEYS, JOIN and REFORMAT statements in yyyyCNTL (main task).
  • For multiple JOINKEYS applications within a single ICETOOL step:
    • You can reference different JOINKEYS F1 and F2 input files for the different SORT and/or COPY operators by using F1=ddname and F2=ddname on the various JOINKEYS statements as appropriate
    • You can reference different subtaskn message and control files for the different SORT and/or COPY operators by using TASKID=id on the various JOINKEYS statements as appropriate.

Go to the previous page Go to the next page




Copyright IBM Corporation 1990, 2014