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

Forcing Easytrieve to produce report headings


IBM Mainframe Forums -> CA Products
Post new topic   Reply to topic
View previous topic :: View next topic  
Author Message
ziggydog

New User


Joined: 15 Sep 2006
Posts: 1

PostPosted: Fri Sep 15, 2006 2:26 am
Reply with quote

Is there a way to force Easytrieve to always produce a report's headings, regardless of whether there was input for the report or not? This would be to ensure that a minimal report of the headings is available each processing day for the users to view.

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

Active User


Joined: 05 May 2006
Posts: 183
Location: Scotland

PostPosted: Mon Sep 18, 2006 7:01 pm
Reply with quote

I do not think you can do this when using automatic file processing as the code will not be processed when you have an empty file.

So I would suggest that you will have to use a NULL input and GET the file instead, you would have to allow for EOF on your first read and then only could you put out your header record.

However be careful, if you just 'PRINT' your REPORT and it refers to numeric fields the you will get a S0C7 if there is no data to refer to when the file is empty.

Suggest that you have a DISPLAY of the headers instead in this situation.
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 -> CA Products

 


Similar Topics
Topic Forum Replies
No new posts Need help on formatting a report DFSORT/ICETOOL 14
No new posts Creating Report using SORT DFSORT/ICETOOL 7
No new posts Ca7 long running jobs report All Other Mainframe Topics 1
No new posts Forcing a step to run (even if abended) JCL & VSAM 8
No new posts Report of batch jobs JCL & VSAM 1
Search our Forums:

Back to Top