![]() The other reason is, most of the programs do lot of DB2 operations than CICS operations. If translation is done first, CICS translator tries to recognize to DB2 statements and would issue diagnostic messages. But as a convention we are first doing precompilation. Logically speaking the order of DB2 precompiler and CICS translator can be reversed also. If your Program has DB2 commands then the sequence of preparing load module would be DB2 Pre-compiler, CICS Translator, COBOL Compiler and Link editor. The program is first passed to CICS Translator and the translator will convert all the CICS commands to COBOL call statements and this modified source is passed to COBOL compiler. So all the CICS commands are coded within EXEC CICS and END-EXEC scope. COBOL programs cannot recognize CICS commands. ![]()
0 Comments
Leave a Reply. |
AuthorWrite something about yourself. No need to be fancy, just an overview. ArchivesCategories |