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

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

The INTERFACE=*SDF command is used to start IMON with the SDF interface.

Alternatively, you can also start IMON in menu mode (in which case it is sufficient to enter the START-IMON command, as INTERFACE=*STD is the default). After the user has explicitly opened an SCI with the Open option in the File menu, he or she can then select the option 1 (Switch to SDF interface) in the Options menu.


//modify-imon-options
      sci=:6a0b:$tsos.sys.imon.sci,

     work-file-location=:6a0b:$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-remaining),————————————————————————————————  (6)
     target-system=*par( version=*current, ——————————————————————————  (7)
        pubset=*par(catid=6a0b,defluid=tsos)),———————————————————————  (8)
     old-file-saving=*with-lms, —————————————————————————————————————  (9)
     work-file-deleting=*no ————————————————————————————————————————— (10)


(3)

With the MODIFY-IMON-OPTIONS statement the foreign SCI (operand SCI=:6A0B:$TSOS.SYS.IMON.SCI) is set, the path $SYSSAG. is set for work files on the imported pubset (operand WORK-FILE-LOCATION=:6A0B:$SYSSAG.) and  the default reference file for the configuration check (operand REFERENCE-FILE=*STD) is set.

(4)

The default installation is then carried out using the INSTALL-UNITS statement.

(5)

The UNIT-NAME operand is used to specify the SOLIS2 delivery that is to be installed:

Package name:

<package-name>

User code:

SOL2P

Distribution medium:

Library

(6)

The operand SUPPLY-UNITS=*ALL-REMAINING is the default: It selects all not yet installed 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).

(7)

The installation is carried out for the current operating system version.

(8)

The catalog ID 6A0B and the current default system ID are specified for the imported pubset.

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 (as in the example in menu mode):

(9)

Files on the system that will be overwritten by new files of the same name should first be backed up to an LMS library. This library is called :6A0B:$SYSSAG.IMON.SAVE.LIB.<package-name>.SOL2P (cf. "Example in menu mode ").

(10)

The work files created by IMON are not to be deleted.

The statement is then executed using [DUE]:

%  ARC0002 ANWEISUNG ANGENOMMEN. ARCHIVE-FOLGENUMMER 'A.100512.131703', 
VERSION  '12.0C00'    ——————————————————————————————————————————————— (11) 
%  ARC0033 ARCHIVE-SUBTASK MIT TSN '0APN' ERZEUGT
%  ARC0002 ANWEISUNG ANGENOMMEN. ARCHIVE-FOLGENUMMER 'A.100512.131719', 
VERSION  '12.0C00'
%  ARC0033 ARCHIVE-SUBTASK MIT TSN '0APP' ERZEUGT
%  JMS0066 AUFTRAG 'IMON' ANGENOMMEN AM 21-04-12 UM 13:17, TSN = 0APQ (12) 
%  JMS0066 AUFTRAG 'IMON' ANGENOMMEN AM 21-04-12 UM 13:17, TSN = 0APR           

(11)

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.

(12)

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

Job ':6A0B:$SYSSAG.<package-name>.APR121318292021.IE' is being generated. '5'

supply units have been selected      ——————————————————————————————— (13)
Generation of  :6A0B:$SYSSAG.<package-name>.APR121318292021.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 ':6A0B:$SYSSAG.<package-name>.APR121318292021.IE' has been generated and

entered    ————————————————————————————————————————————————————————— (14)
//end —————————————————————————————————————————————————————————————— (15)

(13)

The :6A0B:$SYSSAG.<package-name>.APR121318292021.IE installation procedure will be generated:

  • Five supply units were selected for installation.

  • Various processing steps must be generated.

  • Activation of the listed supply units is generated.

(14)

The installation procedure is then fully generated and started automatically as a background procedure (task with the job name “INSTALL”).

(15)

IMON is terminated using the END statement.

The following SHOW commands are identical with those in the default installation on the home pubset. For space reasons, a detailed representation of the output was foregone as it contents differ from the home pubset only in the :6A0B: header of the imported pubset, if at all.

/show-job-status *job(install) —————————————————————————————————————— (16)

/show-job-status *tsn(0aps)  ———————————————————————————————————————— (17)

% EXC0755 INFORMATION ON TASK WITH TSN '0APS' CANNOT BE GIVEN

(16)

The SHOW-JOB-STATUS command is used to check whether the installation task is still running (see also "Example with SDF statements ").

(17)

Once the installation task has run, the SHOW-JOB-STATUS command query is quit with the message EXC0755, i.e. the task is terminated (see also "Example with SDF statements ").

/show-file-attributes :6a0b: $syssag. ———————————————————————————————— (18)

/show-file :6a0b: $syssag. <package-name> .ic —————————————————————————————— (19)

(18)

The SHOW-FILE-ATTRIBUTES command is used to display all files that were created under the work file ID (see also "Example with SDF statements ").

(19)

The SHOW-FILE command is used to output the contents of the log file together with the most important console messages (see also "Example with SDF statements ").

File name: :6A0B:$SYSSAG.<package-name>.IC

After scrolling to the file end, the last message logged (IMO2021) shows that the installation was terminated normally.

Note

If manual post-processing is necessary, console messages 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.

/start-imon input-interface=*sdf ———————————————————————————————————— (20)
//modify-imon-options software-inventory=:6a0b:$tsos.sys.imon.sci    (21)

//show-supply-units
      unit-name=*from-solis2-del(
     package= <package-name>,user-code=sol2p),

     inf=*par(report=*summary) —————————————————————————————————————— (22)
/end   —————————————————————————————————————————————————————————————— (23)

Once the installation procedure has run successfully, all supply units are registered in the SCI as installation units and the files of the products are stored on the system in the predefined depot location.

(20)

IMON is called once more.

(21)

The MODIFY-IMON-OPTIONS statement is used to define the foreign SCI.

(22)

The SHOW-SUPPLY-UNITS statements is used to display all supply units of the previously installed delivery (package name, customer code SOL2P) that are now installed in the SCI (see also "Example with SDF statements ").

(23)

IMON is terminated using the END statement.