User Tools

Site Tools


parsec_autogen.com_and_a_sample_execution

Differences

This shows you the differences between two versions of the page.

Link to this comparison view

Both sides previous revisionPrevious revision
Next revision
Previous revision
parsec_autogen.com_and_a_sample_execution [2021/09/16 21:55] mmacgregorparsec_autogen.com_and_a_sample_execution [2021/10/12 17:58] (current) mmacgregor
Line 1: Line 1:
 ====== Information ====== ====== Information ======
  
-The following document is a more user friendly method of using AUTOGEN.COM and being able to easily visualize the proposed changes. Errors may occur during the copy/paste of this document, so test it in a safe place before using it in production.+The following document is a more user friendly method of using AUTOGEN.COM
 +It will show you the original display that AUTOGEN generates, but also provide a table of information containing the parameters that are being recommended for change, the old value of the parameter, the new proposed value of the parameter, the difference between those values, and the default value of the procedure. 
 + 
 +Errors may occur during the copy/paste of this document, so test it in a safe place before using it in production.
  
 ====== Procedure ====== ====== Procedure ======
Line 8: Line 11:
 Create a command procedure with the following information: Create a command procedure with the following information:
  
-$! My_autogen.com+<code>$! parsec_autogen.com
 $! $!
-$! This procedure executesautogen.com and displays the report to the user+$! This procedure executes autogen.com and displays the report to the user
 $! Along with a list of changed parameters $! Along with a list of changed parameters
 $! If the system has been up 14 days or more, it will save feedback information $! If the system has been up 14 days or more, it will save feedback information
Line 79: Line 82:
 $ open /read in2 sys$scratch:params.inf_old $ open /read in2 sys$scratch:params.inf_old
 $ open /write out sys$scratch:params.inf_dif $ open /write out sys$scratch:params.inf_dif
-$ write out "Parameter name               Old value  New value Difference    Def +$ write out "Parameter name               Old value  New value Difference    Default"
-ault"+
 $next_diff: $next_diff:
 $ read in1 /end=done_diff rec1 $ read in1 /end=done_diff rec1
Line 98: Line 100:
 $       pold = f$edit (f$element (1, """", rec2), "trim") $       pold = f$edit (f$element (1, """", rec2), "trim")
 $       pold = f$extract (f$length(pold), 10, "          " + pold) $       pold = f$extract (f$length(pold), 10, "          " + pold)
-$       write out f$fao ("!24AS !10AS !10AS            !10AS", pname, pold, pnew +$       write out f$fao ("!24AS !10AS !10AS            !10AS", pname, pold, pnew, pdef)
-, pdef)+
 $ else $ else
 $       rec1 = f$edit (rec1, "compress") $       rec1 = f$edit (rec1, "compress")
Line 107: Line 108:
 $       pold = f$integer (f$element (1, " ", rec2)) $       pold = f$integer (f$element (1, " ", rec2))
 $       diff = f$fao ("!10SL", f$integer(pnew) - f$integer(pold)) $       diff = f$fao ("!10SL", f$integer(pnew) - f$integer(pold))
-$       write out f$fao ("!24AS !10UL !10UL !AS !10UL", pname, pold, pnew, diff, +$       write out f$fao ("!24AS !10UL !10UL !AS !10UL", pname, pold, pnew, diff,pdef)
-pdef)+
 $ endif $ endif
 $ goto next_diff $ goto next_diff
Line 156: Line 156:
 write sys$output "''f$getsyi("nodename")' has been up ''uptime'" write sys$output "''f$getsyi("nodename")' has been up ''uptime'"
 $ exit $ exit
-$ endsubroutine+$ endsubroutine</code>
  
 +====== Sample Run ======
      
 This is a sample run of the procedure: This is a sample run of the procedure:
- +<code>$ @parsec_autogen 
-  $ @PARSEC_AUTOGEN +You have sufficient privileges to continue.
- You have sufficient privileges to continue.+
  
  
Line 174: Line 174:
  
  
-@sys$update:autogen getdata setparams+@sys$update:autogen savparams setparams 
 +%AUTOGEN-I-BEGIN, SAVPARAMS phase is beginning. 
 +%AUTOGEN-I-FEEDBACK, Gathering feedback 
 +%AUTOGEN-I-NEWFILE, A new version of SYS$SYSTEM:AGEN$FEEDBACK.DAT 
 +        has been created. You may wish to purge this file. 
 +%AUTOGEN-I-END, SAVPARAMS phase has successfully completed.
 %AUTOGEN-I-BEGIN, GETDATA phase is beginning. %AUTOGEN-I-BEGIN, GETDATA phase is beginning.
 %AUTOGEN-I-NEWFILE, A new version of SYS$SYSTEM:PARAMS.DAT has been created. %AUTOGEN-I-NEWFILE, A new version of SYS$SYSTEM:PARAMS.DAT has been created.
Line 202: Line 207:
 Press <RETURN> to review reports Press <RETURN> to review reports
  
-  Parameter name            Old value  New value Difference    Default +Parameter name               Old value  New value Difference    Default 
-  GBLSECTIONS                    1620       1570        -50       1024 +MAXPROCESSCNT                   185        167        -18         32 
-  MAXPROCESSCNT                   997        797       -200         32 +PROCSECTCNT                     512        128       -384        128 
-  SYSMWCNT                      14918      13516      -1402       8192 +SYSMWCNT                       8601       8438       -163       8192 
-  NPAGEDYN                   28966912   27525120   -1441792    4194304 +NPAGEDYN                   33153024   31498240   -1654784    4194304 
-  NPAGEVIR                  149430272  149422080      -8192   16777216 +NPAGEVIR                  173146112  166166528   -6979584   16777216 
-  PAGEDYN                    12722176   11534336   -1187840    4194304 +PAGEDYN                     7340032    7200768    -139264    4194304 
-  MPW_LOLIMIT                    2985       2385       -600        256 +CHANNELCNT                     2560        512      -2048        512 
-  LOCKIDTBL                      3840       3636       -204       3840 +MPW_LOLIMIT                     549        495        -54        256 
-  RESHASHTBL                     4096      16384      12288         64 +LOCKIDTBL                     19918      17051      -2867       3840 
-  LOCKDIRWT                                  0         -1          0 +RESHASHTBL                    16384      32768      16384         64 
-  MSCP_SERVE_ALL                    4          2         -2          4 +LNMSHASHTBL                     512       1024        512        512 
-  STARTUP_P2                      PDC        VDC +BALSETCNT                       183        165        -18         30 
-  GH_EXEC_CODE                   4352       4096       -256       4096 +GBLPAGES                    4324845    4305741     -19104     131072 
-  GH_RES_CODE                    6570       5376      -1194       5120 +MPW_THRESH                     1098        990       -108         16 
-  GH_RES_DATA                     512        384       -128        512 +ACP_HDRCACHE                   1098        990       -108         36 
-  BALSETCNT                       995        795       -200         30 +ACP_QUOCACHE                    185        167        -18         64 
-  GBLPAGES                   25579391   25654822      75431     131072 +PIXSCAN                          18         16         -         1 
-  MPW_THRESH                     5970       4770      -1200         16 + **End-of-File** | PREV/NEXT=Scroll, INS/REM=Pan, SELECT=80/132, Q=Quit 
-  LGI_BRK_DISUSER                   1          0         -1          0 + 
-  PQL_DWSDEFAULT                68918      77278       8360      32768 + 
-  PQL_MWSDEFAULT                68918      77278       8360      16384 +SYS$SYSROOT:[SYSEXE]AGEN$PARAMS.REPORT;107     24 blocks     12-OCT-2021 11:03:0 
-  PQL_DWSQUOTA                 137836     154556      16720      65536 + 
-  ACP_QUOCACHE                    997        797       -200         64 +    Page file calculations: 
-  ACP_SYSACC                       29         23         -6          8 + 
-  PIXSCAN                          80         79         -         1 +        PAGEFILE information: 
-  **End-of-File** | PREV/NEXT=Scroll, INS/REM=Pan, SELECT=80/132, Q=Quit +        Feedback information. 
-  Do you wish to keep these changes [Y]?+           Old value was 4201700, New value is 4201700 
 +           Maximum observed usage: 0 
 +        Override Information - parameter calculation has been overridden. 
 +           The calculated value was 3986700.  The new value is 4201700. 
 +           PAGEFILE calculation has been set to current size by user. 
 +           PAGEFILE will not be modified. The file size is within 10%. 
 + 
 +    Swap file calculations: 
 + 
 +        SWAPFILE information: 
 +        Feedback information. 
 +           Old value was 100000, New value is 100000 
 +           Maximum observed usage: 0 
 +        Override Information - parameter calculation has been overridden. 
 +           The calculated value was 21400.  The new value is 100000. 
 +           SWAPFILE calculation has been set to current size by user. 
 +           SWAPFILE will not be modified. The file size is within 10%. 
 +Do you wish to keep these changes [Y]?  </code> 
 + 
 +NOTE: After the differences are displayed, you will need to hit ENTER to get the original AUTOGEN report. Otherwise the final section will not be displayed.
  
  
parsec_autogen.com_and_a_sample_execution.txt · Last modified: 2021/10/12 17:58 by mmacgregor

Donate Powered by PHP Valid HTML5 Valid CSS Driven by DokuWiki