MVSFORUMS.com Forum Index MVSFORUMS.com
A Community of and for MVS Professionals
 
 FAQFAQ   SearchSearch   Quick Manuals   RegisterRegister 
 ProfileProfile   Log in to check your private messagesLog in to check your private messages   Log inLog in 

Compilation of COBONLDB pgm

 
Post new topic   Reply to topic   printer-friendly view    MVSFORUMS.com Forum Index -> Application Programming
View previous topic :: View next topic  
Author Message
Param
Beginner


Joined: 31 Mar 2003
Posts: 16
Topics: 7

PostPosted: Fri Oct 10, 2003 9:59 am    Post subject: Compilation of COBONLDB pgm Reply with quote

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
View user's profile Send private message
kolusu
Site Admin
Site Admin


Joined: 26 Nov 2002
Posts: 12378
Topics: 75
Location: San Jose

PostPosted: Fri Oct 10, 2003 10:25 am    Post subject: Reply with quote

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
View user's profile Send private message Send e-mail Visit poster's website
Param
Beginner


Joined: 31 Mar 2003
Posts: 16
Topics: 7

PostPosted: Sun Oct 12, 2003 11:23 pm    Post subject: Reply with quote

Thanks Kolusu...
Back to top
View user's profile Send private message
Display posts from previous:   
Post new topic   Reply to topic   printer-friendly view    MVSFORUMS.com Forum Index -> Application Programming All times are GMT - 5 Hours
Page 1 of 1

 
Jump to:  
You cannot post new topics in this forum
You cannot reply to topics in this forum
You cannot edit your posts in this forum
You cannot delete your posts in this forum
You cannot vote in polls in this forum


MVSFORUMS
Powered by phpBB © 2001, 2005 phpBB Group