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
No new posts Subtract the ZD fields to provide neg... Balaryan DFSORT/ICETOOL 4 Wed Oct 11, 2017 10:51 pm
No new posts sort records based on length exceeds ... maxsubrat DFSORT/ICETOOL 7 Wed Oct 04, 2017 4:48 pm
No new posts Addition of two records on 2 fields amar143 SYNCSORT 8 Tue Oct 03, 2017 11:14 am
No new posts Execute JCL step based on the content... sprikitik JCL & VSAM 2 Tue Oct 03, 2017 10:03 am
This topic is locked: you cannot edit posts or make replies. PS file data should be passed as symb... d_sarlie JCL & VSAM 15 Tue Oct 03, 2017 5:18 am

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