Previous topic |
Next topic |
Contents |
Contact z/OS |
Library |
PDF
Overview z/OS DFSORT Application Programming Guide SC23-6878-00 |
|
You can perform various types of "join" applications on two files
(F1 and F2) by one or more keys with DFSORT using the following statements:
F1 and F2 can be any type of sequential or VSAM file supported by DFSORT for SORTIN and can have different attributes (for example, F1 can have RECFM=FB and LRECL=100 and F2 can have RECFM=VB and LRECL=254, or F1 can be a VSAM ESDS and F2 can be a PDS member). F1 will be sorted or copied by "subtask1". An E35 exit will be used to pass the needed fields from the F1 records to the "main task" (an intermediate output data set is not used or required). A subset of the DFSORT statements, such as INCLUDE, OMIT, INREC, SUM and OPTION, will be available for processing the F1 records. F2 will be sorted or copied by "subtask2". An E35 exit will be used to pass the needed fields from the F2 records to the "main task" (an intermediate output data set is not used or required). A subset of the DFSORT statements, such as INCLUDE, OMIT, INREC, SUM and OPTION, will be available for processing the F2 records. The "main task" will use an E15 to join the records passed from the E35 of subtask1 and E35 of subtask2. The joined records will be processed as the input records for a sort or copy application. Most of the control statements and options available for a DFSORT sort or copy application will be available for processing the joined records. Note: Since a JOINKEYS application uses three tasks, it
can require more storage than a regular DFSORT application. You may
need to use REGION=0M for some JOINKEYS applications.
|
Copyright IBM Corporation 1990, 2014
|