View - How can you requeue a sysout to a different msgclass after being loaded into the View database?
search cancel

View - How can you requeue a sysout to a different msgclass after being loaded into the View database?

book

Article ID: 229960

calendar_today

Updated On:

Products

View

Issue/Introduction

We are trying to requeue processed reports to a different MSGCLASS after being loaded into the View database. Is this possible and what needs to be done to achieve this?

Environment

Release : View 12.2

Resolution

As the reports in question were collected with the View SARSTC task, run each report through SARBCH /LOAD, to send the report to a dataset:

//XXXXXXXX JOB ...                                                
//SARBCH   EXEC PGM=SARBCH,PARM='VIEW_HLQ'  <=== MODIFY DB NAME   
//STEPLIB  DD  DISP=SHR,DSN=VIEW.CVDELOAD     <=== MODIFY, IF USED
//SYSPRINT DD  SYSOUT=*                                           
//REPORT   DD   SYSOUT=*                                          
//RPTOUT01 DD  DSN=XXXXXX.XXXXXX.RPTOUT01,                        
//             DISP=(,CATLG,DELETE),                              
//             UNIT=XXXX,VOL=SER=YYYYYY,                          
//             DCB=(RECFM=VB,LRECL=32756,BLKSIZE=32760),          
//             SPACE=(CYL,(NNN,NNN),RLSE)                         
//SYSIN    DD   *                                                 
/PRINT ID=XXXXXXXXXXXX GEN=NNNN SEQ=NNNN DDNAME=RPTOUT01 BANNER=*   
/*                                                                
//  

Then, run the dataset through IEBGENER, with output of the desired View criteria, whereas the name of the IEBGENER job is the name of the report.