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 Inefficient BUILD - VB records paddin... Daniel Prosser SYNCSORT 9 Thu Dec 14, 2017 3:52 pm
No new posts ISSUE IN copying Sequential file reco... thesumitk JCL & VSAM 2 Wed Dec 13, 2017 3:07 pm
No new posts Merging 2 records at multiple rows wi... Bijesh DFSORT/ICETOOL 2 Wed Dec 06, 2017 1:50 am
No new posts File Tailoring -- Temporary dataset i... samzee71 CLIST & REXX 3 Fri Dec 01, 2017 3:12 am
No new posts Rexx - File tailoring samzee71 CLIST & REXX 10 Thu Nov 30, 2017 10:47 pm

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