View previous topic :: View next topic |
Author |
Message |
Param Beginner

Joined: 31 Mar 2003 Posts: 16 Topics: 7
|
Posted: Fri Oct 10, 2003 9:59 am Post subject: Compilation of COBONLDB pgm |
|
|
Folks,
Which should be done first: Db2 precompilation or CICS translation in a COBONLDB program? And the reason for this specific order
Thanks in advance,
Param |
|
Back to top |
|
 |
kolusu Site Admin

Joined: 26 Nov 2002 Posts: 12378 Topics: 75 Location: San Jose
|
Posted: Fri Oct 10, 2003 10:25 am Post subject: |
|
|
Param,
The sequence does not really matter. The preffered method is to pre-compile first followed by CICS translation.
The reason is simple. If you do CICS translation before the pre-compilation, then there will be a warning message from the CICS translator for each EXEC SQL statement it encounters. However they are just warnings , so it will not have any effect on the result.The output from CICS translator will fill up your log with the warning messages.If you are using double-byte character sets (DBCS), it is recommended that you precompile before translating
Another reason is that DB2I program preparation panels are also designed in such a way that you Use the DB2 precompiler first, followed by the CICS Command Language Translator.
Hope this helps...
cheers
kolusu |
|
Back to top |
|
 |
Param Beginner

Joined: 31 Mar 2003 Posts: 16 Topics: 7
|
Posted: Sun Oct 12, 2003 11:23 pm Post subject: |
|
|
Thanks Kolusu... |
|
Back to top |
|
 |
|
|