|
||||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |
public interface SourceLine
Source of the data and the condition under which the source is to be transferred to the target Data Element.
Field Summary | |
---|---|
static java.lang.String |
copyright
|
Method Summary | |
---|---|
java.lang.String |
getCondition()
|
ReportContinuedValues |
getContinued()
|
ReportOperationValues |
getOperation()
|
java.lang.String |
getSource()
|
java.lang.String |
getWSPrefix()
|
Field Detail |
---|
static final java.lang.String copyright
Method Detail |
---|
java.lang.String getCondition()
This field is used to indicate the conditions under which the source is to be transferred to the target.
Input format:
For IF conditions, use the COBOL format but omit the 'IF'.
For AND, OR... use the COBOL format.
ReportContinuedValues getContinued()
Describing the source or the condition of a Data Element can take more than one line.
So this field contains a blank in this field to identify a first description line, or * to identify a continuation line.
ReportOperationValues getOperation()
Type of operation to be performed on the source field.
It can be an arithmetic instruction with operators such as add, subtract, divide, multiply, rounded operator, or other operators used to total up, to move a source field, modify a date format, or transfer data with a procedure defined by the user.
java.lang.String getSource()
This field is limited to 13 characters if the selected WORKING-STORAGE SECTION prefix is a data name, and 11 characters if it is a literal. You enter different types of values in this field:
For sources that are Data Elements, it is :
the name of the Data Structure in the Program (two characters), which is the Data Structure containing the source Data Element,
the name of the Segment (two characters) containing the source Data Element, for sources that are Data Elements,
the name of the source Data Element (six characters).
Enter the numeric value which identifies an Index (three characters) :
This field is limited to 13 characters if the selected WORKING-STORAGE SECTION prefix is a data name, and 11 characters if it is a literal. You enter different types of values in this field:
For sources that are Data Elements, it is :
the name of the Data Structure in the Program (two characters), which is the Data Structure containing the source Data Element,
the name of the Segment (two characters) containing the source Data Element, for sources that are Data Elements,
the name of the source Data Element (six characters).
Numeric value which identifies an Index (three characters) :
Blank : No Index
001 to 999 : A numeric value variable is used as the index for a table.
nnn Name of an index defined by the user
I** The standard index for search in tables. The generated index is formatted as IddssR, where ddss is the Segment name, and R is the Search command.
*cc Standard index for the cc repetitive category. The index is generated as Jddrcc, where ddr is the Report name, and cc is the repetitive category.
For sources that are literals, enter the literal (starting and ending with a quotation mark). The literal can be 11 characters long. For literals longer than 11 characters, you must define a specific VALUE clause in the WORKING-STORAGE SECTION of the Program.
java.lang.String getWSPrefix()
Indicates the WORKING-STORAGE SECTION prefix where the source Data Element comes from.
* This option indicates that the source does not have a standard Pacbase structure. The 13 characters that follow contain the expression data name to be integrated into the generated source language. No quotation marks are added.
blank : Read area of a file, as generated in the FILE SECTION.
1 : Normally used for the processing area for files with control breaks, and tables.
2 : Update area of principal files.
5 : Lines directly related to the Report itself, like record counter fields, line count fields...
6 : This value is used for the output area.
Other numeric and alphabetic values can also be used for user-defined prefixes.
|
||||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |