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.
USE fileid ON server END
where:
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.
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
To use the EMPLOYEE FOCUS data source allocated to the FOCUS Database Server batch job or started task, two things must be done:
For example,
DYNAM ALLOC FILE MYSERVER DS prefix.FOCSU.DATA SHR
USE EMPLOYEE ON MYSERVER END
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.
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:
USE EMP01 AS EMPLOYEE ON MULTID READ
In an SU environment, the READ option does not provide read-only access. It is required because alternate Master Files are not supported in SU for MODIFY and MAINTAIN.
Information Builders |