|
View previous topic :: View next topic
|
| Author |
Message |
VAIDHI
New User
Joined: 14 Aug 2003 Posts: 5
|
|
|
|
Hi Team,
In Before-Break proc I'm not able to use DISPLAY statement to route the output to a a file.
I'm getting below error
*******B188 FIELD NAME REQUIRED - RAWRPT1
The DISPLAY statement i used comes below
BEFORE-BREAK. PROC
DISPLAY RAWRPT1(File name) AVERAGE(field name) MAXI(field name)
Easytrieve does not recognizes the "file name" when I use it in befor-break proc.
But when I use DISPLAY FILENAME FILEDNAMES elsewhere( In job statement etc) it writing into output file.
Thanks,
Vaidhi |
|
| Back to top |
|
 |
dick scherrer
Moderator Emeritus

Joined: 23 Nov 2006 Posts: 19243 Location: Inside the Matrix
|
|
|
|
Hello,
Please post the file definition, the display that works correctly, and the display that fails (as well as several lines of code before and after the displays).
When we can see more, we may be able to offer a suggestion. |
|
| Back to top |
|
 |
G-Johnson
New User
Joined: 12 Mar 2007 Posts: 20 Location: USA
|
|
|
|
| You should try and define (1 of) your reports in the JCL as an output file. |
|
| Back to top |
|
 |
|
|