View previous topic :: View next topic
|
Author |
Message |
rswathi_1208
New User
Joined: 14 May 2010 Posts: 11 Location: chennai
|
|
|
|
Hi,
I have two input files FileA of length 51 and FileB of length 10.
I want to compare these two files of lenght 1 to 10. I need to write the matching records in one file and not matching records in the another file. Please help. |
|
Back to top |
|
|
Skolusu
Senior Member
Joined: 07 Dec 2007 Posts: 2205 Location: San Jose
|
|
Back to top |
|
|
William Thompson
Global Moderator
Joined: 18 Nov 2006 Posts: 3156 Location: Tucson AZ
|
|
|
|
Just what kind of solution are you looking for, EZT or Sort?
Why haven't you answered Dick's question on your other thread?
Have you done any searching yet? This Sort subject has been asked and answered many times. |
|
Back to top |
|
|
rswathi_1208
New User
Joined: 14 May 2010 Posts: 11 Location: chennai
|
|
|
|
Yeah I do searched.But I couldnt get the exact thing what I need. So I have posted separately |
|
Back to top |
|
|
dick scherrer
Moderator Emeritus
Joined: 23 Nov 2006 Posts: 19244 Location: Inside the Matrix
|
|
|
|
Hello,
Quote: |
Yeah I do searched.But I couldnt get the exact thing what I need. So I have posted separately |
If you provided the information to the questions asked in your original topic, you would probably have made more progress. . .
Usually, the "exact thing" will not be delivered on a silver plate. You will have to do much of the research and then the work yourself. . . |
|
Back to top |
|
|
Frank Yaeger
DFSORT Developer
Joined: 15 Feb 2005 Posts: 7129 Location: San Jose, CA
|
|
|
|
swathi.r,
Please show an example of the records in each input file (relevant fields only) and what you expect for output. Explain the "rules" for getting from input to output. Give the starting position, length and format of each relevant field. Give the RECFM and LRECL of the input files. If file1 can have duplicates within it, show that in your example. If file2 can have duplicates within it, show that in your example.
Also run the following job and show the //SYSOUT messages you receive so I can see what level you're at:
Code: |
//S1 EXEC PGM=SORT
//SYSOUT DD SYSOUT=*
//SORTIN DD *
RECORD
//SORTOUT DD DUMMY
//SYSIN DD *
OPTION COPY
/*
|
|
|
Back to top |
|
|
|