Previous | Contents | Index |
This chapter describes creating an application enviroment manually.
When installed at the System or Turnkey level, SysWorks is normally
used to create application environments using the Application
Management Menu. This chapter also provides a guide to the actions
which SysWorks takes when performing such tasks.
11.1 Directories
To set up an application environments directory structure library manually, the following steps should be used. If SysWorks is installed at the Turnkey level or at the System level where it is used to manage the system, all these steps are executed as part of the Add an application or the Create an application's environment task.
$ DEFINE/SYSTEM/EXECUTIVE_MODE DISK_envnn device:[env_nn.] - _$ /TRANSLATION=(CONCEALED,TERMINAL) |
$ CREATE/DIRECTORY DISK_APPLnn:[appl] $ CREATE/DIRECTORY DISK_APPLnn:[appl.SRC] |
$ CREATE/DIRECTORY DISK_envnn:[appl] $ CREATE/DIRECTORY DISK_envnn:[appl.DAT] $ CREATE/DIRECTORY DISK_envnn:[appl.DOC] $ CREATE/DIRECTORY DISK_envnn:[appl.RUN] $ CREATE/DIRECTORY DISK_envnn:[appl.SFT] |
$ CREATE/DIRECTORY DISK_envnn:[appl.LIB] $ CREATE/DIRECTORY DISK_envnn:[appl.WRK] |
$ CREATE/DIRECTORY DISK_envnn:[appl.KIT] |
To set up a CMS library manually, the following steps should be used. If SysWorks is installed at the Turnkey level or at the System level where it is used to manage the system, steps 1 through 6 are executed as part of application environment setup.
$ CREATE/DIRECTORY DISK_APPLn:[appl.SRC.CMSLIB] |
$ CMS CREATE LIBRARY DISK_APPLn:[appl.SRC.CMSLIB]/NOREFERENCE - _$ "Appl common CMS library" |
$ cms CMS> CREATE CLASS appl_DEV "Development class" CMS> CREATE CLASS appl_DTST "Development testing class" CMS> CREATE CLASS appl_MNT "Maintenance class" CMS> CREATE CLASS appl_MTST "Maintenance testing class" |
$ CMS CREATE ELEMENT *.*/INPUT=DISK_DEV:[appl.WRK] "Initial version" |
$ CMS CREATE ELEMENT ENTER.COM_SRC- _$ /INPUT=SWRK_SFT_DIR:ENTER_APPL_ENV.TEMPLATE "Base procedure" $ CMS CREATE ELEMENT EXIT.COM_SRC- _$ /INPUT=SWRK_SFT_DIR:EXIT_APPL_ENV.TEMPLATE "Base procedure" $ CMS CREATE ELEMENT LOGICALS.COM_SRC- _$ /INPUT=SWRK_SFT_DIR:LOGICALS_APPL_ENV.TEMPLATE "Base procedure" |
$ COPY SWRK_SFT_DIR:ENTER_APPL_ENV.TEMPLATE appl_SFT_DIR:ENTER.COM $ COPY SWRK_SFT_DIR:EXIT_APPL_ENV.TEMPLATE appl_SFT_DIR:EXIT.COM $ COPY SWRK_SFT_DIR:LOGICALS_APPL_ENV.TEMPLATE appl_SFT_DIR:LOGICALS.COM |
$ CONTEXT APPLICATION appl DEV |
$ CMS INSERT GENERATION *.*/GENERATION=1 appl_DEV "Initial version" |
$ BUILD/BATCH/FROM_SOURCES |
$ COPY appl_SFT_DIR:ENTER.COM,EXIT.COM,LOGICALS.COM - _$ DISK_DTST:[appl.SFT] |
$ vsnctl trial Target environment [DTST]: Override CMS reservations (Yes/No) [No]: Build (Yes/No) [Yes]: From sources or work area (Source/Work) [Work]: Execution (Batch/Detached/Online/Subprocess) [Batch]: Batch queue [SYS$BATCH]: Execute after [NOW]: |
$ CONTEXT ENVIRONMENT DTST |
$ vsnctl release Test environment [DTST]: Version [V1.0]: Execution (Batch/Detached/Online/Subprocess) [Batch]: Batch queue [SYS$BATCH]: Execute after [NOW]: |
$ vsnctl split Version: V1.0 Development environment [DEV]: Build (Yes/No) [Yes]: Development testing environment [DTST]: Maintenance environment [MNT]: Build (Yes/No) [Yes]: Maintenance testing environment [MTST]: Keep existing maintenance version (Yes/No) [Yes]: Execution (Batch/Detached/Online/Subprocess) [Batch]: Batch queue [SYS$BATCH]: Execute after [NOW]: |
To grant access to a developer manually, the following steps should be used. If SysWorks is installed at the Turnkey level or at the System level where it is used to manage the system, all these steps are executed as part of the Grant a user access to an application task.
$ CREATE/DIRECTORY DISK_envnn:[appl.RUN.username] $ CREATE/DIRECTORY DISK_envnn:[appl.WRK.username] |
Index | Contents |