Portal | Manuals | References | Downloads | Info | Programs | JCLs | Master the Mainframes
IBM Mainframe Computers Forums Index
 
Register
 
IBM Mainframe Computers Forums Index Mainframe: Search IBM Mainframe Forum: FAQ Memberlist Usergroups 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 Converting Variable block file to Fix... bhavana yalavarthi DFSORT/ICETOOL 10 Tue May 16, 2017 2:20 pm
No new posts Check if any Detail records and extra... V S Amarendra Reddy SYNCSORT 19 Mon May 08, 2017 8:54 pm
No new posts find RACF group for access to spooled... jzhardy JCL & VSAM 1 Mon May 08, 2017 11:46 am
No new posts Getting error while opening a variabl... apandey1 COBOL Programming 5 Fri May 05, 2017 12:22 pm
No new posts Issue with NDM process to transmit ES... chetanambi All Other Mainframe Topics 6 Wed May 03, 2017 10:52 am


Facebook
Back to Top
 
Mainframe Wiki | Forum Rules | Bookmarks | Subscriptions | FAQ | Tutorials | Contact Us