Rational Developer for System z, Version 7.6

Library Definition

The purpose of this tab is to define a Library, it consists in specifying the default generated language, and the generation options (the values chosen for the alphanumeric delimiter and decimal presentation character, the comments insertion option and the date presentation).

COBOL type
This field is used to automatically adapt extracted elements from higher-level Library to the COBOL types specified.
Extracted entities include the internal usage of Data Elements, Cobol literals, Programs and Data Structure calls, Reports with a ″WRITE AFTER″ mode specified (if the language variant recommends the WRITE BEFORE mode).
Value Comments
0 COBOL/VS IBM MVS
1 COBOL IBM VSE (COBOL II BATCH LANGUAGE only)
3 COBOL IBM AIX-OS/2-Windows/NT, MICROFOCUS
4 COBOL BULL GCOS7
5 COBOL BULL GCOS8
7 COBOL HP-3000
8 COBOL UNISYS Series A : this variant is required at the library level to work in half-byte packed mode.
Note: If this value ’8’ is entered on the Library Definition after data element formats have been defined, the element formats on the Element definition and Segment/Screen Call of Elements, including FILLERS and undefined elements, will have to be re-entered so that the lengths are taken into account.

This option can also be used with BULL GCOS8 hardware. In that case, the generation variant ’5’ must be completed in the programs and screens.

C Extraction of COBOL Source.
F COBOL TANDEM
I COBOL DEC/VAX VMS
K COBOL ICL 2900
M Cobol BULL GCOS6
N No adaptation at any language variant (default option at definition level).
O COBOL AS/400
U COBOL UNISYS 2200 Series
X COBOL II IBM MVS or VSE (OLSD function.
Q ACUCOBOL
Generated language
You choose here between two program generation languages, depending on the hardware in use:
  • C: COBOL,
  • or COBOL II, 85, LE which is the default value.
Map type
Enter in this field the TP monitor variant, :
  Values Comments
  N No generation.
OLSD

FUNCTION

0
  • Variants 0, 1, X for CICS (IBM) (programs and BMS maps).
  • Variant 2 for IBM 36, monochrome map.
  • Variant Q for UNIX, Windows (ACUCOBO
  • Variant 3 for PC/MICROFOCUS (MS/DOS).
  • Variants 4, 5, 6 for QUESTAR.
  • Variant I for DEC/VAX.
  • Variant U for UNISYS 2200 (programs and FLDP maps).
  • Variant 8 for UNISYS Series A SDF format.
  • Variant Y for IBM 38.
  • Variant O for AS 400.
  • Variant M for GCOS6-DTF-DFC-Vision.
  • Variant 7 for VPLUS.
1
  • Variants 0, X for IMS (IBM) (programs and MFS maps).
  • IMS (IBM) (programs and MFS maps).
  • Variant 2 for IBM 36, map in color.
  • Variant 3 for PC/MICROFOCUS (OS2).
  • Variants 4, 5, 6 for VIP TYPE.
2
  • Variants 0, 1, X for CICS (IBM), BMS map in color.
  • Variant 3 for MICROFOCUS (UNIX).
3 Variants 0, X for IMS (IBM), MFS map in color.
4
  • Variants 0, X for IMS (IBM) monitor.
  • Variant 3 for IBM VISUALAGE COBOL Program.
5 Variants 0, X for CICS (IBM) monitor.
C
  • Variants 4, 5, 6, U for MULTI-TERMINAL
  • Variants 0, 1, X for CICS MULTI-TERMINAL.
  • Variant K for ICL.
  • Variant 8 for UNISYS Series A Logical Screen.
F
  • Variant 4 for TDS FORMS (BULL GCOS7).
  • Variant M for DM6 TP FORMS.
  • Variant R for ’TPSVRINIT service’ type Program or ’TPSVRDONE service’ type Program.
R Variant F for ’REQUESTER’ type Program. or variant R for ’CLIENT’ type Program.
S Variant F for ’SERVER’ type Program. or variant R for ’SERVICE’ type Program.
Alphanumeric delimiter
This is the character used to delimit alphanumeric literals in COBOL programs generated by the system.
Depending on the value in the COBOL type field, the default option will be:
  • a single quote for IBM variants type,
  • double quote for other variants.
Note: If you keep these default options, the single and double quotes, if any, included in the Data Element clear names will appear as blanks in the -CE tab.
Decimal point delimiter
When using the On-Line Systems Development function , this field specifies the character to be used as the decimal separator:
  • . period,
    Example: 1000.00
  • , comma,
    Example: 1000,00.
Century system date
This option enables you to make sure that the System Date indicates the century in the generated applications:
Values Comments
N

When using COBOL II or COBOL 85.

This is the eafault value at Generation parameters creation.

If the year is smaller than the value entered in the Century reference date field, it is prefixed by 20. If it is greater, it is prefixed by19.

C

When using COBOL II or COBOL 85 compatible with year 2000.

Direct retrieval of the System Date including the century according to the COBOL capabilities.

W

For the use of other COBOL languages.

A value is set for the century as with the N value.

Century reference date
This is a reference year for calculation of century during a Date transformation containing only the year. The default value at the creation of the Generation parameters is 61.
This calculation is done in the following cases:
  • The System Date does not include the century and the calculation is performed with the N or W value entered in the Century system date field.
  • Use of a date transformation operator. The calculation mode depends on the operator used.
Generated date format
When using the On-Line Systems Development function, this field specifies the date format to be used in generated programs:
Values Comments
E MM/DD/YY format.
F DD/MM/YY format.
Comments insertion option
You can use the O or N values but you are advised to rather use the Y or S values presented in the table:
Values Comments
Y

The titles and frames of (sub-)functions as well as the inserted comments (’*’ operator) are present in the generated COBOL.

Moreover punctuation is automatically calculated for comment lines which do not include a block type.

The block type of the next processing is then taken into account for this calculation.

S

The titles and frames of (sub-)functions as well as the inserted comments (’*’ operator) are ignored at generation time.

O

Same as the Y value, except for the BATCH Function in which the punctuation of comments is not calculated ; it varies according to the block type present on these lines.

N

Default option when the Library is created. Same as the S value, except for the Pacbench C/S and OLSD Functions, in which the inserted comments lines (’*’ operator) are included in the generated COBOL.


Terms of use | Feedback

This information center is powered by Eclipse technology. (http://www.eclipse.org)