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
 
Discarded records to be displayed in the report file.

 
Post new topic   Reply to topic    IBMMAINFRAMES.com Support Forums -> JCL & VSAM
View previous topic :: :: View next topic  
Author Message
j_prameela2000

New User


Joined: 01 Jun 2005
Posts: 28
Location: Chennai

PostPosted: Wed Jun 07, 2006 8:24 pm    Post subject: Discarded records to be displayed in the report file.
Reply with quote

Hi,

I have to unload the records from image copies flat files (unloaded from DB2) into another flat file. In this case I also displaying the result in the report file i.e.
If Step1.abend
Call cobol program and display the report in the report file
end-if
If Step1.RC > 4
Call cobol program and display the report in the report file
end-if
If Step1.RC > 8
Call cobol program and display the report in the report file
end-if
The report will either show OK for return code 4, FAIL for return code 8 or ABEND for return code 12.

Here for return code 4 the job is executed successfully. Even if the records are discarded it will be showing as successful completion. But i want to display that particular table which has discarded records in the report as discarded instead of successful completion with return code 4. So please help me in finding the solution for this.

Thanks
Prameela
Back to top
View user's profile Send private message

IQofaGerbil

Active User


Joined: 05 May 2006
Posts: 183
Location: Scotland

PostPosted: Wed Jun 07, 2006 9:24 pm    Post subject: Re: Discarded records to be displayed in the report file.
Reply with quote

I think another attempt at explaining your problem, maybe with some examples , might help us help you.
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 -> JCL & VSAM All times are GMT + 6 Hours
Page 1 of 1

 

Search our Forum:

Similar Topics
Topic Author Forum Replies Posted
No new posts Compare yesterday's date to the one o... migusd SYNCSORT 8 Fri Sep 22, 2017 11:35 pm
No new posts Split 1 file into 10 output Files - S... Prasanth Kumar SYNCSORT 5 Sat Sep 16, 2017 12:02 am
No new posts BUILD OUTFIL based on condition other... balaji81_k DFSORT/ICETOOL 13 Fri Sep 08, 2017 11:06 pm
No new posts Skip file from delete pema_yozer All Other Mainframe Topics 3 Tue Aug 29, 2017 3:19 pm
No new posts Join records from 2 files with No Dup... Poha Eater DFSORT/ICETOOL 21 Sun Aug 27, 2017 10:35 pm

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