Unanswered: Precompiler option to avoid 'BEGIN DECLARE SECTION'
I am working with DB2 v8 in an AIX operative system trying to compile COBOL programs.
I would like to avoid de DB2 sentence 'BEGIN DECLARE SECTION' to define 'variables host' in the working storage section of the cobol program, but I can't find wich is the precompiler directive to do it.
In know than in DB2 v7 in operative system z/OS (In a Mainframe) the precompiler directive is STDSQL(NO) but I can't find the equivalent in AIX.
DB2 for MVS (from which DB2 for zOS is a direct decendant) was written before there was an SQL Standard. Consequently it has options for ignoring the standard that DB2 for LUW doesn't have - otherwise working code would break.
There's nothing to stop you adding the DECLARE SECTION statements.