Accessing Simultaneous Usage Data Sources

In this section:

How to:

In CMS, the FOCUS Database Server is a disconnected virtual machine that manages all READ/WRITE operations to a FOCUS data source.

In z/OS, the FOCUS Database Server is a batch job or started task managing all READ/WRITE operations to a FOCUS data source.


Top of page

x
Syntax: How to Access Simultaneous Usage Data Sources
USE 
fileid ON server 
END

where:

fileid

In CMS, is the file name, file type, and file mode of the FOCUS data source accessed by the disconnected virtual machine (FOCUS Database Server).

In z/OS, is lthe ddname of the FOCUS data source allocated in the batch job or started task.



Example: Accessing an SU Data Source in CMS

To use the EMPLOYEE FOCUS data source on the A-disk of the FOCUS Database Server named myserver, code the following:

USE
EMPLOYEE FOCUS A ON MYSERVER
END


Example: Accessing an SU Data Source in z/OS

To use the EMPLOYEE FOCUS data source allocated to the FOCUS Database Server batch job or started task, two things must be done:

  1. Allocate a ddname to the communications data set that is allocated in the FOCUS Database Server batch job or started task pointed to by the ddname FOCSU.

    For example,

    DYNAM ALLOC FILE MYSERVER DS prefix.FOCSU.DATA SHR
  2. Issue the USE command for your data source allocated in the batch job or started task. For example:
    USE
    EMPLOYEE ON MYSERVER
    END

Top of page

x
Multi-Thread Configuration

How to:

Performance gains may be achieved by routing read-only requests directly to the data source on disk instead of through the FOCUS Database Server. This is called a multi-thread configuration. It is accomplished with the USE command and the keyword LOCAL.



x
Syntax: How to Read SU Data Sources in a Multi-Thread Configuration

In CMS, first link and access the data source in read-only mode and issue the USE LOCAL syntax:

CMS CP LINK MYSERVER 191 391 RR
CMS ACCESS 391 B
USE
EMPLOYEE FOCUS A ON MYSERVER
EMPLOYEE FOCUS B LOCAL
END

In z/OS, allocate the FOCUS data source and issue the USE LOCAL syntax:

DYNAM ALLOC FILE EMPLOYEE DS prefix.EMPLOYEE.FOCUS SHR
DYNAM ALLOC FILE MYSERVER DS prefix.FOCSU.DATA SHR
USE
EMPLOYEE ON MYSERVER
EMPLOYEE LOCAL
END

For more information about Simultaneous Usage Mode, see your Simultaneous Usage documentation.

Note:


Information Builders