The following list consists of our recommendations while using the inline code in Toolset:
These sections may be added to support file access from COBOL action diagrams.
Note: Type these sections in upper-case followed by a period as shown above.
Important! The Inline Code statement allows the user the ability to add code for any supported language, database, and environment that is supported by CA Gen, but the user will occasionally encounter circumstances where the code will not compile, link, or execute. This may be true even for code that was previously working in an External Action Block.
The following are a couple of mainframe specific types of coding, that we are aware of, that the current implementation of the inline code statement will not support:
EXEC CICS: These types of statements will not work even if CICS is selected as the target environment for the application. The reason is that EXEC CICS code must be translated before it can be compiled and using either the separate CICS translator or the CICS-integrated translator modifies the application code in ways that require extra processing that is currently not handled by Gen application generation and installation.
WebSphere MQ statements: While it may be possible to reference queues that were created to use with the Gen application, because we have no mechanism currently to define other queues to the application so this will make it difficult to use MQ constructs within an Inline Code statement. Also, there are differences in the link deck that are required to use MQ API statements which are currently not supported by Gen application installation.
There are bound to be other circumstances where code will not work in an Inline Code statement and we welcome input from our customers about these situations and will update the Best Practices Guide to document them so that other users will benefit from the experiences. We also welcome any input into how we might be able to support these unsupported coding circumstances and, depending on the level of customer desire for the functionality, we will add this functionality to our backlog to be worked on at the soonest possible time.
|
Copyright © 2014 CA Technologies.
All rights reserved.
|
|