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

Part 1: Parking

/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 option 1 (Switch to SDF interface) in the Options menu.


//modify-imon-options
      sci=$parksw1.sys.imon-park.sci,
     work-file-location=$parksw1.work., —————————————————————————————  (3)
      reference-file=*std
//park-units   ——————————————————————————————————————————————————————  (4)
     unit-name=*from-solis2-delivery( ———————————————————————————————  (5)
         package-name= <package-name> , user-code=sol2p,
        distribution-medium=*solis2-volume(volume=qe6171,dev-type=tape-c4),
        supply-units=*by-dialog),    ————————————————————————————————  (6)
      old-file-saving=*with-lms,    ———————————————————————————————————  (7)
     file-location=$parksw1.  ———————————————————————————————————————  (8)

(3)

The MODIFY-IMON-OPTIONS statement is used to explicitly specify the park SCI (SOFTWARE-INVENTORY=$PARKSW1.SYS.IMON-PARK.SCI operand) and the PARKSW1 park ID, the WORK file name prefix (WORK-FILE-LOCATION= $PARKSW1.WORK. operand) for work files and the standard reference file for the configuration check (operand REFERENCE-FILE=*STD).

(4)

The park operation is then carried out using the PARK-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:

MTC of the type TAPE-C4 with the VSN QE6171

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)

You can check and confirm the selected supply units in a dialog box by specifying SUPPLY-UNITS=*BY-DIALOG:

IMON initially offers all of the supply units in the delivery for installation (corresponds to the default SUPPLY-UNITS=*ALL). In this example, the selection is confirmed unchanged with [DUE].

(7)

Files on the system that will be overwritten by files of the same name should first be backed up to an LMS library. This library is called:

:I29A:$PARKSW1.WORK.IMON.SAVE.LIB.<package-name>.SOL2P (cf. "Example in menu mode ").

(8)

The FILE-LOCATION=$PARKSW1. operand is used to specify that the files to be parked are to be stored on the home pubset under the user ID PARKSW1.

The statement is then executed using [DUE]:

%  IMO0951 Delivery with package name '<package-name>' and user code 'SOL2P' up 
to now not registered in SCI 
%  ARC0002 STATEMENT ACCEPTED. ARCHIVE SEQUENCE NUMBER 'A.100510.142243', 
VERSION '12.0C00'  ——————————————————————————————————————————————————  (9) 
%  ARC0033 ARCHIVE SUBTASK TSN '0218' GENERATED
%  ARC0002 STATEMENT ACCEPTED. ARCHIVE SEQUENCE NUMBER 'A.100510.142313', 
VERSION '12.0C00'
%  ARC0033 ARCHIVE SUBTASK TSN '0219' GENERATED
%  JMS0066 JOB 'IMON' ACCEPTED ON 21-04-10 AT 14:24, TSN = 0220
%  JMS0066 JOB 'IMON' ACCEPTED ON 21-04-10 AT 14:24, TSN = 0221  ———— (10) 
PLEASE ACKNOWLEDGE 

(9)

IMON reads the MTC (via ARCHIVE), extracts files that are needed for the subsequent installation (e.g. product movement file, IMON and SOLIS 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.


    IMON: SOLIS2 delivery: Package name: <package-name>  User code: SOL2P        
 ------------------------------------------------------------------------------ 
                                           Units     1 through     5 of     5   
                               SU selection                         More:       
               Unit name               Version      Corr state                  
 X EDT                                   17.0          D30
 X OPENFT                                12.1          C10
 X OPENFT-CR                             12.1          B10
 X PERCON                                02.9          C00
 X SORT                                  08.0          A30
                        *** End of SU selection ***                             
   
                                                                                
                                                                                
                                                                                
                                                                                
                                                                                
                                                                                
                                                                                
 ------------------------------------------------------------------------------ 
 Command ==>                                                                    
 F1=Help  F3=Exit  F5=Previous  F6=Next  F7=Backward  F8=Forward  F10=Menu ...  

(11)

(11)

IMON selects all of the supply units and displays the selection in a mask so that it can be checked (cf. Point6). The selection is confirmed unchanged with [DUE].


Job ':I29A:$PARKSW1.WORK.<package-name>.APR101426212021.PE' is being generated.

'5' supply units have been selected    —————————————————————————————— (12)

Generation of  :I29A:$PARKSW1.WORK.<package-name>.APR101426212021.PE  startet:

Generation of FSTAT-RENAME commands...

Generation of SAVE-FILES commands...

Generation of RESERVE-FILE commands...

Generation of IMPORT-FILE commands...

Generation of RMS processing commands...

Park generation processed for supply units:

 EDT                                                  17.0     D30

 OPENFT                                               12.1     C10

 OPENFT-CR                                            12.1     B10

 PERCON                                               02.9     C00

 SORT                                                 08.0     A30

%  JMS0066 JOB 'PARK' ACCEPTED ON 21-04-10 AT 14:26, TSN = 0222

Job ':I29A:$PARKSW1.WORK.<package-name>.APE101426212021.PE' has been generated

and entered     ————————————————————————————————————————————————————— (13)

//end   ————————————————————————————————————————————————————————————— (14)

(12)

The park procedure is generated. File name:

:I29A:$PARKSW1.WORK.<package-name>.APR101426212021.PE

  • five supply units were selected for parking

  • various processing steps must be generated

  • activation of the listed supply units is initiated.

(13)

The park procedure is then fully generated and started automatically as a background procedure (task with the TSN 0222).

(14)

IMON is terminated using the END statement.


%  JMS0066 JOB 'PARK' ACCEPTED ON 21-04-10 AT 14:26, TSN = 0222

/show-job-sta *tsn(0at6) ———————————————————————————————————————————— (15)

TSN:     0222       TYPE:    2 BATCHF   NOW:     2021-04-10.142629

JOBNAME: PARK       PRI:     9 210      SPOOLIN: 2021-04-10.1524

USERID:  TSOS       JCLASS:  JCBTSOS    LOGON:   2021-04-10.1524

ACCNB:   ADMINSTR   CPU-MAX: NTL        CPU-USED:000001.1239

REPEAT:  NO         RERUN:   NO         FLUSH:   NO

MRSCAT:             HOLD:    NO         START:   SOON

TID:     0002007B   UNP/Q#:    03/004

CMD:     EXECUTE                        SIZE:       581

PROG:    :I29A:$TSOS.LMSCONV

ORIGFILE::I29A:$PARKSW1.WORK.<package-name>.APR101426212021.PE

CMD-FILE::I29A:$TSOS.S.E.0222.2021-04-10.14.26.21

MONJV:   *NONE

/show-job-sta *tsn(0222) ———————————————————————————————————————————— (16)

%  EXC0755 INFORMATION ON TASK WITH TSN '0222' CANNOT BE GIVEN

/show-file-attr $parksw1. ——————————————————————————————————————————— (17)

   :

(15)

The SHOW-JOB-STATUS command is used to check whether the park task is still running.

(16)

Once the park task has run, the SHOW-JOB-STATUS command query is quit with the message EXC0755, i.e. the task is terminated.

(17)

The SHOW-FILE-ATTRIBUTES command is used to display all files that were created under the work file ID.


Part 2: Installing from the park ID

/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

//modify-imon-options
      software-inventory=$parksw1.sys.imon-park.sci,
     work-file-location=$parksw1.work. —————————————————————————————— (19)

(18)

IMON is restarted with the SDF interface to install the supply units from the park ID (see also Point 2).

(19)

The MODIFY-IMON-OPTIONS statement is used, as before in parking, to define the park SCI and the same work file ID explicitly (see Point 3).


//install-units ————————————————————————————————————————————————————— (20)
    unit-name=*from-solis2-delivery( ———————————————————————————————— (21)
       package-name= <package-name> ,user-code=sol2p,
       distribution=*registered-medium,
       supply-units=*by-dialog), ———————————————————————————————————— (22)
    work-file-deleting=*no —————————————————————————————————————————— (23)

(20)

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

(21)

The parked SOLIS2 delivery that is to be installed is specified using the UNIT-NAME operand:

Package name:

<package-name>

User code:

SOL2P

Distribution medium:

*REGISTERED-MEDIUM (default)

(22)

The SUPPLY-UNITS=*BY-DIALOG operand can be used to display the supply units to be installed in a dialog box.

The supply units can also be specified directly in the SUPPLY-UNITS operand.

(23)

The WORK-FILE-DELETION=*NO operand can be used to retain the supply units to be installed under the park ID (for further installations).


    IMON: SOLIS2 delivery: Package name: <package-name> User code: SOL2P        
 ------------------------------------------------------------------------------ 
                                           Units     1 through     5 of     5   
                               SU selection                         More:       
     Unit name     Vers  Corr   Park userid      Install status                
  EDT              17.0  D30  :I29A:$PARKSW1   Parked                         
  OPENFT           12.1  C10  :I29A:$PARKSW1   Parked                         
  OPENFT-CR        12.1  B10  :I29A:$PARKSW1   Parked                         
  PERCON           02.9  A10  :I29A:$PARKSW1   Parked                         
  SORT             08.0  A30  :I29A:$PARKSW1   Parked                         
                        *** End of SU selection ***                             
                                                                                
  
                                                                              
                                                                                
                                                                                
                                                                                
                                                                                
                                                                                
 ------------------------------------------------------------------------------ 
 Command ==>                                                                    
 F1=Help  F3=Exit  F5=Previous  F6=Next  F7=Backward  F8=Forward  F10=Menu ...  


(24)

(24)

After executing the statement, all five supply units in the requested dialog box are marked and the dialog box is executed with [DUE].


The specifications in the INSTALL-UNITS statement are the minimum required for installation on the home pubset. The remaining specifications in this dialog box and also the subsequent procedure depend on the installation type required (default or customerspecific). As the open park SCI is not the default SCI for the target system, an additional query is output when generating the installation procedure:

Job ':I29A:$PARKSW1.WORK.<package-name>.APR101437462021.IE' is being generated.

'5' supply units have been selected

Generation of  :I29A:$PARKSW1.WORK.<package-name>.APR101437462021.IE  startet:

*************************************************************

* Local SCI  :I29A:$PARKSW1.SYS.IMON-PARK.SCI

* is not a standard one.  Should the installation results

* be registered in this one or in the standard SCI of the

* target system (:I29A:$TSOS.SYS.IMON.SCI) ?

* Reply Y=local SCI/ N=std SCI

*************************************************************

*n ———————————————————————————————————————————————————————————————————— (25)

(25)

It is possible that the installation will be registered in the currently open foreign SCI or standard SCI of the home pubset. Responding with “N” will cause the registration to be performed in the standard SCI (just like for a direct installation on the home pubset). Further processing up to the creation and start of the installation procedure can be taken from the appropriate examples. In the following it is assumed that the installation procedure has already successfully executed:


  :

//modify-imon-options software-inventory=*std   ————————————————————— (26)
//show-supply-units unit-name=*from-solis2-delivery(
     package-name= <package-name> ,user-code=sol2p),
      select=*by-attributes(installation-status=*installed) —————————— (27)
  :
//end ——————————————————————————————————————————————————————————————— (28)

(26)

The standard SCI of the home pubset is opened.

(27)

All of the supply units in the previously installed delivery (package name <package-name> , user code SOL2P) that are registered in the standard SCI are displayed.

(28)

IMON is terminated using the END statement.