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
This topic is locked: you cannot edit posts or make replies. Fetching data from BAI File arunsoods JCL & VSAM 1 Wed Jul 19, 2017 4:28 pm
No new posts Write out NODUPS but just from one file Jay Villaverde DFSORT/ICETOOL 8 Fri Jul 14, 2017 12:44 am
No new posts How to add header with Date(YYMMDD) i... Rajan Moorthy DFSORT/ICETOOL 2 Thu Jul 06, 2017 11:44 pm
No new posts How to generate a new unique Input fi... for1ranjith CLIST & REXX 11 Sat Jul 01, 2017 12:09 pm
No new posts Writing a file using online program grvtomar PL/I & Assembler 3 Fri Jun 30, 2017 1:06 pm


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