Joined: 23 Oct 2010 Posts: 106 Location: Chennai,India.
Posted: Mon Mar 28, 2011 5:58 pm Post subject: Help-Eliminating some extra character getting printed
I am suppose to create a report using easytrieve. i have completed with logic and all. But in the end of program, i am geeting some extra characters printed along with the actual data in the first column,
1. In each empty line(i suppose to print), there is a - in the first column.
2. there is some TITLE statementss and one LINE statement, in each line statement there is a 0 (zero) getting printed in the first column.
i need to eliminate those highlighted characters. This is my first program in easytrieve i may unaware of this. Please help me out..[/b]
Report part of my coding is,
REPORT REPORT1 LINESIZE 132 PRINTER OUTPUT NOADJUST -
NODATE PAGESIZE 52
CONTROL IBD, OFF-ID, RR RENUM NOPRINT
TITLE 1 COL 1 'REPORT ID: xxxxxxxx' +
COL 46 'INVESTMENT OBJECTIVE CHANGES - WEEKLY' +
COL 91 'DATE: ' COL 97 WS-GED-TD
TITLE 2 COL 46 '--------------------------------------'
TITLE 3 COL 1 'IBD: ' COL 6 IBD +
COL 13 'OFF: ' COL 18 OFF-ID +
COL 24 'RR : ' COL 29 RR
LINE COL 1 WS-ACCOUNT-NUMBER +
COL 11 WS-TYPE +
COL 16 WS-OPEN-DATE +
COL 27 WS-REGISTRATION-ARR +
COL 60 WS-INVEST-OBJ-VALUE +
COL 91 WS-AUDIT-TIME-STAMP +
COL 113 WS-ACTION +
COL 121 WS-UPDT-ID
END _________________ Guru:-)
I don't quite get what you want. You're creating a report, but you want to remove all of the important report formatting and printing code? Aren't you planning to either print this report, or at least present it to the end users in the same manner as a printed report?
Anyway, I don't know Easyrieve, but my guess is that you wouldn't use that REPORT function if you don't want printer-ready report output.
I wouldn't consider the ASA Carriage Control Characters to be "garbage", but I did take a look at a Easytrieve Guide and I didn't see any option provided to suppress or eliminate those characters. So, I guess your options are to:
- Keep them.
- Not use Easytrieve.
- Pass the report output through a SORT job step and strip off the entire first byte of data.
You cannot post new topics in this forum You cannot reply to topics in this forum You cannot edit your posts in this forum You cannot delete your posts in this forum You cannot vote in polls in this forum