Your Browser is not longer supported

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

{{viewport.spaceProperty.prod}}

Connecting Net-Storage to BS2000

In order to be able to use Net-Storage in BS2000, systems support (following the preparations on the net server and net client) must initially connect the BS2000 system to the Net-Storage and create the Net-Storage volumes and assign them to a local pubset.

  • Connect the BS2000 system to the Net-Storage, e.g. with

    /MOUNT-NET-STORAGE DIRECTORY='/bs2data1',
                       SERVER=*IP-ADDRESS(IP-ADDRESS=172.10.1.110),
                       CLIENT=system1
    

    This command performs the following processing steps:

    • Mount the released directory on the net client

    • Record the released directory, i.e. all existing 6-character directory names below this directory are added to the NDM tables as volumes

    • If necessary occupy the volume(s)

Two options are available to you for creating and assigning Net-Storage volumes:

  1. Create a new Net-Storage volume and assign it to a local pubset, e.g. with

    /ADD-NET-STORAGE-VOLUME VOLUME=*STD, PUBSET=A,
                            DIRECTORY='/bs2data1',
                            SERVER=*IP-ADDRESS(IP-ADDRESS=172.10.1.110)
    

    The Net-Storage volume is now available for use in BS2000 operation as a volume with the default VSN P@BA00 of the specified pubset. A new P@BA00 subdirectory is created in the Net-Storage’s bs2data1 directory. The file system label and file catalog have also been created. Files can now be written to the Net-Storage volume.

  2. Add an existing directory to a Net-Storage volume for BS2000 operation, e.g. with

    /ADD-NET-STORAGE-VOLUME VOLUME=MYNETS, PUBSET=A,
                            DIRECTORY='/bs2data1',
                            SERVER=*IP-ADDRESS(IP-ADDRESS=172.10.1.110)
                            IMPORT=*YES(OLD-VOLUME-NAME=*SAME)
    

    The MYNETS subdirectory in the bs2data1 directory on the net server is now available for use in BS2000 operation as a Net-Storage volume of the specified pubset. The MYNETS directory still contains the management data and the BS2000 files created on it. However, these have not yet been imported.

    Import the BS2000 files of the Net-Storage volume, e.g. with

    /IMPORT-FILE SUPPORT=*DISK(VOLUME=MYNETS, DEVICE-TYPE=NETSTOR,
                               PUBSET=A, FILE-NAME=*ALL)
    

    The files in the MYNETS directory have now been entered in the catalog of pubset A and can be used. This applies for BS2000 files. It also applies for node files when they have already been entered in the volume's .BS2FSCAT file catalog.

    The IMPORT-NODE-FILE command can be used to create a catalog entry for node files which are not yet contained in the .BS2FSCAT catalog entry.