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
 
Comparing inside same file

 
Post new topic   Reply to topic    IBMMAINFRAMES.com Support Forums -> DFSORT/ICETOOL
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    Post subject: Comparing inside same file
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: 444
Location: USA

PostPosted: Tue Jul 10, 2018 10:04 pm    Post subject: Reply to: Comparing inside same file
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: 2421
Location: @my desk

PostPosted: Wed Jul 11, 2018 9:12 pm    Post subject:
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    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 Will this code extract 1 byte from fi... pkmurali CLIST & REXX 8 Sat Nov 10, 2018 11:13 pm
No new posts Error reading file in REXX module ashek15 CLIST & REXX 3 Wed Oct 24, 2018 4:50 am
No new posts Convert VB file to FB plus special fo... cz016m SYNCSORT 15 Fri Oct 19, 2018 7:26 pm
No new posts Picking up the latest PS file pema_yozer JCL & VSAM 8 Thu Oct 11, 2018 12:26 pm
No new posts Process only last key record in a fil... Naveen.katkuri24 DFSORT/ICETOOL 8 Tue Oct 09, 2018 9:39 am

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