Portal | Manuals | References | Downloads | Info | Programs | JCLs | Master the Mainframes
IBM Mainframe Computers Forums Index
 
Register
 
IBM Mainframe Computers Forums Index Mainframe: Search IBM Mainframe Forum: FAQ Memberlist Usergroups 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 SORTJOIN - Copy Matched and Unmatched... Steve Ironmonger DFSORT/ICETOOL 5 Tue Jan 17, 2017 4:26 pm
No new posts Copy RECFM =VB TO FB file with RECL =... sahil41352 DFSORT/ICETOOL 3 Wed Dec 28, 2016 11:29 pm
No new posts Removing Duplicates based on certain ... chandracdac DFSORT/ICETOOL 8 Fri Dec 09, 2016 4:40 am
No new posts Add PD field from 2nd file to PD in 1st Sushant Garje DFSORT/ICETOOL 6 Thu Dec 01, 2016 4:32 pm
No new posts File Aid to File Manager conversion murali3955 IBM Tools 4 Thu Nov 24, 2016 3:41 pm


Facebook
Back to Top
 
Mainframe Wiki | Forum Rules | Bookmarks | Subscriptions | FAQ | Tutorials | Contact Us