com.ibm.pdp.maf.rpp.pac.common.dialog
Interface AbstractCSLine

All Superinterfaces:
Element
All Known Subinterfaces:
DataElementCallCSLine, LogicalViewCallCSLine, SegmentCallCSLine, ServerCallCSLine

public interface AbstractCSLine
extends Element

This tab is used to indicate how to access Segments in the validation, update, and display processing in a Screen or Dialog. You specify here the physical attributes and access conditions of each Segment (standard file or database type, keys...), and the use characteristics and logical characteristics of the Data Elements called in these Segments.

The number of Segment description lines called in this screen is limited to 100 per category. The Segments with the same Data Structure codes must have the same organizations, the same types of description, and, with a V-type organization, the same external names. For a D-type organization, the Segments which have the same Data Structure codes are generated in REDEFINES.

The processing of data external to the Screen is determined by the call of Segments and, for each of them, by the specification of its physical characteristics (type of organization...) and type of use (read, update...).


Field Summary
static java.lang.String copyright
           
 
Method Summary
 java.lang.String getAccessKey()
           
 java.lang.String getAccessKeySource()
           
 ScreenCategoryNatureValues getCategoryNature()
           
 ClientOrganizationValues getClientOrganization()
          

It corresponds to the organization of the Segment or the Logical View.

 ScreenControlBreakValues getControlBreak()
           
 DataElement getDataElement()
           
 ScreenDescriptionTypeValues getDescriptionType()
           
 ScreenDisplayUseValues getDisplayUse()
           
 java.lang.String getExternalName()
           
 int getGeneratedLevel()
           
 ScreenGenerationLimitValues getGenerationLimit()
           
 int getLineNumber()
           
 java.lang.String getPreviousSegmentCode()
           
 ScreenReceptionUseValues getReceptionUse()
           
 ScreenRecordTypeValues getRecordTypeValue()
           
 ScreenOrganizationValues getScreenOrganization()
           
 java.lang.String getSegmentCode()
           
 ServerOrganizationValues getServerOrganization()
          

It corresponds to the organization of the Segment or the Logical View.

 ScreenSubSchemaValues getSubSchema()
           
 

Field Detail

copyright

static final java.lang.String copyright
See Also:
Constant Field Values
Method Detail

getAccessKey

java.lang.String getAccessKey()

Name of a new Data Element (not defined in the repository) that is to be used as the primary access key to the Segment.

Returns:

getAccessKeySource

java.lang.String getAccessKeySource()

This field can be used as a working area, a literal or Screen field. In the latter, the first four characters of the field must correspond to the code of the Screen in the Dialog.

Returns:

getCategoryNature

ScreenCategoryNatureValues getCategoryNature()

This field indicates the Screen category in which the Segment is processed. The category, and therefore the corresponding Segments are processed in the following order:

Returns:

getClientOrganization

ClientOrganizationValues getClientOrganization()

It corresponds to the organization of the Segment or the Logical View. The values entered at this level are the physical characteristics of the Segment.

The organization is X for a Server Call.

Returns:

getControlBreak

ScreenControlBreakValues getControlBreak()

Indicates the control break indicator for display.

Returns:

getDataElement

DataElement getDataElement()

Data Element that is to be used as the primary access key to the Segment.

Returns:

getDescriptionType

ScreenDescriptionTypeValues getDescriptionType()

This field defines the type of Segment in use.

Returns:

getDisplayUse

ScreenDisplayUseValues getDisplayUse()

Usage in Display

Returns:

getExternalName

java.lang.String getExternalName()

The default value corresponds to the first two characters of the Segment code in the program.

For a DL/1 Segment, it corresponds to the PCB name.

For SQL, it is the code of the called SQL View.

For other variants, it corresponds to the SELECT clause in the generated program.

Returns:

getGeneratedLevel

int getGeneratedLevel()

In this field, you have the levels of generated subfunctions. For values between 06 and 98, the processing that depends on the use (in reception and display) of the Segments used in this Screen is automatically generated in the Business Component associated with the client component. The default hierarchical level of these subfunctions is 10.

Returns:

getGenerationLimit

ScreenGenerationLimitValues getGenerationLimit()

Indicates the generation limitation of the logical accesses to Segments.

Returns:

getLineNumber

int getLineNumber()

Only one 00 line number (default) is authorized in a Segment.

This zero line is required to enter the physical characteristics of the Segment (external name, organization), the name of the Segment access key and the name of the Segment in the database Library.

It is a pure numeric field. The values from 01 to 99 are required for any other references to this Segment.

Returns:

getPreviousSegmentCode

java.lang.String getPreviousSegmentCode()

Code of the Segment which is to be accessed before the Segment code in the program.

Several Segments can be accessed in each category. Therefore, a hierarchy can be indicated concerning the access to the Segments of a category. This field contains the previous Segment code in the access hierarchy. This Segment must belong to the same category. If several Segments have the same previous Segment, they are processed alphabetically.

Returns:

getReceptionUse

ScreenReceptionUseValues getReceptionUse()

Specify the way the Segment is used in the validation and update processing

Returns:

getRecordTypeValue

ScreenRecordTypeValues getRecordTypeValue()

T for Table or V for View.

Complement the ExternalName.

Used with organization H in Server or DialogServer.

Returns:

getScreenOrganization

ScreenOrganizationValues getScreenOrganization()

It corresponds to the organization of the Segment. The values entered at this level are the physical characteristics of the Segment.

Returns:

getSegmentCode

java.lang.String getSegmentCode()

This field is entered when the Segment code in the Screen is different from the Segment code stored in the repository.

Returns:

getServerOrganization

ServerOrganizationValues getServerOrganization()

It corresponds to the organization of the Segment or the Logical View. The values entered at this level are the physical characteristics of the Segment.

The organization is X for a Server Call.

Returns:

getSubSchema

ScreenSubSchemaValues getSubSchema()

This field is used with the Pactables function, to indicate which subschema is to be described. You must select either the All Data Elements choice or a description from 0 to 9 (0 corresponds to subschema 10). A subschema is a group of Data Elements present in the Segment composition.

For Tables defined in Pactables, it specifies the number of the Table sub description (or subschema) to which the input/output area description corresponds. If the called Segment corresponds to a view and no subschema has been specified, the value is specified on the Block -DR Lines tab. The possible values are:

Returns: