IBM Mainframe Forum Index
 
Log In
 
IBM Mainframe Forum Index Mainframe: Search IBM Mainframe Forum: FAQ Register
 

Discarded records to be displayed in the report file.


IBM Mainframe Forums -> JCL & VSAM
Post new topic   Reply to topic
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
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
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 View Bookmarks
All times are GMT + 6 Hours
Forum Index -> JCL & VSAM

 


Similar Topics
Topic Forum Replies
No new posts FTP VB File from Mainframe retaining ... JCL & VSAM 4
No new posts Extract the file name from another fi... DFSORT/ICETOOL 6
No new posts How to split large record length file... DFSORT/ICETOOL 10
No new posts Extracting Variable decimal numbers f... DFSORT/ICETOOL 17
No new posts SFTP Issue - destination file record ... All Other Mainframe Topics 2
Search our Forums:

Back to Top