Changes information associated with a startup file in the startup database. Requires read (R) and write (W) access to the startup database. Format STARTUP MODIFY FILE filespec
1 – Parameters
FILE Modifies a record in the startup database. SYSMAN modifies STARTUP$STARTUP_LAYERED by default. filespec Selects a startup file for modification. Wildcard characters are accepted.
2 – Qualifiers
2.1 /CONFIRM
/CONFIRM /NOCONFIRM (default) Controls whether the STARTUP MODIFY command displays the file specification of each file before modifying its startup characteristics in the startup data file and requests you to confirm that the file characteristics be modified. If you specify /CONFIRM, you must respond to the prompt with a Y (Yes) or a T (True) and press Return before the file is modified. If you enter anything else, such as N or No, the requested file is not modified.
2.2 /LOG
/LOG NOLOG (default) Controls whether the STARTUP MODIFY command displays the file specification of each file after its startup characteristics have been modified.
2.3 /MODE
/MODE=mode Changes the mode of execution for a startup file. Valid modes include DIRECT, SPAWN, BATCH, or ANY.
2.4 /NAME
/NAME=filespec Changes the name of the startup file. The file must reside in SYS$STARTUP.
2.5 /PARAMETER
/PARAMETER=(P1:arg1,P2:arg2,...,P8:arg8) Changes the parameters that are to be passed to the file during startup. Parameters that are omitted receive the default parameters defined by the system parameter STARTUP_Pn. If STARTUP_Pn is blank, "FULL" is used as parameter 1 (P1) and is passed by STARTUP.COM to each startup component file. If you want a blank P1 parameter given to a specific component file, use the command: SYSMAN> STARTUP MODIFY FILE component.com/PARAM=P1:""
2.6 /PHASE
/PHASE=phase-name Selects startup files for modification based on the phase in which they run. Valid phases include LPBEGIN, LPMAIN, LPBETA, and END. LPMAIN is the default.
3 – Description
The STARTUP MODIFY command edits startup information associated with components in the startup database. For example, the command can rename a file or change the parameters that are passed to a file during startup. You can select a group of files for modification based on the phase in which they run.
4 – Example
SYSMAN> STARTUP MODIFY FILE DECSET$ENVMGR_STARTUP.COM - _SYSMAN> /PARAM=(P3:TRUE,P4:FALSE) /CONFIRM This command changes two startup parameters for the command procedure DECSET$ENVMGR_STARTUP.COM.