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

&pagelevel(3)&pagelevel

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)
    

    While in earlier BS2000 versions Net-Storage volumes of the NETSTOR type were created, as of the current BS2000 V21.0A only Net-Storage volumes of the NETVOL type are set up. 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 has   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. With type NETVOL Net-Storage volumes, the CEs are already cataloged in TSOSCAT after the Net-Storage volume has been successfully imported. However, in case of Net-Storage volumes of type NETSTOR (created under BS2000 < V21) these have not yet been imported.
    Thus import the BS2000 files of the Net-Storage volume (type NETSTOR only), 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.