Previous Topic: The Deny Package ActionNext Topic: The Execute Package Action


Deny Package Syntax

►►─ DENY PACkage ─ package-id ─┬───────────────────────────────────────┬─ . ───►◄
                               └─ OPTion ─┬──────────────────────────┬─┘
                                          │ ┌─ , ──────────────────┐ │
                                          └─▼─ NOTE=('note-text') ─┴─┘

DENY PACKAGE package-id

The DENY PACKAGE clause identifies the package you wish to deny. You must use a fully specified package ID.

OPTIONS

OPTION clauses allow you to further specify package actions.

NOTES-You can use the NOTES clause to add remarks to the package definition. Enclose the note text in either single or double quotation marks. If you use multiple text lines, enclose each text line in quotation marks, and separate by commas. You can specify up to 8 text lines of up to 60 characters each. The text replaces any text that is already associated with the package.

Example: Deny Package SCL

The following is an example of DENY PACKAGE SCL. The SCL denies the package called PAYROLLPKG01 and replaces any package notes associated with the package.

DENY PACKAGE PAYROLLPKG01
  	OPTIONS NOTES=('THE PACKAGE WAS DENIED BECAUSE ALL OF THE DOC- ',
'UMENTATION WAS NOT INCLUDED IN THE PACKAGE.',
'NOTE: THESE NOTES WILL REPLACE ANY EXISTING',
'PACKAGE NOTES.').