Hi all,
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.
the output look like this
1REPORT ID: xxxxxxxx
IBD: C01 OFF: CT2 RR
-
ACCOUNT # TYPE OPEN-DATE
--------- ---- ----------
0ABCDEFGHI INDV 2011-01-18
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
Help-Eliminating some extra character getting printed
Moderators: DikDude, Moderator Group
Help-Eliminating some extra character getting printed
Guru:-)
You're never fully dressed without a smile
You're never fully dressed without a smile
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.
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.
- Keep them.
- Not use Easytrieve.
- Pass the report output through a SORT job step and strip off the entire first byte of data.
FREE TUTORIALS
Tutorials
Free tutorials from mainframegurukul
- JCL Tutorial
Covers all important JCL concepts. - Cobol Tutorial
This tutorials covers all Cobol Topics from STRING to COMP-3. - DB2 Tutorial
DB2 Tutorial focuses on DB2 COBOL Programming. - SORT Tutorial
This Tutorial covers all important aspects of DFSORT with examples - CICS Tutorial
This CICS tutorial covers CICS concepts and CICS Basics, CICS COBOL Programming.
Interview
Mainframe Interview questions
- Cobol Interview Questions
50+ Interview Questions - JCL Interview Questions
50+ Interview Questions - DB2 Interview Questions
100+ Interview Questions - CICS Interview Questions
70+ Interview Questions - VSAM Interview Questions
27 Interview Questions
Other References
Mainframe Tools and others
- XPEDITER Reference
Explains how we can debug a program - FILEAID Reference
Explains how to browse , edit and delete datasets - Change Man Reference
Quick Start tutorial on Changeman - Abend Reference
Important Abend codes explained - FaceBook Page
MainframeGurukul FaceBook Page - LinkedIn Page
MainframeGurkul Linkedin Page