Joined: 23 Nov 2006 Posts: 19244 Location: Inside the Matrix
Hello,
Many of our contributors are not able to download attachments.
Please repost your info using copy/paste and the Code tag. Use Preview to see how your post will appear to the forum (rather than how it looks in the Reply Editor). When the appearance is as you want it, Submit.
If you copy/paste from the terminal, no "adjusting" is necessary - the Code will preserve the alignment.
I have two files with same length, I need to delete the records from the second file if the records are present in the first file.(only i need to delete the records which are matching from first file). For this I have written the below JCL and when I was trying to execute I am getting below error. please find the below JCL and Error message
Joined: 23 Nov 2006 Posts: 19244 Location: Inside the Matrix
Hello,
The job posted is using Syncsort - not DFSORT. This topic has been moved to the JCL part of the forum where Syncsort topics are posted.
You didn't use the Code tag - it makes your posts of terminal data much more readable (i coded part of your previous post). Suggest you learn to do this. It is painless as there is a Preview function. . .
If you are copying records, suggest you correct the lengths so that they are consistent. . .
Joined: 22 Apr 2006 Posts: 6250 Location: Mumbai, India
You've not shown us the contents of:
Code:
//SYSIN DD DSN=TSHRPD.P54IWO.CNTLLIB(CFLMS754)
- what is there, please show us that.
On the other hand, your problem looks like a simple file-match thing and possibly two passes of data are not needed. Suggest you also show us the couple of records from both the input-files and the expected output from that. Also, please tell us the rules to get the output along with LRECL and RECFM of input/output.(I asked for LRECL/RECFM because your OUTREC says that output is of LRECL=284 while input is of 209)
However, you might need to extrapolate it to your needs. And if you want something exactly matching to your requirements, suggest you follow the suggestion from Dick.