In this example, the default installation on the home pubset illustrated in “Example in menu mode” ("Installation on the home pubset ") will be completed using SDF statements. The procedure and objective remain the same.
All menus and user input offered by IMON that have to do with
opening the SCI
defining the work file ID
opening the SOLIS2 delivery
confirming the supply units selected by IMON for installation
and specifying the target system can be realized here using two statements: MODIFY-IMON-OPTIONS and INSTALL-UNITS (see Points 3 through 8).
|
(1) | The MODIFY-MSG-ATTRIBUTES command is used to set English for message output and language-dependent menus, as in the menu mode example. |
(2) | IMON is started with the SDF interface by explicitly specifying INPUT-INTERFACE=*SDF. Alternatively, IMON can also be started in the menu mode (it is sufficient to enter the START-IMON command because INPUT-INTERFACE=*STD is the preset and switches to menu mode). After the user has explicitly opened the standard SCI with the Open option in the File menu, he or she can then select option 1 (Switch to SDF Interface) in the Options menu. |
|
(3) | The following statement is optional as the specified values correspond to the default setting: The MODIFY-IMON-OPTIONS statement is used to explicitly specify the standard SCI (operand SOFTWARE-INVENTORY=*STD), the $SYSSAG path on the home pubset (operand WORK-FILE-LOCATION=$SYSSAG) as the storage location for work files and the default reference file for the configuration check (Operand REFERENCE-FILE=*STD). | ||||||
(4) | The default installation is then carried out using the INSTALL-UNITS statement. The following operands are evaluated for this process: | ||||||
(5) | The UNIT-NAME operand specifies the SOLIS2 delivery to be installed:
The delivery is opened implicitly with REGISTRATION=*EXTEND. This means that IMON evaluates any entries existing in the SCI for this delivery and changes the entries of the supply units in the SUPPLY-UNITS operand. Entries are already present if the delivery has already been opened at least once (e.g. after printing the delivery documentation with PRINT-DOCUMENTATION). If all entries for this delivery in the SCI must be created first, the operand REGISTRATION=*REPLACE must be specified (see also "INSTALL-UNITS Install and register software "). | ||||||
(6) | The operand SUPPLY-UNITS=*ALL is the default: It selects all supply units for installation. You can check and confirm the selected supply units in a dialog box in menu mode by specifying SUPPLY-UNITS=*BY-DIALOG (see Example in menu mode). |
No further operands need to be specified for a default installation under the current operating system. The following non default specifications need to be set (cf. Example in menu mode):
(7) | Files on the system that will be overwritten by new files of the same name should first be backed up to an LMS library (cf. "Example in menu mode "). This library is called :I29A:$SYSSAG.IMON.SAVE.LIB.<package-name>.SOL2P |
(8) | The work files created by IMON are not to be deleted. The statement is then executed using [DUE]: |
|
(9) | IMON reads the MTC (via ARCHIVE), extracts files that are needed for the subsequent installation (e.g. product movement file, IMON and SOLIS2 program libraries), and registers the delivery in the SCI. |
(10) | IMON then transfers the delivery documentation to the standard documentation library, which is created if necessary, and starts a print job for the acknowledge form (using the “IMON” job name). |
(11) | The :I29A:$SYSSAG.<package-name>.APR91527162021.IE installation procedure is generated:
|
(12) | The installation procedure is then fully generated and started automatically as a background procedure (task with the job name “INSTALL”). |
(13) | IMON is terminated using the END statement. |
|
(14) | The SHOW-JOB-STATUS command is used to check whether the installation task is still running. |
(15) | Once the installation task has run, the SHOW-JOB-STATUS command query is quit with message |
(16) | The SHOW-FILE-ATTRIBUTES command is used to display all files that were created under the work file ID. |
/show-file $syssag.<package-name>.ic —————————————————————————————————————— (17)
21-04-10 15:27:19 IMO2019 INSTALLATION FUNCTION EXECUTED FOR PACKAGE '<packag 21-04-10 15:27:22 IMO2001 FSTAT-RENAME : analyse of target system 21-04-10 15:27:43 IMO2002 SAVE-OLD-FILES procedure generation 21-04-10 15:27:44 IMO2003 SAVE-OLD-FILES procedure call 21-04-10 15:28:03 IMO2004 RESERVE-FILE : preparation of target system 21-04-10 15:28:07 IMO2005 IMPORT-FILE : import-procedure generation 21-04-10 15:28:08 IMO2024 IMPORT-FILE : import-procedure call 21-04-10 15:29:32 IMO2006 UPDATE-CATALOG-ENTRY : set file attributes 21-04-10 15:29:45 IMO2007 Library processing 21-04-10 15:29:48 IMO2008 ADD-INSTALLATION-UNITS : register installation unit 21-04-10 15:30:01 IMO2015 Reference file generation 21-04-10 15:30:12 IMO2011 RMS-PROCESSING: Revision packet put into RMS Depot 21-04-10 15:30:21 IMO2016 Processing of delivered SYSSII files 21-04-10 15:30:27 IMO4009 SUPPLY UNIT 'EDT' '17.0' 'D30' PROCESSED 21-04-10 15:30:27 IMO2018 ACTIVATION PROCESS INITIATED FOR RELEASE UNIT: 'EDT 21-04-10 15:30:27 IMO2009 RMS-PROCESSING: Revision packet put into RMS depot 21-04-10 15:30:29 IMO4010 ACTIVATE-UNIT 'EDT' '17.0' 'D30' 21-04-10 15:30:32 IMO4009 SUPPLY UNIT 'OPENFT' '12.1' 'C10' PROCESSED 21-04-10 15:30:32 IMO2018 ACTIVATION PROCESS INITIATED FOR RELEASE UNIT: 'OPE 21-04-10 15:30:32 IMO2009 RMS-PROCESSING: Revision packet put into RMS depot 21-04-10 15:30:34 IMO4010 ACTIVATE-UNIT 'OPENFT' '12.1' 'C10' 21-04-10 15:30:40 IMO4009 SUPPLY UNIT 'OPENFT-CR' '12.1' 'B10' PROCESSED 21-04-10 15:30:40 IMO4009 SUPPLY UNIT 'PERCON' '02.9' 'C00' PROCESSED + S*SOF+ 1( 1)
21-04-10 15:30:40 IMO2018 ACTIVATION PROCESS INITIATED FOR RELEASE UNIT: 'PER 21-04-10 15:30:40 IMO2009 RMS-PROCESSING: Revision packet put into RMS depot 21-04-10 15:30:43 IMO4010 ACTIVATE-UNIT 'PERCON' '02.9' 'C00' 21-04-10 15:30:46 IMO4009 SUPPLY UNIT 'SORT' '08.0' 'A30' PROCESSED 21-04-10 15:30:46 IMO2018 ACTIVATION PROCESS INITIATED FOR RELEASE UNIT: 'SOR 21-04-10 15:30:46 IMO2009 RMS-PROCESSING: Revision packet put into RMS depot 21-04-10 15:30:50 IMO4010 ACTIVATE-UNIT 'SORT' '08.0' 'A30' 21-04-10 15:30:53 IMO2010 RMS-PROCESSING: loader generation 21-04-10 15:31:05 IMO2027 SSCM global processing 21-04-10 15:31:10 IMO2021 INSTALLATION NORMALLY TERMINATED FOR PACKAGE '<pack % SHO0301 WARNING: END OF FILE REACHED e S*SOF+ 24( 1)
(17) | The SHOW-FILE command outputs the contents of the log file together with the most important console messages (file name: :I29A:$SYSSAG.<package-name>.IC). After scrolling to the file end, the last message logged ( If manual post-processing is required, a console message to this effect will be displayed. The delivery information can tell you whether further postprocessing is required. It should be referred to once more in this context. |
You can also check the installation sequence on the console (or in the CONSLOG file) and in the installation log. (The name of the installation log in the example is:
:I29A:$SYSSAG.<package-name>.APR91527162021.IL).
After successful completion of the installation procedure, all supply units are registered in the SCI as installation units and the product files are installed in the stipulated storage location on the system.
|
(18) | IMON is called once more. |
(19) | All supply units of the previously installed delivery (package name <package-name>, customer ID SOL2P) that are now registered in the SCI are displayed with the SHOW-PACKAGES statement. Specification of the INFORMATION operand is optional in the example because the preset was used. The specification can be changed accordingly to request more detailed information. |
(20) | IMON is terminated using the END statement. |