View - Query Regarding Annotations
search cancel

View - Query Regarding Annotations

book

Article ID: 234368

calendar_today

Updated On:

Products

View

Issue/Introduction

If I have updated sysouts in View with some annotations, is it possible to put those annotations to a report or dataset?

Environment

Release : 14.0

Component :

Resolution

To create a report to see annotations associated with View reports, the View program ANNORPT can be used.

ANNORPT occurs via the assembly of the CVDEOPTN(SARSAMA) program. 

Assembly and link-editing can occur with using either CVDEJCL(BRMSSAMX) (via SMP/E) or CVDEJCL(BRMJSAMX)
(non-SMP/E). 

Once assembled and linked, the following JCL can be used to run the ANNORPT program:

 //XXXXXXXX JOB ...
 //STEP1   EXEC PGM=ANNORPT,PARM='view_hlq'   <=== Modify DB name
 //STEPLIB  DD DISP=SHR,DSN=VIEW.CVDELOAD    <=== Modify, if used
 //SYSPRINT DD SYSOUT=*                             
 //SYSIN    DD *                                    
 /LIST ID=reportid|reportid*|*                      
       [ARCHDATE=yyyymmdd[-yyyymmdd]]               
       [ANNODATE=yyyymmdd[-yyyymmdd]]               
 /*                                                 
 //

 where:

 reportid  The Report Id whose Annontatio/Bookmarks are to be printed.         
           Multiple control cards may be included.                                
           The ReportId may be enclosed in quotes and single quotes must 
           be coded as two single quotes.   
                                                          
 ARCHDATE  A report date or date range.                    
                                                          
 ANNODATE  An annotation or bookmark on this date or date range.