Your Browser is not longer supported

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

{{viewport.spaceProperty.prod}}

Copying members

Members from various libraries are copied to another library.

/add-file-link link-name=lib1,file-name=modul.lib  -----------------------  (1) 

/start-lms ---------------------------------------------------------------  (2)

//modify-logging-parameters logging=*maximum -----------------------------  (3)

//open-library library=bsp2.bib,mode=*update -----------------------------  (4)

LIBRARY IS CLEARED AND PREPARED

//show-element-attributes (library=*link(link-name=lib1),type=r) ---------  (5)

INPUT  LIBRARY= :1OSN:$USER.MODUL.LIB,LINK=LIB1
TYP NAME   VER (VAR#) DATE
(R) MODERF @   (0001) 2013-03-01
      1 (R)-ELEMENT(S) IN THIS TABLE OF CONTENTS

//copy-element elem=(library=*link(link-name=lib1),elem=moderf,type=r), -

//            to-element=(library=*std,element=mod.erf) ------------------  (6)

INPUT  LIBRARY= :1OSN:$USER.MODUL.LIB,LINK=LIB1
OUTPUT LIBRARY= :1OSN:$USER.BSP2.BIB

        COPY (R)MODERF/@(0001)/2011-02-19 AS (R)MOD.ERF/@(0001)/2011-02-19

(1)

This input enables the library MODUL.LIB to be assigned via the link name LIB1 during the LMS run.

(2)

LMS is called.

(3)

In addition to error messages, positive acknowledgments are also logged.

(4)

The new library BSP2.BIB is created as a global library and opened for writing and reading.

(5)

The directory of library MODUL.LIB, that is specified via link name LIB1, is to be listed.

(6)

Module MODERF from library MODUL.LIB is copied to library BSP2.BIB under the member name MOD.ERF.

//show-element-attributes (library=macro.lib,type=m) ---------------------  (7) 

INPUT  LIBRARY= :1OSN:$USER.MACRO.LIB
TYP NAME VER (VAR#) DATE        NAME VER (VAR#) DATE
(M) MAC1 @   (0001) 2011-02-19 MAC2 @   (0001) 2011-02-19
      2 (M)-ELEMENT(S) IN THIS TABLE OF CONTENTS

//copy-element elem=(library=macro.lib,elem=mac*,type=m), -
//           to-element=(library=*std,element=mu*) -----------------------  (8)

INPUT  LIBRARY= :1OSN:$USER.MACRO.LIB
OUTPUT LIBRARY= :1OSN:$USER.BSP2.BIB

        COPY (M)MAC1/@(0001)/2011-02-19 AS (M)MU1/@(0001)/2011-02-19
        COPY (M)MAC2/@(0001)/2011-02-19 AS (M)MU2/@(0001)/2011-02-19 ----   (9)

//show-element-attributes (library=quell.lib,type=s) --------------------  (10)

INPUT  LIBRARY= :1OSN:$USER.QUELL.LIB
TYP NAME    VER (VAR#) DATE        NAME    VER (VAR#) DATE
(S) EDTB    @   (0001) 2011-02-19   PROT    @   (0001) 2011-02-19
(S) SEINAUS @   (0001) 2011-02-19   SERFAS  @   (0001) 2011-02-19
      4 (S)-ELEMENT(S) IN THIS TABLE OF CONTENTS

//copy-element elem=(library=quell.lib,elem=*,type=s, -
//                  except-element=(element=edtb)) ----------------------  (11)

INPUT  LIBRARY= :1OSN:$USER.QUELL.LIB
OUTPUT LIBRARY= :1OSN:$USER.BSP2.BIB

        COPY (S)PROT/@(0001)/2011-02-19 AS (S)PROT/@(0001)/2011-02-19
        COPY (S)SEINAUS/@(0001)/2011-02-19 AS (S)SEINAUS/@(0001)/2011-02-19
        COPY (S)SERFAS/@(0001)/2011-02-19 AS (S)SERFAS/@(0001)/2011-02-19

(7)

The directory of library MACRO.LIB, that is assigned as a local library, is to be listed.

(8)

Those members of library MACRO.LIB whose member designations begin with “MAC” are to be copied to library BSP2.BIB. The new member designations begin with “MU”. The member designations of the input members are transferred, starting from the third position.

(9)

Positive acknowledgment: the selected members, with the new member designations, are copied.

(10)

The directory of library QUELL.LIB, that is assigned as a local library, is to be listed.

(11)

All members from library QUELL.LIB, with the exception of member EDTB, are copied to the output library.

//show-element-attributes (library=test.lib) ----------------------------- (12)  

INPUT  LIBRARY= :1OSN:$USER.TEST.LIB
TYP NAME   VER (VAR#) DATE
(S) SERFAS @   (0001) 2011-02-19
      1 (S)-ELEMENT(S) IN THIS TABLE OF CONTENTS

//copy-element elem=(library=test.lib,elem=*,type=*), -
//            to-elem=(library=*std,element=*(version=007)) -------------- (13)

INPUT  LIBRARY= :1OSN:$USER.TEST.LIB
OUTPUT LIBRARY= :1OSN:$USER.BSP2.BIB

        COPY (S)SERFAS/@(0001)/2011-02-19 AS (S)SERFAS/007(0001)/2011-02-19

(12)

The directory of program library TEST.LIB, that is assigned as a local library, is to be listed.

(13)

All members of program library TEST.LIB are copied to the output library and stored under the same name and version number 007.

//show-element-attributes ------------------------------------------------ (14)  

INPUT  LIBRARY= :1OSN:$USER.BSP2.BIB

TYP NAME VER (VAR#) DATE        NAME VER (VAR#) DATE

(M) MU1  @   (0001) 2011-02-19   MU2  @   (0001) 2011-02-19

      2 (M)-ELEMENT(S) IN THIS TABLE OF CONTENTS

TYP NAME    VER (VAR#) DATE

(R) MOD.ERF @   (0001) 2011-02-19

      1 (R)-ELEMENT(S) IN THIS TABLE OF CONTENTS

TYP NAME    VER (VAR#) DATE        NAME    VER (VAR#) DATE

(S) PROT    @   (0001) 2011-02-19   SEINAUS @   (0001) 2011-02-19

(S) SERFAS  007 (0001) 2011-02-19   SERFAS  @   (0001) 2011-02-19

      4 (S)-ELEMENT(S) IN THIS TABLE OF CONTENTS

-------------------------------------------------------------------------------

      7 ELEMENT(S) IN THIS TABLE OF CONTENTS

//show-library-status ---------------------------------------------------  (15)

STATUS FILENAME                                          MODE    LINK     DEF-TYPE

CLOSED :1OSN:$USER.TEST.LIB

CLOSED :1OSN:$USER.QUELL.LIB

CLOSED :1OSN:$USER.MACRO.LIB

CLOSED :1OSN:$USER.MODUL.LIB                                      LIB1

OPEN   :1OSN:$USER.BSP2.BIB                               UPDATE

//close-library ---------------------------------------------------------  (16)

//show-library-status ---------------------------------------------------  (17)

STATUS FILENAME                                          MODE    LINK     DEF-TYPE

CLOSED :1OSN:$USER.TEST.LIB

CLOSED :1OSN:$USER.QUELL.LIB

CLOSED :1OSN:$USER.MACRO.LIB

CLOSED :1OSN:$USER.MODUL.LIB                                      LIB1

CLOSED :1OSN:$USER.BSP2.BIB

//end -------------------------------------------------------------------  (18)

(14)

The directory of the current input library BSP2.BIB is to be listed with all members. There are two members with member name SERFAS, but with different version numbers.

(15)

The status of the libraries used during the LMS run is queried.

(16)

Library BSP2.BIB is closed.

(17)

The status of the libraries used during the LMS run is queried.

(18)

The LMS run is terminated.