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
 
Easytrieve - Report Generation - Space in outfile

 
Post new topic   Reply to topic    IBMMAINFRAMES.com Support Forums -> CA Products
View previous topic :: :: View next topic  
Author Message
yuvan

New User


Joined: 10 Jan 2006
Posts: 5
Location: India

PostPosted: Wed Sep 18, 2013 11:23 am    Post subject: Easytrieve - Report Generation - Space in outfile
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

DFSORT Moderator


Joined: 09 Mar 2011
Posts: 7314

PostPosted: Wed Sep 18, 2013 11:29 am    Post subject: Reply to: Easytrieve - Report Generation - Space in outfile
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    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 Writing multiple records into a CSV r... hiravibk DFSORT/ICETOOL 2 Wed Nov 07, 2018 2:35 pm
No new posts VSAM Space allocated and used space ... upendrasri JCL & VSAM 5 Tue Sep 04, 2018 4:29 pm
No new posts Converting SAS code to Cobol or Easyt... Ashish.Raghav All Other Mainframe Topics 6 Fri Jun 29, 2018 6:01 pm
No new posts SAS Work space - B37 abend santuece1 JCL & VSAM 15 Tue Jun 19, 2018 1:03 am
No new posts JCL to set Return code when Time Out ... vinu78 JCL & VSAM 6 Wed May 30, 2018 11:27 am

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