Library Definition

You use this tab to specify the COBOL type, the skeleton language, and the options that are associated with dates.

COBOL type
The value that you select is used to automatically adapt the instances that are generated with the Library parameters to the requested COBOL type.

Some COBOL types cannot be used to generate any entity type. They are indicated as deprecated in the following table. Other COBOL types can be used to generate some entity types only. They are indicated as generatable in the following table. For more information, see the Program Definition tab, Dialog or Screen Definition tab, Server Dialog or Server Definition tab, and Copybook Definition tab.

Table 1. Generation variants
Variant types Generatable variants Deprecated variants
0: IBM MVS/ESA OS/390   X
1: IBM DOS/VSE   X
3: UNIX, WINDOWS X  
4: BULL GCOS7 X  
5: BULL GCOS8   X
8: UNISYS A   X
C: COBOL source code X  
F: TANDEM   X
I: DEC/VAX VMS   X
K: ICL   X
O: AS/400 X  
Q: ACUCOBOL X  
U: UNISYS 2200 X
X: IBM MVS/ESA OS/390 X  
Z: IBM AIX X  
Generated language
You select the program generation language, according to the hardware in use.
  • C: COBOL.
  • COBOL II, 85, LE. It is the default value. When Pacbase applications are migrated, this value is forced by default on all the migrated Libraries.
Map type
You select the transaction monitor variant for the generation of Screens and Servers. The authorized variants depend on the entity type. For more information, see the Dialog or Screen Definition tab and Server Dialog or Server Definition tab.
Alphanumeric delimiter
This character delimits alphanumeric literals in the generated COBOL programs.

Depending on the value in the COBOL type field, this option can be a quotation mark (') for an IBM COBOL type or double quotation marks (") for the other COBOL types.

Decimal point delimiter
This field specifies the character to be used as the decimal separator:
  • . period (1000.00 for example)
  • , comma (1000,00 for example)
Century system date
This parameter defines how the century is calculated in the generated applications.
Table 2. Specification of the century system date
Values Comments
N With COBOL II or COBOL 85.

It is the default value.

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

C With COBOL II or COBOL 85 compatible with the year 2000.

Direct retrieval of the system date with the century according to the COBOL capabilities.

W With other COBOL languages.

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

Century reference date
This parameter defines how the century is calculated if the date includes the year only. The default value upon the creation of the generation parameters is 61.
This calculation occurs in the following cases:
  • The system date does not include the century. The century is calculated by entering N or W in the Century system date field.
  • A date transformation micropattern is used. The calculation mode depends on the micropattern.
Generated date format
This field contains the date format to be used in the generated programs:
  • E for a MM/DD/YY format
  • F for a DD/MM/YY format
Generated skeleton language
If you extracted instances from Pacbase and imported them into your workspace, this field contains the value of the skeleton language in Pacbase. When you generate from your workspace, you are sure to use the same skeleton language. The COBOL code of both generations is then consistent.

It automatically applies to all the instances that are generated with the Library parameters.


Feedback