📄 dataset.java
字号:
/*
* This program is free software; you can redistribute it and/or modify
* it under the terms of the GNU General Public License as published by
* the Free Software Foundation; either version 2 of the License, or
* (at your option) any later version.
*
* This program is distributed in the hope that it will be useful,
* but WITHOUT ANY WARRANTY; without even the implied warranty of
* MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the
* GNU General Public License for more details.
*
* You should have received a copy of the GNU General Public License
* along with this program; if not, write to the Free Software
* Foundation, Inc., 675 Mass Ave, Cambridge, MA 02139, USA.
*/
/**
* Title: XELOPES Data Mining Library
* Description: The XELOPES library is an open platform-independent and data-source-independent library for Embedded Data Mining.
* Copyright: Copyright (c) 2002 Prudential Systems Software GmbH
* Company: ZSoft (www.zsoft.ru), Prudsys (www.prudsys.com)
* @author Valentine Stepanenko (valentine.stepanenko@zsoft.ru)
* @version 1.0
*/
package com.prudsys.pdm.Cwm.IMSDatabase;
import com.prudsys.pdm.Cwm.Core.ModelElement;
import com.prudsys.pdm.Cwm.IMSDatabase.IMSTypes.AlgorithmType;
import com.prudsys.pdm.Cwm.IMSDatabase.IMSTypes.DeviceType;
import com.prudsys.pdm.Cwm.IMSDatabase.IMSTypes.ModelType;
import com.prudsys.pdm.Cwm.IMSDatabase.IMSTypes.RECFMType;
/**
* Instances of this object type are used to hold attributes for the DATASET and
* AREA macro statements.
*
*
*
* DATASET and AREA macro statements describe the physical storage of the DBD in
* MVS datasets that are connected to an application by use of DD Statements in
* the JCL.
*/
public class Dataset extends ModelElement
{
/**
* Name of the primary or input dataset
*/
public com.prudsys.pdm.Cwm.Core.String dd1name;
/**
* This attribute is the DEVICE specified on the DATASET statement.
*/
public DeviceType device;
/**
* This attribute holds the model part of the DEVICE attribute on the DATASET
* statement. The value is not relevant for most device types.
*/
public ModelType model;
/**
* Name of overflow or output dataset.
*/
public com.prudsys.pdm.Cwm.Core.String dd2name;
/**
* Size of area or primary or input dataset. For DEDB databases, valid values are:
* 512, 1024, 2048, 4096, 8192, 12288, 16384, 20480, 24576, 28672, and the Default
* value is 4096
*/
public com.prudsys.pdm.Cwm.Core.Integer size1;
/**
* Size of overflow or output dataset
*/
public com.prudsys.pdm.Cwm.Core.Integer size2;
/**
* Record length in primary or input dataset.
*/
public com.prudsys.pdm.Cwm.Core.Integer recordLength1;
/**
* Record length in primary or input dataset.
*/
public com.prudsys.pdm.Cwm.Core.Integer recordLength2;
/**
* Blocking factor in primary or input dataset
*/
public com.prudsys.pdm.Cwm.Core.Integer blockingFactor1;
/**
* Blocking factor in overflow or output dataset.
*/
public com.prudsys.pdm.Cwm.Core.Integer blockingFactor2;
/**
* This attribute holds a label used for reverse referencing of datasets in a HDAM
* or HIDAM database.
*/
public com.prudsys.pdm.Cwm.Core.String datasetLabel;
/**
* This attribute describes the frequency of free blocks in the initial dataset
* layout. Valid Values are 0, 2-100, null
*/
public com.prudsys.pdm.Cwm.Core.Integer freeBlockFrequency;
/**
* This attribute describes the percentage of free space in the initial dataset
* layout. Valid Values are 0-99, null
*/
public com.prudsys.pdm.Cwm.Core.Integer freeSpacePercentage;
/**
* This attribute describes the record format for a GSAM database. Valid Values
* are F, FB, V, VB, U, null
*/
public RECFMType recordFormat;
/**
* This attribute describes the number of cylinders to be scanned to find space
* for new data. Valid values are 0-255
*/
public com.prudsys.pdm.Cwm.Core.Integer scanCylinders;
/**
* This attribute specifies where should IMS look for space in which to put new
* data. Valid Values are 0, 1, 2, null
*/
public AlgorithmType searchAlgorithm;
/**
* This attribute holds total space allocated to the root addressable part of the
* AREA in terms of UOWs. A value of 0 represents a null value. Valid Values are 0
* or 2-32767
*/
public com.prudsys.pdm.Cwm.Core.Integer root;
/**
* This attribute holds the amount of space reserved for independent overflow in
* terms of units of work. A value of 0 represents a null value. Valid values are
* 0 or 1-32767.
*
*
*
* Constraints:
*
*
*
* root and rootOverflow must be specified together.
*
* The value in rootOverflow must be less than the value in root.
*/
public com.prudsys.pdm.Cwm.Core.Integer rootOverflow;
/**
* This attribute holds the number of control intervals in a unit of work. A value
* of 0 represents a null value. Valid values: 0 or 2-32767
*/
public com.prudsys.pdm.Cwm.Core.Integer uow;
/**
* This attribute holds the number of control intervals in overflow section of a
* unit of work. A value of 0 represents a null value.
*/
public com.prudsys.pdm.Cwm.Core.Integer uowOverflow;
public DBD dbd;
public SegmentComplex segment[];
public Dataset()
{
}
}
⌨️ 快捷键说明
复制代码
Ctrl + C
搜索代码
Ctrl + F
全屏模式
F11
切换主题
Ctrl + Shift + D
显示快捷键
?
增大字号
Ctrl + =
减小字号
Ctrl + -