In this section: |
The type of FOCUS data source you create depends on the amount of storage you require:
How to: Reference: |
The FOCUS data source size can be a maximum of two gigabytes per physical data file. Through partitioning, one logical FOCUS data source can consist of up to 1022 physical files of up to two gigabytes each.
Note that this discussion applies to any FOCUS data source that has extended beyond one gigabyte, but has not reached the two-gigabyte limit.
In order to enable support for two-gigabyte data sources, you need to set the value of the FOC2GIGDB parameter to ON in the FOCPARM profile.
Issue the following command in the FOCPARM profile or, if the data source is running on a FOCUS Database Server, in HLIPROF
SET FOC2GIGDB = {ON|OFF}
where:
Enables support for FOCUS data sources larger than one gigabyte. Note that an attempt to use FOCUS data sources larger than one gigabyte in a release prior to FOCUS Version 7.1 can cause data corruption.
Disables support for FOCUS data sources larger than one gigabyte. OFF is the default value.
To add to a data source in z/OS, you must issue the LOAD command with the following syntax:
LOAD NOCREATE
How to:
Reference: |
The XFOCUS data source is a database structure that parallels the original FOCUS data source, but extends beyond its capabilities with several significant performance and data volume improvements:
The XFOCUS data source has 16K database pages. The SUFFIX in the Master File is XFOCUS. FOCUS data sources (SUFFIX=FOC) have 4K database pages.
All existing commands that act on FOCUS files work on XFOCUS files. No new syntax is required, except for MDI options.
You can convert to an XFOCUS data source from a FOCUS data source by changing the SUFFIX in the Master File and applying the REBUILD utility.
FILE = filename, SUFFIX = XFOCUS, $
where:
Can be any valid file name.
FOCUS data sources use buffer pages that are allocated by the BINS setting. Buffer pages for XFOCUS data sources are allocated by the XFOCUSBINS setting
SET XFOCUSBINS = n
where:
Is the number of pages used for XFOCUS data source buffers. Valid values are 16 to 1023. 64 is the default value.
The memory is not actually allocated until an XFOCUS data source is used in the session. Therefore, if you issue the ? SET XFOCUSBINS query command, you will see the number of pages set for XFOCUS buffers and an indication of whether the memory has actually been allocated (passive for no, active for yes).
There are two methods for creating an XFOCUS data source. You can either issue the CREATE FILE command or use the HOLD FORMAT XFOCUS command.
Do the following to create an XFOCUS data source using the CREATE FILE command:
CREATE FILE name
where:
Is the name of the Master File that specifies SUFFIX=XFOCUS.
Specify USE...AS for the data sources with suffix FOC and another AS for the data sources with suffix XFOCUS in the same USE.
Information Builders |