book
Article ID: 192398
calendar_today
Updated On:
Issue/Introduction
Though the RMODBASE utility BLOAD loads banners into a Deliver database, the client wants to know if there is a way to list out the banners or edit and delete them.
In an accidental process, many banners were added to the database in question.
Resolution
As the client had many extraneous banners, the following was suggested:
. For a library with a smaller number of banners, see if there is a Deliver CVDED133 banner library, which contains the banners as sent with the product.
. Also, see if there is a Deliver CVDED133 library, from an earlier release, which would not have the extraneous banners.
The following canned program will list the banner page members:
//XXXXXXXX JOB ...
//RMORPT EXEC PGM=RMORPT,PARM='DLVR_HLQ' <=== MODIFY DB NAME
//STEPLIB DD DISP=SHR,DSN=DLVR.CVDELOAD <=== MODIFY, IF USED
//SYSPRINT DD SYSOUT=*
//SYSIN DD *
REPORT 08
/*
//
There are no methods for editing banners, other than finding that member in the CVDED133 library, and editing it there.
Note: If there are any changes made to any banners, you would need to run RMODBASE BLOAD.
There are two methods of deleting banners from a database:
. Using command "DISP B, at the Deliver Primary panel, will bring up a list of the
banners on the database.
. . You can use a "D" line command, to delete the banner.
. . Note: May require confirmation for actual delete.
. Run RMODBASE DELBAN:
//XXXXXXXX JOB ...
//RMODBASE EXEC PGM=RMODBASE,PARM='dlvr_hlq' <=== Modify DB name
//STEPLIB DD DISP=SHR,DSN=DLVR.CVDELOAD <=== Modify, if used
//SYSPRINT DD SYSOUT=*
//SYSIN DD *
DELBAN BANNER_ID
/*
//
. . Each banner to be deleted requires its own DELBAN statement.
. . Note: The BANNER_ID cannot be wildcarded, as it needs to be defined for each banner.
. . The banner will be on the database, until it is deleted (using something from above).
. . A BLOAD will either replace a changed banner or add a new banner, and will never delete or omit any banners.