View previous topic :: View next topic
|
Author |
Message |
yuvan
New User
Joined: 10 Jan 2006 Posts: 23 Location: India
|
|
|
|
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 |
|
|
Bill Woodger
Moderator Emeritus
Joined: 09 Mar 2011 Posts: 7309 Location: Inside the Matrix
|
|
|
|
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 |
|
|
|