Rational Developer for System z


Language Extension Matching page

Use this page to associate file types with SCLM language types. For example, members of Cobol language, can have a .cbl extension. In this way, editor preferences can be selected based on remote system file types. The mapping of SCLM languages with extensions is only used within the SCLM Developer View and SCLM Explorer View. If you are using the local or remote syntax check services of Rational® Developer for System z®, you must make sure that the extension mappings you assign correlate to the extensions used by the Rational Developer for System z integrated development environment and compilers. Note that SCLM views map extensions to SCLM languages whereas other services within Rational Developer for System z map extensions to data set name patterns. SCLM is different because an SCLM data set can contain members of different languages.

To add an extension, click New and enter the SCLM Language and the extension that it will relate to. A common example is to associate a COBOL language, ENTCOB, to a .cbl extension. By checking the associations that *.cbl has in the base eclipse file types you can associate more advanced editors to work on your code. Select Windows -> Preferences -> General -> Editors -> File Associations to see a listing of file extensions. If the one you want is not displayed, such as .cbl, you can add it by clicking the Add box next to the File Types window. Highlight the language you have just added and click the Add button next to the Associated Editors. From here you can select an internal Editor or an External program. For example, if you are using Rational Developer for System z, the LPEX editor is installed as a plug-in. You can associate this, if it is not already done, with the .cbl extension. This way when you edit your SCLM COBOL program, the LPEX editor is used instead of a text editor. This can give you the look and feel of a z/OS® editor, such as ISPF, plus color coding to assist in development.

To infer extensions from existing language names, click Infer. The names of all of the languages in the cached project information are examined, and a default language for a subset of those languages not currently listed in the table is returned. The subset of languages is the set of languages that are shipped with SCLM as samples in the SCLM sample libraries.
Table 1. Subset of languages
Language starts with... Inferred extension
ARCHDEF txt
ASM asm
ASSEM asm
BMP bmp
BMS bms
C370 c
CICSA asm
CICSC cbl
CICSD cbl
CICSP pli
CLIST txt
CNTL cntl
COB cbl
COPY cbl
CPP cpp
DB2A asm
DB2C cbl
DB2P pli
EXEC rexx
GIF gif
HLA asm
INC pli
JCL jcl
JPG jpg
MFS mfs
PL2 pli
PLI pli
PLX plx
REXX rexx
SOURCE cbl
TEXT txt
WSDL wsdl
XLS xls
XML xml

Terms of use | Feedback



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