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

Easytrieve - Report Generation - Space in outfile


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

New User


Joined: 10 Jan 2006
Posts: 23
Location: India

PostPosted: Wed Sep 18, 2013 11:23 am
Reply with quote

Hi Team,
My requirement is to generate a report from a input file which Lrecl - 45 and when use the belwo code , I get report in below format.

Code :

REPORT REPORTB PRINTER REPORTB LINESIZE 100 NOHEADING NOPAGE NODATE
LINE 1 DELIM +
-3 IN-GACY +
-3 DELIM +
-3 IN-SER +
-3 DELIM +

Output file

1 |040302|3|08/16/2013
|040302|3|09/06/2013

This file has 1 as carriage control character and 18 bytes space before the record.
Is there anyway we can avoid the space and carrige control charater.

Thanks
Ra
Back to top
View user's profile Send private message
Bill Woodger

Moderator Emeritus


Joined: 09 Mar 2011
Posts: 7309
Location: Inside the Matrix

PostPosted: Wed Sep 18, 2013 11:29 am
Reply with quote

You are not using any REPORT features, so

Code:
PUT  DELIM +
-3 IN-GACY +
-3 DELIM +
-3 IN-SER +
-3 DELIM +
...


in place of PRINT
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 Replace each space in cobol string wi... COBOL Programming 3
No new posts DFHPI1008 JSON generation failed COBOL Programming 0
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 Started task using a generation dataset JCL & VSAM 7
Search our Forums:

Back to Top