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
 

 

Mismatch file needs to be generated

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

New User


Joined: 12 Jun 2008
Posts: 8
Location: Bangalore

PostPosted: Thu Jun 12, 2008 4:47 pm    Post subject: Mismatch file needs to be generated
Reply with quote

Hi,
I have a stock file giving the counts of seven tables from database
File1
Stock 000005 000005 000005 000005 000005 000005 000005

The second file is generated to hold the record counts of 7 existing files using ICEMAN
File 2
A 000005
B 000006
C 000007
D 000005
E 000006
F 000005
G 000005

File 1 has only a single row and seven columns.
File2 has seven rows.

I have to read file 1 and for every column in file 1, I have to match with the second column of every row of file 2. If the values do not match, I need to write both the values to the output file.
Expected Output:
B 000005 000006
C 000005 000007
E 000005 000006

Basically requirement is to create a mismatch file.
Please clarify on this.
Back to top
View user's profile Send private message

Prema Suresh

New User


Joined: 12 Jun 2008
Posts: 8
Location: Bangalore

PostPosted: Fri Jun 13, 2008 12:06 pm    Post subject: Reply to: Mismatch file needs to be generated
Reply with quote

Hi Arun, Thanks for your response. But sorry to say that syncsort does not work in my environment .

Also a small change in the requirement.

File 1
ABCD 000005
EFGH 000006
IJKL 000007

File2
STOCK 000006 000006 000008

Expected out put:(all counts needed ..not only mismatch)
name stockcount filecount ...........header
ABCD 000006 000005
EFGH 000006 000006
IJKL 000008 000007

Can you help me on this?
Note: Syncsort does not work here. May be iceman or easy or sort can accomplish the same? Please help!
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 SORTJOIN - Copy Matched and Unmatched... Steve Ironmonger DFSORT/ICETOOL 5 Tue Jan 17, 2017 4:26 pm
No new posts Copy RECFM =VB TO FB file with RECL =... sahil41352 DFSORT/ICETOOL 3 Wed Dec 28, 2016 11:29 pm
No new posts Add PD field from 2nd file to PD in 1st Sushant Garje DFSORT/ICETOOL 6 Thu Dec 01, 2016 4:32 pm
No new posts File Aid to File Manager conversion murali3955 IBM Tools 4 Thu Nov 24, 2016 3:41 pm
No new posts How to convert the VBM file to VB or... Sulabh Agrawal JCL & VSAM 4 Fri Nov 18, 2016 1:04 pm


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