Siva,
In looking closer at your posting, you wanted to remove "0" only on viewing by the client, but leave it there when printing? (with ODF?) if that is true, there is an exit (documented, we haven't used it) that allows you to massage the report PRIOR TO VIEWING. The "client preview exit".
The client preview exit can be used to add, remove, or reformat data before the
document is presented to the client. For example:
v Remove pages from the document, such as banner pages, title pages, all pages
but the summary page, and so on.
v Remove specific words, columns of data, or other information from the
document. That is, omit (“white out”) sensitive information such as salaries,
social security numbers, and birth dates.
v Add information to the document, for example, a summary page, data analysis
information, and Confidential or Copy statements.
v Reformat data contained in the document, for example, reorder the columns of
data.
Note:
1. The client preview exit is not called for all document retrievals. In particular, it
is not called for functions that use the so-called Bulk Retrieval method of
retrieving documents or for server printing. For example, running the ARSDOC
GET function without specifying the -n parameter performs a bulk retrieval,
and documents retrieved will not be presented to the client preview exit.
2. The client preview exit is not called for server printing.
3. If a request is made to retrieve a large object document, care should be taken to
make certain that the client preview exit does not remove any pages from the
document. The large object segment size and page navigation information are
based on the number of pages that existed when the document was loaded on
the server. Unexpected results may occur if this information is changed.
4. The client preview exit is enabled at the application level. The exit is invoked
only for the specified applications.
“Interface exit components” on page 214
“Format” on page 214
“General Description” on page 215
Server printing
arsuprep dll
Based on Application
- Remove pages
- Remove words
- Add information
- Reformat data
OnDemand
archive
C or COBOL source code
Document
in HFS
arsdoc get: bulk document retrieval
Single document retrieval
Figure 18. Overview of the client preview exit
©