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 FTP VB File from Mainframe retaining ... JCL & VSAM 1
No new posts Extract the file name from another fi... DFSORT/ICETOOL 6
No new posts How to split large record length file... DFSORT/ICETOOL 10
No new posts Extracting Variable decimal numbers f... DFSORT/ICETOOL 17
No new posts SFTP Issue - destination file record ... All Other Mainframe Topics 2
Search our Forums:

Back to Top