Difference between revisions of "SYSCMDUSNO"

From MidrangeWiki
Jump to: navigation, search
(Here is the Source Code)
(more coming)
Line 13: Line 13:
  
 
Note that there is a ceiling on how many scenarios you can put in one picture this way, so make your selections wise ones.  Of course you can always have different menu selections for different kinds of scenarios that interest you.
 
Note that there is a ceiling on how many scenarios you can put in one picture this way, so make your selections wise ones.  Of course you can always have different menu selections for different kinds of scenarios that interest you.
 +
 +
=== Naming Conventions Clarification ===
  
 
== Here is the Source Code ==
 
== Here is the Source Code ==

Revision as of 05:28, 26 May 2005


Discussion of the Source Code

This software did NOT come with BPCS or any other packaged software. BPCS comes with a Menu Generator where we can add our own CLP and other programs to be options from these menus.

Most sites need to have menu(s) for IT users for easy access to into about what's doing on our system that we ought to know about.

We can DSPLOG then F4 but there is grave risk of drowning in information we not interested in, thus as we identify those entries in the log of greatest interest to us, we can place them in a program such as this. Remember that when you are in DSPLOG or a sub-set of it like this example, you can cursor on any line and F1 for more info, including the message # that this kind of program needs to know to be included.

This CLP/400 program checks the System Log for events related to Security problems; when was the last successful backup; File Size Churning that may call for us to tweak the file dimension standards.

Note that there is a ceiling on how many scenarios you can put in one picture this way, so make your selections wise ones. Of course you can always have different menu selections for different kinds of scenarios that interest you.

Naming Conventions Clarification

Here is the Source Code

/*********************************************************************/

/* */

/* Program SYSCMDUSNO from BPCS Menu */

/* */

/* Written by your pal Al Mac, then modified by a host of 400 Gurus */


/* */


/* Do DSPLOG vs. CPF2234 & other security oops */

/* and other serious stuff worth checking */

/* */

/*********************************************************************/

          PGM                                                        
                                                                      
             DSPLOG     PERIOD((*AVAIL *BEGIN)) MSGID(CPA1E01 +         
                      CPC1E1D CPS2356 CPC3707 CPD2609 CPD27EF +     
                     CPF0934 CPF0994 CPF0998 CPF1806 CPF2234 +     
                          CPF4058 CPF8192 CPF9E72 CPI1E23 CPI0964 +     
                   CPI2203 CPI1479 CPI5970 CPPEA13 MCH1604)                                                     

ENDPGM