IBM Mainframe Forum Index
 
Log In
 
IBM Mainframe Forum Index Mainframe: Search IBM Mainframe Forum: FAQ Register
 

Method to compare 2 records and set a return code


IBM Mainframe Forums -> All Other Mainframe Topics
Post new topic   Reply to topic
View previous topic :: View next topic  
Author Message
michele_mimi

New User


Joined: 22 Feb 2008
Posts: 7
Location: Rome, Italy

PostPosted: Thu Oct 07, 2010 1:34 pm
Reply with quote

There is an method that compare one record from file A with another record from file B (each file have only one record)
and set a return code = 4 if the fields are equals and another return code if the fields are different ?

Thanks in advance.

P.S. : Sorry for my orrible english .....
Back to top
View user's profile Send private message
acevedo

Active User


Joined: 11 May 2005
Posts: 344
Location: Spain

PostPosted: Thu Oct 07, 2010 2:19 pm
Reply with quote

try ISRSUPC (3.12 or 3.13) .

Code:
12 SuperC      Compare data sets                             (Standard Dialog)
13 SuperCE     Compare data sets Extended                    (Extended Dialog)
Back to top
View user's profile Send private message
PeterHolland

Global Moderator


Joined: 27 Oct 2009
Posts: 2481
Location: Netherlands, Amstelveen

PostPosted: Thu Oct 07, 2010 2:21 pm
Reply with quote

ISRSUPC has a RC=1 for differences and zero for no differences.
Back to top
View user's profile Send private message
michele_mimi

New User


Joined: 22 Feb 2008
Posts: 7
Location: Rome, Italy

PostPosted: Thu Oct 07, 2010 2:23 pm
Reply with quote

Ok, Thanks to all !!!!! icon_smile.gif
Back to top
View user's profile Send private message
expat

Global Moderator


Joined: 14 Mar 2007
Posts: 8798
Location: Welsh Wales

PostPosted: Thu Oct 07, 2010 2:28 pm
Reply with quote

michele_mimi wrote:
P.S. : Sorry for my orrible english .....
That's OK, most of us English are 'orrible icon_lol.gif
Back to top
View user's profile Send private message
View previous topic : : View next topic  
Post new topic   Reply to topic All times are GMT + 6 Hours
Forum Index -> All Other Mainframe Topics

 


Similar Topics
Topic Forum Replies
No new posts Format data from multiple records usi... SYNCSORT 4
No new posts Sort SMF records? SYNCSORT 6
No new posts To Sort detail records in a file with... SYNCSORT 5
No new posts IBM IMU Utility for Easytrieve Code t... IBM Tools 0
No new posts Identify and write records containing... SYNCSORT 11
Search our Forums:


Back to Top