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
 
Method to compare 2 records and set a return code

 
Post new topic   Reply to topic    IBMMAINFRAMES.com Support Forums -> All Other Mainframe Topics
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    Post subject: Method to compare 2 records and set a return code
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    Post subject: Reply to: Method to compare 2 records and set a return code
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: 2442
Location: Netherlands, Amstelveen

PostPosted: Thu Oct 07, 2010 2:21 pm    Post subject:
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    Post subject:
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: 8593
Location: Back in jolly old England

PostPosted: Thu Oct 07, 2010 2:28 pm    Post subject: Re: Method to compare 2 records and set a return code
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    IBMMAINFRAMES.com Support Forums -> All Other Mainframe Topics All times are GMT + 6 Hours
Page 1 of 1

 

Search our Forum:

Similar Topics
Topic Author Forum Replies Posted
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 File Aid tool to compare numeric data balaji81_k Compuware & Other Tools 2 Tue Sep 26, 2017 3:35 am
No new posts Speed-up/reduce CPU use of code prino PL/I & Assembler 0 Tue Sep 26, 2017 12:05 am
No new posts Compare yesterday's date to the one o... migusd SYNCSORT 11 Fri Sep 22, 2017 11:35 pm

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