Your Browser is not longer supported

Please use Google Chrome, Mozilla Firefox or Microsoft Edge to view the page correctly
Loading...

{{viewport.spaceProperty.prod}}

Example with SDF statements

&pagelevel(5)&pagelevel

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).

/modify-msg-attributes task-language=e ——————————————————————————————  (1)
/ start-imon input-interface=*sdf ————————————————————————————————————  (2)
%  IMOLOAD Program 'IMON-TU', version 'V03.4A00' of '2021-02-22' loaded from

file :I29A:$TSOS.SYSLNK.IMON-BAS.034.TU

%  IMOCOPY Copyright (C) Fujitsu Technology Solutions 2021 All Rights

Reserved

(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.

//modify-imon-options
      sci=*std, work-file-location=$syssag., reference-file=*std   ————  (3)
// install-units —————————————————————————————————————————————————————  (4)
      unit-name=*from-solis2-delivery( ———————————————————————————————  (5)
         package-name= <package-name> , user-code=sol2p,

         distribution-medium=*library,
         supply-units=*all),   ————————————————————————————————————————  (6)
      old-file-saving=*with-lms,    ————————————————————————————————————  (7)
      work-file-deleting=*no   ————————————————————————————————————————  (8)

(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:

Package name:

<package-name>

Customer ID:

SOL2P

Delivery medium:

Library

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]:

%  ARC0002 STATEMENT ACCEPTED. ARCHIVE SEQUENCE NUMBER 'A.100509.152557',
VERSION '12.0C00'     ———————————————————————————————————————————————  (9)
%  ARC0033 ARCHIVE SUBTASK TSN '0190' GENERATED
%  ARC0002 STATEMENT ACCEPTED. ARCHIVE SEQUENCE NUMBER 'A.100509.152610',
VERSION '12.0C00'
%  ARC0033 ARCHIVE SUBTASK TSN '0191' GENERATED
%  JMS0066 JOB 'IMON' ACCEPTED ON 21-04-09 AT 15:27, TSN = 0192

%  JMS0066 JOB 'IMON' ACCEPTED ON 21-04-09 AT 15:27, TSN = 0193   ——— (10)
Job ':I29A:$SYSSAG. <package-name>.APR91527162021 .IE' is being generated. '5'
supply units have been selected   ——————————————————————————————————— (11)
Generation of  :I29A:$SYSSAG.<package-name>.APR91527162021.IE  startet:
Generation of FSTAT-RENAME commands...
Generation of SAVE-FILES commands...
Generation of RESERVE-FILE commands...
Generation of IMPORT-FILE commands...
Generation of UPDATE-CATALOG-ENTRY commands...
Generation of library processing commands...
Generation of ADD-INSTALLATION-UNITS statements...
Generation of reference file...
SYSSII files processing started
Generation of ACTIVATE-UNIT commands for supply units:
  EDT             17.0   D30
  OPENFT          12.1   C10
  OPENFT-CR       12.1   B10
  PERCON          02.9   C00
  SORT            08.0   A30
Job ':I29A:$SYSSAG. <package-name>.APR91527162021 .IE' has been generated and
entered  ———————————————————————————————————————————————————————————— (12)
// end ——————————————————————————————————————————————————————————————— (13)

(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:

  • five supply units were selected for installation

  • various processing steps must be generated

  • activation of the listed supply units is initiated.

(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.

/show-job-status *job(install)   ———————————————————————————————————— (14)
TSN:     0194       TYPE:    2 BATCHF   NOW:     2021-04-09.152755
JOBNAME: INSTALL    PRI:     9 210      SPOOLIN: 2021-04-09.1527
USERID:  TSOS       JCLASS:  JCBTSOS    LOGON:   2021-04-09.1527
ACCNB:   ADMINSTR   CPU-MAX: NTL        CPU-USED:000003.2317
REPEAT:  NO         RERUN:   NO         FLUSH:   NO
MRSCAT:             HOLD:    NO         START:   SOON
TID:     00020066   UNP/Q#:    17/004
CMD:     EXECUTE                       SIZE:        70
PROG:    :I29A:$TSOS.SYSLNK.ARCHIVE.120(ARCHIVE,120,L)
ORIGFILE::I29A:$SYSSAG. <package-name>.APR91527162021 .IE
CMD-FILE::I29A:$TSOS.S.E.0194.2021-04-09.15.27.17
MONJV:   *NONE
/show-job-status *tsn(0194)   ——————————————————————————————————————— (15)
%  EXC0755 INFORMATION ON TASK WITH TSN '0194' CANNOT BE GIVEN
/show-file-attributes $syssag.   ———————————————————————————————————— (16)
        48 :I29A:$SYSSAG.A.SOLIS.B.<package-name>.SOL2P
     15744 :I29A:$SYSSAG.IMON.SAVE.LIB.<package-name>.SOL2P
         9 :I29A:$SYSSAG.RMS.OPT.ADM
        54 :I29A:$SYSSAG.RMS.OPT.DOC
       327 :I29A:$SYSSAG.SOLIS.LMSCONV
        24 :I29A:$SYSSAG.SOLLIB.IMON.PBD
        24 :I29A:$SYSSAG.SOLLIB.IMON.SYSSII
       420 :I29A:$SYSSAG.SOLLIB.IMON.020
      3939 :I29A:$SYSSAG.SOLLIB.SOLIS2.050
      3939 :I29A:$SYSSAG.SOLLIB.SOLIS2.050.RMS.071
       495 :I29A:$SYSSAG.SOLPAR.IMON.034.GEN
      1596 :I29A:$SYSSAG.SOLPAR.SOLIS2.050.AUSGEN
        72 :I29A:$SYSSAG.SOLPAR.SOLIS2.050.FMSG
       306 :I29A:$SYSSAG.SOLPRG.SOLIS2.050.GEN
         3 :I29A:$SYSSAG.SYSREP.EDT.170
        12 :I29A:$SYSSAG.SYSREP.OPENFT.121
         3 :I29A:$SYSSAG.SYSREP.PERCON.029
        12 :I29A:$SYSSAG.SYSREP.SORT.080
         6 :I29A:$SYSSAG.<package-name>.DP
       303 :I29A:$SYSSAG.<package-name>.IC
         9 :I29A:$SYSSAG.<package-name>.APR91450142010.DP
         6 :I29A:$SYSSAG.<package-name>.APR91450162010.IA
        99 :I29A:$SYSSAG.<package-name>.APR91450162010.IE
        15 :I29A:$SYSSAG.<package-name>.APR91450162010.II
       210 :I29A:$SYSSAG.<package-name>.APR91450162010.IL
         9 :I29A:$SYSSAG.<package-name>.APR91450162010.IP
        30 :I29A:$SYSSAG.<package-name>.APR91450162010.IR
         3 :I29A:$SYSSAG.<package-name>.APR91450162010.I0
       456 :I29A:$SYSSAG.<package-name>.APR91450162010.SCI
       144 :I29A:$SYSSAG.<package-name>.APR91450162010.SCI.GPN
        12 :I29A:$SYSSAG.<package-name>.RETURN.LETTER
        96 :I29A:$SYSSAG.<package-name>.SOL2P.DOC
:I29A: PUBLIC:     32 FILES RES=     28735 FRE=     2403 REL=     2346 PAGES

(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 EXC0755, i.e. the task is terminated.

(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 (IMO2021) shows that the installation was terminated normally.

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.

/start-imon input-interface=*sdf ———————————————————————————————————— (18)
%  IMOLOAD Program 'IMON-TU', version 'V03.4A00' of '2021-02-22' loaded from
file :I29A:$TSOS.SYSLNK.IMON-BAS.034.TU
%  IMOCOPY Copyright (C) Fujitsu Technology Solutions 2021 All Rights
Reserved
//show-packages package-name= <package-name> ,user-code=sol2p,
     inf=*par(supply-units=*yes,report-level=*minimum)  ————————————— (19)
      SCI Name = :I29A:$TSOS.SYS.IMON.SCI
=============================================================================
Package Name                   User Code
  Supply Unit Name                 Version        Status
-----------------------------------------------------------------------------
<package-name>                 SOL2P
  EDT                              17.0D30        Installed
  OPENFT                           12.1C10        Installed
  OPENFT-CR                        12.1B10        Installed
  PERCON                           02.9C00        Installed
  SORT                             08.0A30        Installed
  (5 units)
//end  —————————————————————————————————————————————————————————————— (20)

(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.