Compaq AAR-88LB-TE manual Recompiling and Relinking, Running Version 2 Applications

Page 32
Running Version 2 Applications

Running Version 2 Applications

6.1 Comparison of OpenVMS API and Portable API

Table 6–1 OpenVMS API and Portable API Comparison

OpenVMS API (Version 2)

Portable API (Version 3)

 

 

$dcl_tx_prc( )

rtr_open_channel( )

$start_tx( )

rtr_start_tx( ) [optional]

$commit_tx( )

rtr_accept_tx( )

$abort_tx( )

rtr_reject_tx( )

$vote_tx( )

rtr_accept_tx( )

 

rtr_reject_tx( )

$deq_tx( )

rtr_receive_message( )

$enq_tx( )

rtr_send_to_server( )

 

rtr_reply_to_client( )

 

rtr_broadcast_event( )

$dcl_tx_prc( ) (SHUT)

rtr_close_channel( )

$get_txi( )

rtr_request_info( )

$set_txi( )

rtr_set_info( )

ASTPRM (on asynch calls)

rtr_set_user_handle( )

-

rtr_error_text( )

-

rtr_get_tid( )

-

rtr_prepare_tx( )

-

rtr_set_wakeup( )

 

 

OpenVMS API calls are obsolete and supported only on OpenVMS systems.

6.2 Recompiling and Relinking

There is no need to recompile and relink RTR Version 2 applications to run them on RTR Version 3.

To link RTR application programs, include the following line in the linker options file:

SYS$SHARE:LIBRTR/SHARE

An existing RTR Version 2 application will run on RTR Version 3.

However, if the application is recompiled, you must supply all parameters for any RTR call. For example, the $ENQ_TX service has eleven parameters, some of which were optional in RTR Version 2. All eleven must be supplied if the application is recompiled with RTR Version 3.

Note

If recompiling an RTR Version 2 application not written in C, use appropriate include files from the RTR Version 2 kit to ensure correct compilation. With the RTR Version 3 API, C is the only language for which a header file is provided.

6–2Running Version 2 Applications

Image 32
Contents Reliable Transaction Router Migration Guide JuneOperating System Compaq Computer Corporation Houston, TexasFirst Printing, December Revised, June Contents InstallationNetwork Issues Preface8 Problem Diagnosis and Reporting System Management6 Running Version 2 Applications Performance TipsIndex Tables Page Organization of This Guide PrefaceAudience Conventions Related DocumentsReaders Comments monospace Page 1.1 Why Migrate? Introduction1.3 Reading Guidelines Introduction 1.1 Why Migrate?1.2 Goals and Nongoals Installation 2.1 Cleaning Up the Old Version 2 EnvironmentInstallation 2.2 Preserving the Old Environment 2.2 Preserving the Old Environment2.3 Can Both RTR Version 2 and Version 3 Coexist On the Same Node? 2.5 Process QuotasTable 2-1 OpenVMS Limits 2.6 Journal IssuesInstallation 2.5 Process Quotas Installation 2.6 Journal Issues 2.6.1 Removing the Old Journal 2.7 Rights and Privileges2.8 Memory and Disk Requirements 2.6.2 Journal Compatibility2.9 Rollback to RTR Version 2.8 Memory and Disk RequirementsDEASSIGN/SYSTEM/EXEC RTRSHR Table 2-2 OpenVMS Disk RequirementsPage 3.2 Command Server Process Architectural Changes3.1 RTR Daemon Process 3.3 The Shared Library LIBRTR.EXE3.4 The ACP Process 3.5 Interprocess Communication3.6 Shared Memory Parameters 3.7 Counters3.9 Server-Process Partition States 3.8 Quorum IssuesArchitectural Changes 3.8 Quorum Issues Page 4.2 TCP/IP Support Network Issues4.1 DECnet Support 4.3.1 Supported Products Network Issues 4.3 Specifying a Preferred Transport4.3 Specifying a Preferred Transport System Management 5.1 OpenVMS Quotas5.2 Startup 5.3 Creating Facilities5.4 Interoperability 5.5 MonitoringSystem Management 5.4 Interoperability 5.5.1 RTR Version 2 Screens5.5 Monitoring 5.5.3 User Parsing of Monitor Output5.5.4 User Customized Monitors Table 5-3 New RTR Version 3 Monitor Pictures5.6 Remote Command Support 5.9 Using RTR Version 2 Command Procedures5.10 Command Line Interface Support for RTR Version 2 API 5.11 Interpreting Output from SHOW Commands5.12 Comparing RTR Version 2 and Version 3 Utility Commands System Management 5.11 Interpreting Output from SHOW CommandsTable 5-4 Cont. Changed SHOW COMMANDS Table 5-5 Obsolete OpenVMS RTR Utility Commands5.12 Comparing RTR Version 2 and Version 3 Utility Commands Table 5-6 Cont. New OpenVMS RTR Utility CommandsRunning Version 2 Applications 6.1 Comparison of OpenVMS API and Portable API6.2 Recompiling and Relinking Running Version 2 Applications6.1 Comparison of OpenVMS API and Portable API Table 6-1 OpenVMS API and Portable API ComparisonRunning Version 2 Applications 6.2 Recompiling and Relinking 6.2.1 RTR Version 2 Applications Running on RTR Version6.3 Running Applications Installed with Privileges 6.3 Running Applications Installed with Privileges6.4 Application Level Interoperability 6.5 Support for $GETTXI6.8 Current Issues 6.6 Threaded Applications6.7 DDTM Support Running Version 2 Applications 6.6 Threaded ApplicationsPage Performance Tips 7.1 Process Quotas7.2 Journal Sizing 7.3 RTR Startup Qualifiers7.6 Simultaneous Multiprocessing Performance Tips 7.6 Simultaneous MultiprocessingProblem Diagnosis and Reporting 8.2 RTRERROR.LOG File8.1 RTR Operator Log 8.3 Dump File8.6 Contents of the RTR Journal File Problem Diagnosis and Reporting 8.4 Producing and Directing a Trace1. Enter the SHOW PROCESS RTRACP/CONTINUOUS OpenVMS command 4. Enter the OpenVMS ANALYZE/SYSTEM SET PROCESS RTRACP commandIndex