Portal | Manuals | References | Downloads | Info | Programs | JCLs | Mainframe wiki | Quick Ref
IBM Mainframe Computers Forums Index
 
Register
 
IBM Mainframe Computers Forums Index Mainframe: Search IBM Mainframe Forum: FAQ Memberlist Profile Log in to check your private messages Log in
 
Difference of records in output file

 
Post new topic   Reply to topic    IBMMAINFRAMES.com Support Forums -> DFSORT/ICETOOL
View previous topic :: :: View next topic  
Author Message
rajandhla

Active User


Joined: 18 Oct 2005
Posts: 182
Location: Luton UK

PostPosted: Fri Jun 02, 2006 6:50 pm    Post subject: Difference of records in output file
Reply with quote

Hi

Here is my requirement can i know the sort job for it.......

file1
11111111111111111
22222222222222222
22222222222222222
33333333333333333
44444444444444444

Infile2 contain

11111111111111111
33333333333333333
555555555555555555
555555555555555555

The sort output should be

222222222222222222
222222222222222222
444444444444444444
5555555555555555555
5555555555555555555

The file is variable lenght file.. max lrecl is 200...

Thanks in advance

Regards
jai
Back to top
View user's profile Send private message

Frank Yaeger

DFSORT Moderator


Joined: 15 Feb 2005
Posts: 7130
Location: San Jose, CA

PostPosted: Fri Jun 02, 2006 8:56 pm    Post subject:
Reply with quote

So you want the output file to contain the records found in one input file but not in the other input file - right?

What are you comparing on - the entire record (up to 200 bytes) or the first n bytes (what is n) or what?

Is the length of the 1's record 17? If not, what is its length?

Is the length of the 5's record 18? If not, what is its length?
Back to top
View user's profile Send private message
rajandhla

Active User


Joined: 18 Oct 2005
Posts: 182
Location: Luton UK

PostPosted: Fri Jun 02, 2006 9:04 pm    Post subject:
Reply with quote

Yes frank,

I want to compare the whole record of 200 bytes.....

Regards
jai
Back to top
View user's profile Send private message
Frank Yaeger

DFSORT Moderator


Joined: 15 Feb 2005
Posts: 7130
Location: San Jose, CA

PostPosted: Fri Jun 02, 2006 10:07 pm    Post subject:
Reply with quote

Please answer my other questions.
Back to top
View user's profile Send private message
bcmohanty

New User


Joined: 17 May 2006
Posts: 17

PostPosted: Mon Jun 05, 2006 1:56 pm    Post subject:
Reply with quote

u can write a small file balancing program (B LINE logic)....it will be the easyest way to do.....before using the files (ie.the two files used as input to program) it should be shorted.....
Back to top
View user's profile Send private message
View previous topic :: :: View next topic  
Post new topic   Reply to topic    IBMMAINFRAMES.com Support Forums -> DFSORT/ICETOOL All times are GMT + 6 Hours
Page 1 of 1

 

Search our Forum:

Similar Topics
Topic Author Forum Replies Posted
This topic is locked: you cannot edit posts or make replies. Difference between EQUAL and EQUAL TO... jithinraghavan COBOL Programming 3 Thu Apr 19, 2018 2:22 am
No new posts IDCAMS RENAMING VSAM FILE ALONG WITH ... upendrasri JCL & VSAM 11 Tue Apr 17, 2018 10:42 pm
No new posts VSAM file NOT Found error while proce... SumaReva CICS 5 Wed Apr 11, 2018 9:54 pm
No new posts converting a mainframe file with ASA ... Lynne Schuler All Other Mainframe Topics 5 Wed Apr 04, 2018 9:44 am
No new posts Extract the records with a PD field's... sudhakar84 DFSORT/ICETOOL 11 Mon Apr 02, 2018 7:26 pm

Facebook
Back to Top
 
Job Vacancies | Forum Rules | Bookmarks | Subscriptions | FAQ | Polls | Contact Us