You can test all the generated C applications using the Diagram Trace Utility on NonStop. Each application requires transaction codes to map to the correct Procedure Steps and Action Blocks.
After you enable the Diagram Trace Utility, invoke your application based on the information provided in the following table:
|
C Application |
Invocation or Access Method |
How Trancode is Obtained |
|---|---|---|
|
Distributed Processing Server |
Pathway through RSC/MP |
Transaction Mapping Table |
|
Block Mode Commandline Nodisplay |
Pathway through non-TCP Requester |
Transaction Mapping Table |
|
Block Mode Interactive |
Pathway through AEF |
Transaction Mapping Table |
While testing an application, any of its procedure steps or action blocks that have been generated with trace will communicate with the Diagram Trace Utility. The application screens (Block Mode only) will be updated after control is returned from the Diagram Trace Utility.
The Diagram Trace Utility lets you step through the execution of the application by viewing the sequence of action block calls and action diagram statements being executed as the generated program executes.
Note: For more information, see the Diagram Trace Utility User Guide.
When a remote server application is started, one copy of the applini file for that application is available. Setting the trace environment variables within this applini file will allow only one Diagram Trace Utility to trace any of the servers that make up this server application.
Test environments involve multiple testers working with the same server application. In this scenario, you need to debug from multiple client workstations and therefore, use multiple Diagram Trace Utilities.
A client transaction can transfer its host and port information of the client that is executing it. By providing this information, the server can establish communication with the Diagram Trace Utility running on that client workstation.
Follow these steps:
The Diagram Trace Utility on the client workstation will be used to trace the server for each transaction initiated from that client.
The code generated on the CA Gen Workstation for testing with trace includes features, such as trace calls, that are only needed during testing. These features increase the size of the load module significantly and impact the application's performance. Even if no changes are required as a result of the tests performed, you must regenerate the load module without trace before it is placed into production.
|
Copyright © 2015 CA Technologies.
All rights reserved.
|
|