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

Comparing inside same file


IBM Mainframe Forums -> DFSORT/ICETOOL
Post new topic   Reply to topic
View previous topic :: View next topic  
Author Message
vickey_dw

New User


Joined: 10 Jun 2015
Posts: 51
Location: India

PostPosted: Tue Jul 10, 2018 9:51 pm
Reply with quote

Hi
I have a below requirement. Any help is highly appreciated.

Sample input file

Code:

Daily status report

Number of PB records Read        :   5598
Number of PB records Processed   :   5598
Number of TQ records Read        :   5100
Number of TQ records Processed   :   5100


Here my requirement is if no of PB records Read is not equal to PB records processed OR if the number of TQ records Read is not equal to no of TQ records processed then this step should through RC4 else step should through RC0.
Back to top
View user's profile Send private message
RahulG31

Active User


Joined: 20 Dec 2014
Posts: 446
Location: USA

PostPosted: Tue Jul 10, 2018 10:04 pm
Reply with quote

Is it a challenge for others? What have YOU tried?

.
Back to top
View user's profile Send private message
Arun Raj

Moderator


Joined: 17 Oct 2006
Posts: 2481
Location: @my desk

PostPosted: Wed Jul 11, 2018 9:12 pm
Reply with quote

vickey_dw,

Do you know what creates this file (or data set)? If it is something that is generated by your system, would it not be easier to check it while it is being written and issue an RC accordingly.
Back to top
View user's profile Send private message
View previous topic :: :: View next topic  
Post new topic   Reply to topic View Bookmarks
All times are GMT + 6 Hours
Forum Index -> DFSORT/ICETOOL

 


Similar Topics
Topic Forum Replies
No new posts Converting a file from PD to display ... SYNCSORT 4
No new posts Record count of RECFM=U tape file DFSORT/ICETOOL 17
This topic is locked: you cannot edit posts or make replies. Write Character to Hexadecimal file w... COBOL Programming 8
No new posts Checking the total counts inside a re... JCL & VSAM 5
No new posts File-aid batch how to repeat a line... Compuware & Other Tools 2
Search our Forums:

Back to Top