Skip to main content

This article explains how to use a file of compiler directives without defining them on SDE.

Problem:

We use SDE to create, modify and compile COBOL modules. How can a file of compiler directives be used without defining them on the SDE menu?

Resolution:

SDE reads the file cobol.dir that is on the current directory. This is a example of a cobol.dir file :

P(cobsql) end-c config=./config/mypcbcfg.cfg endp

Some compiler directives are defined in the SDE menu, therefore the values of these directives that are defined in cobol.dir are not the values that are using by SDE . For example, to create a list file, the option list of the SDE menu must be used.

Old KB# 14515