📄 pcb.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.IMSDatabase.IMSTypes.LTermType;
import com.prudsys.pdm.Cwm.IMSDatabase.IMSTypes.PCBType;
import com.prudsys.pdm.Cwm.IMSDatabase.IMSTypes.PositioningType;
import com.prudsys.pdm.Cwm.Record.RecordFile;
/**
* A PCB is a series of macro instructions contained in a PSB. PCBs which come in
* three varieties:
*
*
*
* TP (Teleprocessing) PCBs describe a connection to a terminal
*
* GSAM PCBs connect a PSB to a input or output file.
*
* DB PCBs connect a PSB to the data defined by a DBD.
*/
public class PCB extends RecordFile
{
/**
* The type of PCB - whether GSAM, DB or TP
*/
public PCBType pcbType;
/**
* This attribute specifies whether a named PCB is included in the PCB list passed
* to the application program at entry. TRUE includes the PCB in the PCB list,
* FALSE excludes it from the PCB list.
*/
public Boolean list;
/**
* The value specified in bytes of the longest concatenated key for a hierarchic
* path of sensitive segments used by the application program in the logical data
* structure.
*/
public Integer keyLength;
/**
* This attribute holds a string that represents the processing options on either
* the sensitive segments or the data set declared in this PCB and which can be
* used in an associated application program.
*/
public String processingOptions;
/**
* This attribute specifies whether single or multiple positioning is desired for
* the logical data structure. Single or multiple positioning provides a
* functional variation in the call. Multiple positioning is not supported by HSAM.
*/
public PositioningType positioning;
/**
* The value in this attribute specifies if this PCB will be buffered using
* sequential buffering (SB). True means the SB should be activated conditionally
* (COND); False means that SB should not be used for this DB PCB (NO).
*/
public Boolean sequentialBuffering;
/**
* This attribute specifies whether this PCB can be used instead of the I/O PCB
* for responding to terminal in response mode, conversational mode, or exclusive
* mode.
*/
public Boolean alternateResponse;
/**
* This attribute specifies whether messages from this alternate PCB are to be
* sent (TRUE) or are to be backed out (FALSE) if the application program should
* terminate abnormally.
*/
public Boolean express;
/**
* This attribute specifies whether the alternate PCB is modifiable. This feature
* allows for the dynamic modification of the destination name associated with
* this PCB.
*/
public Boolean modify;
/**
* This attribute specifies whether IMS should verify that the logical terminal
* named in the response alternate PCB is assigned to the same physical terminal
* as the logical terminal that originated the input message.
*/
public Boolean sameTerminal;
/**
* The attribute specifies whether the ltermName attribute signifies a logical
* terminal (LTERM) or a transaction code (NAME). This attribute maps to the LTERM
* or NAME keyword on the PCB macro statement.
*/
public LTermType destinationType;
/**
* This attribute specifies the name of the actual destination of the message and
* is either a logical terminal name or a transaction-code name. When the name is
* a transaction-code name, output messages to this PCB are queued for input to
* the program used to process the transaction-code named by the NAME attribute.
* The name must be specified in the user?s IMS/VS system definition as a logical
* terminal name or transaction code. This attribute maps to the LTERM/NAME
* keyword on the PCB macro statement.
*/
public String ltermName;
public INDEX procSeq;
public DBD dbd;
public PSB psb[];
public SenSegment senSegment[];
public PCB()
{
}
}
⌨️ 快捷键说明
复制代码
Ctrl + C
搜索代码
Ctrl + F
全屏模式
F11
切换主题
Ctrl + Shift + D
显示快捷键
?
增大字号
Ctrl + =
减小字号
Ctrl + -