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
 
Forcing Easytrieve to produce report headings

 
Post new topic   Reply to topic    IBMMAINFRAMES.com Support Forums -> CA Products
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    Post subject: Forcing Easytrieve to produce report headings
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    Post subject: Re: Forcing Easytrieve to produce report headings
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    IBMMAINFRAMES.com Support Forums -> CA Products All times are GMT + 6 Hours
Page 1 of 1

 

Search our Forum:

Similar Topics
Topic Author Forum Replies Posted
No new posts UNIT=AFF for Easytrieve code gandikk JCL & VSAM 7 Wed Jul 12, 2017 11:42 pm
No new posts Report cost in CA-dispatch Nileshkul CA Products 3 Wed Jun 07, 2017 10:32 pm
No new posts READ A PACKED "NEGATIVE" FI... jdesouza CA Products 3 Tue May 02, 2017 11:43 pm
No new posts Splitting of single report to seperat... abdulrafi TSO/ISPF 7 Mon Mar 27, 2017 3:59 pm
No new posts Easytrieve report shalem CA Products 4 Sun Feb 26, 2017 9:08 am

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