Compaq AAPVNFGTE - Manuals
Compaq AAPVNFGTE – Manual in PDF format online.
Manuals:
Manual Compaq AAPVNFGTE
Summary
Contents Preface . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . vii 1 Service Format 1.1 Routine Names . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 1–1 1.2 Format . . . . . . . . . . . . . . . . . . . . . . . ....
2.11 acmsdi_sign_in . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 2–26 2.12 acmsdi_sign_out . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 2–29 3 Portable API Presentation Procedures 3.1 Summary of Portable API Presentation Procedures . . ...
Preface This manual provides reference information for the TP Desktop Connectorclient services, formerly known as the ACMS Desktop Portable API. Intended Audience This guide is intended for application programmers, application designers, andsystem managers. Manual Structure This manual has the follo...
• Compaq TP Desktop Connector for ACMS Installation Guide Provides the steps needed to install a TP Desktop Connector gateway on anOpenVMS system and the TP Desktop Connector software on the desktopclient system. • Compaq TP Desktop Connector for ACMS Gateway Management Guide Contains information ab...
Conventions This guide uses the following conventions and symbols: TP Desktop Connector Refers to the Compaq TP Desktop Connector for ACMSsoftware. User Input In examples, user input is highlighted with bold type. $ The dollar sign indicates a generic command line prompt.This prompt may be different...
1 Service Format This chapter describes the format and elements of the service descriptionsprovided in following chapters. This chapter also provides a list of the servicesand the appropriate session environments in which each service may be used. 1.1 Routine Names The TP Desktop Connector service n...
1.3.1 Type Entry Table 1–2 lists the C-language data types used in the TP Desktop Connectorservices. Table 1–2 Parameter Data Types Data Type Description ACMSDI_CALL_ID Identification returned by the acmsdi_call_taskservice ACMSDI_FORM_RECORD Structure defined in the ACMSDI.H include file (seeSectio...
Table 1–2 (Cont.) Parameter Data Types Data Type Description longword 32-bit unsigned integer ptr Longword pointer to data buffer short Synonym for short int short int 16-bit signed integer unsigned long int 32-bit unsigned integer void * Pointer to object of unknown type 1.3.2 Access Access describ...
Table 1–4 Parameter-Passing Mechanisms Mechanism Description By value The parameter contains a copy of the data to be used by the routine. By reference The parameter contains the address of the data to be used bythe routine. The parameter is a pointer to the data. Because Csupports only call by valu...
In a forced nonblocking environment, service routines provide a method ofpolling that is used to determine the type of message sent from the back-endserver. This message type may then be used to determine the appropriateaction (for example, process the call completion or exchange step). The forcedno...
Table 1–5 (Cont.) Matrix of Services and Environments Service Availability within Environment Blocking Nonblocking Forced Nonblocking Callbacks acmsdi_transceive See description in Section 3.10 - yes - acmsdi_write_msg See description in Section 3.11 - yes - acmsdi_check_version See description in S...
2 TP Desktop Connector Portable API Client Services This chapter describes the Compaq TP Desktop Connector portable API clientservices available on the following desktop systems: • Microsoft Windows • Compaq OpenVMS • Compaq Tru64 UNIX 2.1 Summary of Portable API Client Services Similar to the Compa...
Table 2–1 (Cont.) Summary of Portable API Client Services Service Description acmsdi_complete_pp Used by nonblocking environments only. Sends a responsefrom a presentation procedure request to the TP DesktopConnector gateway. acmsdi_dispatch_message Used by nonblocking environments only. Checks for ...
client service returns the ACMSDI_PENDING status. If a status other thanACMSDI_PENDING is returned, the completion routine is not called. If nonblocking calls are active, use the acmsdi_dispatch_message service topoll for responses from the TP Desktop Connector gateway. When a responseis received, a...
call_context Type: void *Access: readMechanism: by valueSupplies application-specific context to the completion routine. If specified onacmsdi_call_task, acmsdi_sign_in, acmsdi_cancel, or acmsdi_sign_out service,the call_context is passed by the TP Desktop Connector client services to thecompletion ...
Example 2–1 Workspace Structure Definition and Initialization typedef struct { unsigned int length; /** length of workspace **/ void *data; /** pointer to workspace **/ } ACMSDI_WORKSPACE; ... #define ACMSDI_INIT_WORKSPACE(_wksp, _rec)\{\ _wksp.length = sizeof(_rec);\_wksp.record = &(_rec);\ } T...
2.4.2 ACMSDI_WORKSPACE_OPT Structure The ACMSDI.H file contains the definition of the ACMSDI_WORKSPACE_OPTtype you use to declare workspaces passed to tasks using the ACMSDI_CALL_TASK service. You can use ACMSDI_WORKSPACE_OPT instead of ACMSDI_WORKSPACE. Only task calls that use the ACMSDI_TASK_OPTI...
Example 2–4 (Cont.) Passing Two Workspaces struct { int id_number;char first_name[15];char last_name[25]; } employee_record; ACMSDI_INIT_WORKSPACE_OPT (wksp_array[0], control_wksp, ACMSDI_ACCESS_READ);ACMSDI_INIT_WORKSPACE_OPT (wksp_array[1], employee_record, ACMSDI_ACCESS_WRITE); 2.4.3 ACMSDI_WORKS...
You can use the ACMSDI_FORM_RECORD_BIND structure to locate sendcontrol text and receive control text buffers. Both acmsdi_bind_send_args andacmsdi_bind_receive_args services contain arguments to specify whether or notto transfer control text. If you specify to transfer control text, the followingru...
Caution Use the ACMSDI_CALL_OPT_OPTIMIZE_WKSPS option and theACMSDI_WORKSPACE_OPT type definition together to optimizeunidirectional workspace traffic. Do not use one without the other.The acmsdi_call_task client service uses the presence or absence ofthe workspace optimization option to decide whic...
To select options: 1. Declare an array of at least two elements of the type ACMSDI_OPTION. 2. Specify in the option variable the name tag for the structure being used. 3. End an options list by assigning ACMSDI_OPT_END_LIST to the optionvariable in the last array element. Example 2–5 initializes an ...
Example 2–6 Dynamically Specifying a TCP/IP Port Identifier int status;ACMSDI_SUBMITTER_ID subm_id;long tcpip_port = 1000;ACMSDI_OPTION options[2];options[0].option = ACMSDI_OPT_COMMID;options[0].CommID = tcpip_port;options[1].option = ACMSDI_OPT_END_LIST; status = acmsdi_sign_in ("N2001", /...
acmsdi_call_task 2.6 acmsdi_call_task TP Desktop Connector client programs call this service to execute a task in aACMS application. Format acmsdi_call_task (submitter_id, [call_options],task_name,application_name,selection_string,status_message,workspace_count,[workspaces],[call_id],[completion_sta...
acmsdi_call_task task_name Type: char *Access: readMechanism: by referenceThe name of the task to execute. Maximum length is 31. application_name Type: char *Access: readMechanism: by referenceThe specification of a ACMS application in which the task resides. Theapplication name must be a valid appl...
acmsdi_call_task workspace_count Type: long intAccess: readMechanism: by valueThe decimal number of workspaces being passed to the task. workspaces Type: ACMSDI_WORKSPACE or ACMSDI_WORKSPACE_OPT arrayAccess: read/writeMechanism: by referenceOne or more optional workspaces to be passed to the task. Y...
acmsdi_call_task completion_routine Type: function address 1 Access: readMechanism: by valueAddress of a function to be called when the service completes. The completion_routine is called by the acmsdi_dispatch_message service when the " End of Task " message is received from the TP Desktop ...
acmsdi_cancel 2.7 acmsdi_cancel TP Desktop Connector client programs call this service in a nonblocking orforced nonblocking environment to cancel a currently active ACMS task. Usethe acmsdi_cancel service only if you invoke a task using nonblocking services.Do not use the acmsdi_cancel service from...
acmsdi_cancel reserved Type:Access:Mechanism:This parameter is reserved for future use. Specify as NULL. completion_status Type: long intAccess: writeMechanism: by referenceOptional parameter to contain the final completion status of the service.The completion_status is set to ACMSDI_PENDING when th...
acmsdi_cancel Table 2–3 acmsdi_cancel Return Status Values Status Description ACMSDI_CANCELACTV Cancel already in progress. ACMSDI_EXCHACTV Service cannot be called from presentationprocedure. ACMSDI_INSUFPRM Insufficient parameters. ACMSDI_INTERNAL Internal ACMS error. ACMSDI_INVCALLID Invalid or o...
acmsdi_complete_pp 2.8 acmsdi_complete_pp TP Desktop Connector client programs call this nonblocking service to completeexchange step processing for a submitter. An application must call thisservice to complete an outstanding presentation procedure request fromthe TP Desktop Connector gateway in a n...
acmsdi_complete_pp Table 2–4 acmsdi_complete_pp Return Status Values Status Description ACMSDI_INSUFPRM Insufficient parameters. ACMSDI_INTERNAL Internal TP Desktop Connector error. ACMSDI_INVCALLID Invalid or obsolete call identification. ACMSDI_INVSUBID Invalid or obsolete submitter identification...
acmsdi_dispatch_message 2.9 acmsdi_dispatch_message TP Desktop Connector client programs call this nonblocking service to checkfor and process messages sent from a TP Desktop Connector gateway to anactive submitter in the desktop application. The application must periodicallycall this service in a n...
acmsdi_dispatch_message Table 2–5 (Cont.) acmsdi_dispatch_message Return Status Values Status Description ACMSDI_NORMAL Normal successful completion. ACMSDI_SRVDEAD Node name is invalid, or TP DesktopConnector gateway is not running onthe specified node, or the network linkterminated. 2–24 TP Deskto...
acmsdi_return_pointer 2.10 acmsdi_return_pointer TP Desktop Connector client programs written in Visual Basic use theACMSDI_RETURN_POINTER service to create the workspace array for theACMSDI_CALL_TASK routine. When passing a workspace, the ACMSDI_CALL_TASK service expects a data structure with the s...
acmsdi_sign_in 2.11 acmsdi_sign_in TP Desktop Connector client programs call this service to sign a user in to aACMS system. Format acmsdi_sign_in (submitter_node, username,password,[options],submitter_id,[completion_status],[completion_routine], 1 [call_context]) Parameters submitter_node Type: cha...
acmsdi_sign_in options Type: ACMSDI_OPTION arrayAccess: readMechanism: by referenceUnion containing multiple structures and an option variable, the value ofwhich defines the type of option being selected (see Section 2.5.1). submitter_id Type: ACMSDI_SUBMITTER_IDAccess: writeMechanism: by referenceA...
acmsdi_sign_in Return Status The status values returned by the acmsdi_sign_in service are listed inTable 2–6. Table 2–6 acmsdi_sign_in Return Status Values Status Description ACMSDI_CALLACTV Call is active. ACMSDI_INSUFPRM Insufficient parameters. ACMSDI_INTERNAL Internal TP Desktop Connector error....
acmsdi_sign_out 2.12 acmsdi_sign_out TP Desktop Connector client programs call this service to terminate an activesession with a ACMS system. To insure that all network links are properlyshut down, the desktop client program calls the acmsdi_sign_out service beforeterminating. Format acmsdi_sign_out...
acmsdi_sign_out call_context Type: void *Access: readMechanism: by valueOptional parameter passed to presentation procedures and completion routinesto identify the call. Use this parameter to supply application-specific contextfor the call. Return Status The status values returned by the acmsdi_sign...
3 Portable API Presentation Procedures This chapter describes the interface between the TP Desktop Connectorgateway and customer-written presentation procedures. It also describes theinterfaces on portable clients for customer-written action routines to performversion checking. 3.1 Summary of Portab...
Table 3–1 (Cont.) Summary of Portable API Presentation Procedures Customer-Supplied Procedure Description acmsdi_request Services a TDMS Request exchange, which displaysa form and transfers data between a form and theapplication program. acmsdi_send Services a DECforms send request, which sendsdata ...
3.1.2 ACMSDI_FORM_RECORD Structure and Macro Call Defined in the ACMSDI.H file, the ACMSDI_FORM_RECORD type declaresform records and shadow records passed to and from presentation procedures.The code in Example 3–1 defines the ACMSDI_FORM_RECORD type and amacro ACMSDI_INIT_FORM_RECORD to initialize ...
3.3 Blocking and Nonblocking Usage Like the portable TP Desktop Connector client services, presentationprocedures can be either blocking or nonblocking. If the desktop clientprogram supplies the completion_routine parameter in the acmsdi_call_taskcall, the service behaves in the nonblocking environm...
acmsdi_disable 3.4 acmsdi_disable TP Desktop Connector services call this procedure for each active forms sessionfor a desktop submitter whenever the TP Desktop Connector client programcalls acmsdi_sign_out to sign the submitter out of the ACMS system. Format acmsdi_disable (forms_session, call_id,c...
acmsdi_enable 3.5 acmsdi_enable TP Desktop Connector client services call this presentation procedure whenevera DECforms ENABLE request is received from the TP Desktop Connectorgateway on the OpenVMS system. Format acmsdi_enable (submitter_id, forms_session,file_specification,form_specification,form...
acmsdi_enable file_specification Type: char *Access: readMechanism: by referenceThe form file specification from the ACMS task group definition. Refer toCompaq TP Desktop Connector for ACMS Client Application ProgrammingGuide for guidelines on specifying the form file specification. form_specificati...
acmsdi_enable Return Status The status values returned by the acmsdi_enable procedure are described inSection 3.1.1. 3–8 Portable API Presentation Procedures
acmsdi_read_msg 3.6 acmsdi_read_msg TP Desktop Connector client services call this presentation procedure whena TDMS Read exchange is received from the TP Desktop Connector gatewayon the host OpenVMS system. Its function is to display the prompt (if any)sent from the ACMS task and then to acquire th...
acmsdi_read_msg call_id Type: ACMSDI_CALL_IDAccess: readMechanism: by referenceThe call identification returned by the acmsdi_call_task service which initiatedthe ACMS task associated with this exchange. call_context Type: void *Access: readMechanism: by valueApplication-specific context for the cal...
acmsdi_receive 3.7 acmsdi_receive The TP Desktop Connector client services call this presentation procedurewhenever a DECforms RECEIVE request is received from the TP DesktopConnector gateway on the OpenVMS system. Format acmsdi_receive (forms_session, receive_record_identifier,receive_record_count,...
acmsdi_receive receive_control_text Type: char *Access: writeMechanism: by referenceA 25-character string that the customer-supplied request can use to returnreceive control text. receive_control_text_count Type: long intAccess: writeMechanism: by referenceThe number of receive control text items th...
acmsdi_receive receive_record Type: ACMSDI_FORM_RECORD arrayAccess: writeMechanism: by referenceAn array of ACMSDI_FORM_RECORD structures pointing to buffers thatstore application data and shadow records from the request (see Section 3.1.2). Return Status The status values returned by the acmsdi_rec...
acmsdi_request 3.8 acmsdi_request TP Desktop Connector client services call this presentation procedure whenevera TDMS Request exchange is received from the TP Desktop Connector gatewayon the OpenVMS system. Format acmsdi_request (submitter_id, request_name,workspace_count,workspaces,call_id,call_co...
acmsdi_request workspaces Type: ACMSDI_WORKSPACE arrayAccess: read/writeMechanism: by referenceThe workspace data sent from the ACMS task. One or more optionalworkspace arguments can be sent from the task (see Section 2.4). call_id Type: ACMSDI_CALL_IDAccess: readMechanism: by referenceThe call iden...
acmsdi_send 3.9 acmsdi_send TP Desktop Connector client services call this presentation procedure whenevera DECforms SEND request is received from the TP Desktop Connector gatewayon the OpenVMS system. Format acmsdi_send (forms_session, send_record_identifier,send_record_count,receive_control_text,r...
acmsdi_send receive_control_text Type: char *Access: writeMechanism: by referenceA 25-character string that the customer-supplied request can use to returnreceive control text. receive_control_text_count Type: long intAccess: writeMechanism: by referenceThe number of receive control text items that ...
acmsdi_send send_record Type: ACMSDI_FORM_RECORD arrayAccess: readMechanism: by referenceAn array of ACMSDI_FORM_RECORD structures pointing to bufferscontaining application data and shadow records sent from the ACMS task(see Section 3.1.2). Return Status The status values returned by the acmsdi_send...
acmsdi_transceive 3.10 acmsdi_transceive TP Desktop Connector client services call this presentation procedure whenevera DECforms TRANSCEIVE request is received from the TP Desktop Connectorgateway on the OpenVMS system. Format acmsdi_transceive (forms_session, send_record_identifier,send_record_cou...
acmsdi_transceive send_record_count Type: long intAccess: readMechanism: by valueThe number of send record items sent from the ACMS task. receive_record_identifier Type: char *Access: readMechanism: by referenceThe form record name or record list name specified in the RECEIVE request inthe ACMS task...
acmsdi_transceive send_control_text_count Type: long intAccess: readMechanism: by valueThe number of send control text items sent from the ACMS task. timeout Type: short intAccess: readMechanism: by valueA timeout value for user input processing, sent from the ACMS task. call_id Type: ACMSDI_CALL_ID...
acmsdi_transceive Return Status The status values returned by the acmsdi_transceive procedure are describedin Section 3.1.1. 3–22 Portable API Presentation Procedures
acmsdi_write_msg 3.11 acmsdi_write_msg TP Desktop Connector client services call this presentation procedure whena TDMS Write exchange is received from the TP Desktop Connector gatewayon the host OpenVMS system. Its function is to display the message text sentfrom the ACMS task in the form’s Message...
acmsdi_write_msg call_id Type: ACMSDI_CALL_IDAccess: readMechanism: by referenceThe call identification returned by the acmsdi_call_task service which initiatedthe ACMS task associated with this exchange. call_context Type: void *Access: readMechanism: by valueApplication-specific context for the ca...
acmsdi_check_version 3.12 Version-Checking Routines The following sections describe the version-checking routines. Version checkingis supported on systems using FORM I/O tasks (see Compaq TP DesktopConnector for ACMS Client Application Programming Guide). 3.12.1 acmsdi_check_version TP Desktop Conne...
acmsdi_check_version Return Status The TP Desktop Connector service checks the status value returned andexpects a valid OpenVMS status. If a failure status is returned, the TPDesktop Connector run-time system terminates the ENABLE request. If the version-checking routine determines that software is ...
acmsdi_get_version 3.12.2 acmsdi_get_version The TP Desktop Connector gateway calls this routine on the OpenVMS systemwhenever it receives an ENABLE request from the EXC. The action routinecan return a version string that is then passed to the desktop client program,allowing a version comparison at ...
4 Forced Nonblocking Client Services This chapter describes the forced nonblocking interface between the TPDesktop Connector gateway and customer-written procedures. 4.1 Summary of Forced Nonblocking Procedures Forced nonblocking client services extend the Portable API to supportdevelopment tools th...
Example 4–1 Form Record Definition typedef struct { unsigned int buffer_len; /** length of caller’s record buffer **/ unsigned int rec_len; /** actual length of the form record **/ void *data_record; /** pointer to data record **/ unsigned int shadow_buffer_len; /** length of callers shadow buffer *...
acmsdi_complete_call 4.2 acmsdi_complete_call The acmsdi_complete_call service is a required call that obtains completionarguments for acsmdi_call_task, acsmdi_sign_in, acmsdi_sign_out, andacmsdi_cancel services. When acmsdi_poll detects completion,acmsdi_complete_call can obtain the completion stat...
acmsdi_complete_call A structure defined in the ACMSDI.H include file into which the acmsdi_call_task service writes a newly created call identification, a handle used by theTP Desktop Connector client services to identify an active call for a submitter.This parameter is required when completing an ...
acmsdi_complete_call Return Status The status values returned by the acmsdi_complete_call procedure aredescribed in Table 4–2. Table 4–2 acmsdi_complete_call Return Status Values Status Description ACMSDI_EXCHACTV Request is invalid while exchange stepprocessing is active. ACMSDI_INSUFPRM Insufficie...
acmsdi_bind_enable_args 4.3 acmsdi_bind_enable_args The client application can call this service whenever acmsdi_poll returnsACMSDI_ENABLE_EXCH from the TP Desktop Connector gateway on theOpenVMS system. This service retrieves the write-only arguments passed fromthe TP Desktop Connector client servi...
acmsdi_bind_enable_args form_version Type: char *Access: writeMechanism: by referenceTwenty-four bytes containing the version number or date supplied by theacmsdi_get_version routine on the OpenVMS system. The argument providesfor version checking by the client application. (The acmsdi_check_version...
acmsdi_bind_enable_args Table 4–3 acmsdi_bind_enable_args Return Status Values Status Description ACMSDI_INSUFPRM Insufficient parameters. ACMSDI_INVSUBID Invalid or obsolete submitter identification. ACMSDI_MIXEDMODE Not a forced nonblocking session. ACMSDI_NORMAL Normal successful completion. ACMS...
acmsdi_bind_msg 4.4 acmsdi_bind_msg The client application can call this service when acmsdi_poll returns ACMSDI_TDMS_READ_EXCH (a TDMS Read exchange) or ACMSDI_TDMS_WRITE_EXCH (a TDMS Write exchange) from the TP Desktop Connector gateway onthe host OpenVMS system. It performs one of the following f...
acmsdi_bind_msg from ACMS. A value of 0 indicates that the message text for a TDMS Readexchange is being copied to ACMS from the application’s memory. length Type: short intAccess: readMechanism: by valueThe length of the text being sent or the length of the buffer to receive the text;specifically o...
acmsdi_bind_msg Table 4–4 acmsdi_bind_msg Return Status Values Status Description ACMSDI_INSUFPRM Insufficient parameters. ACMSDI_INVSUBID Invalid or obsolete submitter identification. ACMSDI_MIXEDMODE Not a forced nonblocking session call. ACMSDI_NORMAL Normal successful completion. ACMSDI_WRONG_BI...
acmsdi_bind_receive_args 4.5 acmsdi_bind_receive_args The client application can call this service whenever an acmsdi_poll returnsACMSDI_RECV_EXCH from the TP Desktop Connector gateway on theOpenVMS system. This service retrieves the write-only arguments passed fromthe TP Desktop Connector client se...
acmsdi_bind_receive_args receive_record_count Type: long intAccess: writeMechanism: by referenceThe number of receive record items sent from the ACMS task. The TP DesktopConnector writes the receive_record_count into this location. timeout Type: short intAccess: writeMechanism: by referenceA timeout...
acmsdi_bind_receive_recs 4.6 acmsdi_bind_receive_recs The client application calls this service to send the client application’s receiveforms record data to the TP Desktop Connector gateway on the OpenVMSsystem. Use this service after you have retrieved the exchange step argumentsthat identify the f...
acmsdi_bind_receive_recs Return Status The status values returned by the acmsdi_bind_receive_recs service aredescribed in Table 4–6. Table 4–6 acmsdi_bind_receive_recs Return Status Values Status Description ACMSDI_INSUFPRM Insufficient parameters. ACMSDI_INVSUBID Invalid or obsolete submitter ident...
acmsdi_bind_request_args 4.7 acmsdi_bind_request_args The client application can call this service whenever acmsdi_poll returnsACMSDI_REQUEST_EXCH (a TDMS exchange step) from the TP DesktopConnector gateway on the OpenVMS system. This service retrieves the write-only arguments passed from the TP Des...
acmsdi_bind_request_args call_id Type: ACMSDI_CALL_ID *Access: writeMechanism: by referenceThe call identification returned by the acmsdi_call_task service. To identifythe original task call, compare this pointer with a reference pointer to the callidentifier obtained by acmsdi_return_pointer. Retur...
acmsdi_bind_request_wksps 4.8 acmsdi_bind_request_wksps The client application calls this service to copy request workspace databetween the client application and the ACMS during a TDMS exchange.Use the acmsdi_bind_request_wksps call to copy request workspace datafrom TP Desktop Connector gateway to...
acmsdi_bind_request_wksps Return Status The status values returned by the acmsdi_bind_request_wksps service aredescribed in Table 4–8. Table 4–8 acmsdi_bind_request_wksps Return Status Values Status Description ACMSDI_INSUFPRM Insufficient parameters. ACMSDI_INVSUBID Invalid or obsolete submitter id...
acmsdi_bind_send_args 4.9 acmsdi_bind_send_args The client application can call this service whenever an acmsdi_poll returnsACMSDI_SEND_EXCH from the TP Desktop Connector gateway on theOpenVMS system. This service retrieves the write-only arguments passed fromthe TP Desktop Connector client services...
acmsdi_bind_send_args send_record_count Type: long intAccess: writeMechanism: by referenceThe number of send record items sent from the ACMS task. TP DesktopConnector writes the send_record_count into this location. timeout Type: short intAccess: writeMechanism: by referenceA timeout value for user ...
acmsdi_bind_send_recs 4.10 acmsdi_bind_send_recs The client application calls this service to retrieve send forms record data fromthe TP Desktop Connector gateway on the OpenVMS system. Use this serviceafter you have retrieved the exchange step arguments that identify the formsrecords required from ...
acmsdi_bind_send_recs Return Status The status values returned by the acmsdi_bind_send_recs service are describedin Table 4–10. Table 4–10 acmsdi_bind_send_recs Return Status Values Status Description ACMSDI_INSUFPRM Insufficient parameters. ACMSDI_INVSUBID Invalid or obsolete submitter identificati...
acmsdi_bind_session_id 4.11 acmsdi_bind_session_id You can issue the acmsdi_bind_session_id service to send the forms session IDargument to ACMS during an enable exchange step. This is an optional call. Format acmsdi_bind_session_id (submitter_id, forms_session) Parameters submitter_id Type: ACMSDI_...
acmsdi_bind_session_id Return Status The status values returned by the acmsdi_bind_session_id procedure aredescribed in Table 4–11. Table 4–11 acmsdi_bind_session_id Return Status Values Status Description ACMSDI_INSUFPRM Insufficient parameters. ACMSDI_INVSUBID Invalid or obsolete submitter identif...
acmsdi_bind_transceive_args 4.12 acmsdi_bind_transceive_args The client application can call this service whenever an acmsdi_poll returnsACMSDI_TRCV_EXCH from the TP Desktop Connector gateway on theOpenVMS system. This service retrieves the write-only arguments passed fromthe TP Desktop Connector cl...
acmsdi_bind_transceive_args send_record_identifier Type: char *Access: writeMechanism: by referenceThe form record name or record list name specified in the SEND request inthe ACMS task. Refer to Compaq TP Desktop Connector for ACMS ClientApplication Programming Guide for guidelines on specifying th...
acmsdi_bind_transceive_args Return Status The status values returned by the acmsdi_bind_transceive_args service aredescribed in Table 4–12. Table 4–12 acmsdi_bind_transceive_args Return Status Values Status Description ACMSDI_INSUFPRM Insufficient parameters. ACMSDI_INVSUBID Invalid or obsolete subm...
acmsdi_poll 4.13 acmsdi_poll TP Desktop Connector client programs call this nonblocking service to checkfor and process messages sent from a TP Desktop Connector gateway to anactive submitter in the desktop application. The application must periodicallycall this service in a forced nonblocking envir...
acmsdi_poll For example, if an acmsdi_call_task completion message is sent from the backend, this is a pointer to the context supplied on the acmsdi_call_task call. This pointer to a structure in the client application’s memory is treated asa 32-bit integer. To determine the structure being referenc...
acmsdi_poll Table 4–13 (Cont.) acmsdi_poll Return Status Values Status Description ACMSDI_SRVDEAD TP Desktop Connector gateway is notrunning on the server node, or thenetwork link has been terminated. ACMSDI_TDMS_READ_EXCH TDMS Read exchange has arrived ACMSDI_TDMS_WRITE_EXCH TDMS Write exchange has...
5 System Management Service on OpenVMS This chapter describes the system management service available onsystems running the TP Desktop Connector gateway. The ACMSDI$GET_SUBMITTER_INFO service returns information about the status of TPDesktop Connector gateway processing on the submitter node. System...
ACMSDI$GET_SUBMITTER_INFO 5.1 ACMSDI$GET_SUBMITTER_INFO This service returns information regarding desktop users signed in to theCompaq ACMS system. The service reports only those users signed in to theTP Desktop Connector gateway running on the same node as the programcalling the ACMSDI$GET_SUBMITT...
ACMSDI$GET_SUBMITTER_INFO ACMSDI$GET_SUBMITTER_INFO calls, if the service returns the statusACMSDI$_NORMAL, the program does not modify the variable value. itmlst Type: longword (unsigned)Access: readMechanism: by referenceItem list describing the information to be reported. Itmlst is the addressof ...
ACMSDI$GET_SUBMITTER_INFO Table 5–1 (Cont.) Submitter Information Item Codes Code Name ACMSDI$K_SUBMITTER_ID Action: Returns the ACMS submitter_ID of the desktop submitter. Description: The buffer address field in the item descriptor is the addressin which the ACMSDI$GET_SUBMITTER_INFO servicewrites...
ACMSDI$GET_SUBMITTER_INFO target_username Type: character string descriptorAccess: readMechanism: by descriptorThe user name on which to report. Return Status The status values returned by the ACMSDI$GET_SUBMITTER_INFO serviceare listed in Table 5–2. Table 5–2 ACMSDI$GET_SUBMITTER_INFO Return Status...
6 Data Compression Monitor Commands This chapter provides a description of the Data Compression Monitorcommands that you can use to monitor compression activity. You can shortenall commands and keywords to the smallest unambiguous abbreviation, whichis at most three characters. See Compaq TP Desktop...
EXIT 6.1 EXIT This command exits the Compression Monitor Activity reporting program. Format EXIT 6–2 Data Compression Monitor Commands
HELP 6.2 HELP Displays the help file, SYS$HLP:ACMSDI$DCM_REPORTER_HLP.TXT. Format HELP Data Compression Monitor Commands 6–3
LIST 6.3 LIST This command generates a report, which you can display on the screen or writeto a file. Format LIST [/qualifier] Qualifiers /APPLICATION=application Allows you to select detailed records associated with the application(s)specified. The application specification can be an ACMS applicati...
LIST /NODE=(node-identifier[,...]) Selects detailed records associated with task calls originating from the clientnode(s) specified. The node-identifier can be a DECnet node name, TCP/IPaddress, or a list of same. If you specify a list, separate the identifiers withcommas and enclose the list within...
LIST all tasks are selected. If tasks specified are part of more than one ACMSapplication, matching task details for all applications are selected, unless younarrow the selection further with the /APPLICATION qualifier. /USER=user-identifier Selects detailed records associated with ACMS task calls e...
LIST 8. /NODE=ALPHA1 Selects all records for task calls from node ALPHA1. 9. /NODE=(LION,TIGER,PANTHR) Selects all records for task calls from nodes LION, TIGER, and PANTHR. 10. /NODE=*CPQ* Selects all records for task calls from nodes that contain CPQ in theirnames. 11. /OUTPUT=DAILY_COMPRESSION.RE...
LIST 19. /USER=MAIN-PLANT Selects all records for sessions established for user identifier MAIN-PLANT. 20. /USER=(SCHMIDT,MASELLA,RAJIV,SWEENEY) Selects all records for sessions established for user identifiers SCHMIDT,MASELLA, RAJIV, and SWEENEY. 21. /USER=SITE3* Selects all records for sessions es...
RENEW 6.4 RENEW This command closes the current log file and opens a new one. The new log fileis a new version of ACMSDI$COMPRESSION.LOG. Format RENEW Data Compression Monitor Commands 6–9
SELECT 6.5 SELECT This command selects records from the log file and writes them to a file fromwhich you can generate customized reports. If you do not specify a qualifier, allrecords are selected. Format SELECT file [/qualifier] Parameters file Is a required parameter that specifies the name of the...
SELECT a default input file using the SET command. To override a default input filesetting, use /INPUT=* on the LIST command. /NODE=(node-identifier[,...]) Selects detailed records associated with task calls originating from the clientnode(s) specified. The node-identifier can be a DECnet node name,...
SELECT identifier(s) have been selected with the SET command. Specifying /USERwith the SELECT command overrides any default user identifiers that mayhave been set. Specifying /USER=* with the SELECT command specifies thatrecords for all user sessions are selected, overriding any defaults that mayhav...
SET 6.6 SET This command sets default values for the LIST and SELECT commands. Allqualifiers, except /BEFORE and /SINCE, can have a default value. You canuse the SHOW command to display the current default settings. When you seta default, it applies to all reports you request with the LIST command a...
SET /OUTPUT=file Directs the report to a file. The file specification must be a valid OpenVMSfile specification. Displaying the report on the screen is the default, unless youspecify the /OUTPUT qualifier with the SET command. Specifying /OUTPUT=*with the LIST command, displays any reports on the sc...
SHOW 6.7 SHOW This command displays the default values for qualifiers of the LIST andSELECT commands, which you have set with the SET command. All commandqualifiers, except /BEFORE and /SINCE, can have a default value. SpecifyingSHOW without any qualifiers displays all defaults. Format SHOW [/qualif...
A Compaq ACMS System Status Values Table A–1 lists the ACMS system status values and their correspondingnumeric values as defined in ACMSDI.H and returned in the err2 parameter,with corresponding symbols. Table A–1 ACMS System Status Values Symbol Value Text ACMSDI_NORMAL 0 Normal completion ACMSDI_...
Descriptions of client messages and server messages are provided in thefollowing files: • SYS$HELP:ACMSDI$CLIENT_MESSAGES.TXT • SYS$HELP:ACMSDI$SERVER_MESSAGES.TXT Compaq ACMS System Status Values A–3
Index A Access in documentation format, 1–3parameter, 1–1 ACMS$DESKTOP_ID submitter description, 5–5 ACMSDI$GET_SUBMITTER_INFO service description, 5–2sample program using, 5–2 acmsdi_bind_enable_args routine description of interface, 4–7 acmsdi_bind_msg routine, 4–10acmsdi_bind_receive_args routine...
ACMSDI_INIT_WORKSPACE data type definition, 2–4 ACMSDI_OPTION array using, 2–11 ACMSDI_OPTION data type structure, 1–2 ACMSDI_OPT_CHECK_VERSION option defined, 2–10example, 2–27 ACMSDI_OPT_COMMID option defined, 2–10example, 2–11 ACMSDI_OPT_END_LIST option defined, 2–10 ACMSDI_OPT_FREE_ROUTINE optio...
F Forced nonblocking services described, 4–1specifying, 2–3summary, 4–1 Form record initialization macro, 3–3type definition, 3–3, 4–2 G Gateway task cancellation status, 2–15, 4–4 H HELP command description, 6–3 L LIST command description, 6–4 M Management service, 5–1 Mechanism parameter, 1–1param...
Session Environments description, 1–4 SET command description, 6–13 SHOW command description, 6–15 SHOW_DESKTOP_USERS program location, 5–2 Sign-in service description, 2–26 Square brackets use in format, 1–1 Status return, 1–4 Submitter identification ACMS, 5–5desktop gateway, 5–4 program for infor...
Compaq Manuals
-
Compaq SDLT 220GB
Manual
-
Compaq 60002MC10
Manual
-
Compaq 3500
Manual
-
Compaq DL580
Manual
-
Compaq PM-1
Manual
- Compaq Presario V2600 Notebook PC Manual
-
Compaq 420C 486 DX4/75 MHZ 420 MB 8 MB 10.4
Manual
-
Compaq SR1109UK
Manual
-
Compaq 326817-003
Manual
-
Compaq 212953-B21
Manual
-
Compaq MS500
Manual
-
Compaq 1000 LX
Manual
-
Compaq M700
Manual
-
Compaq 281862-002
Manual
-
Compaq H3100
Manual
- Compaq 4103TH Manual
-
Compaq JP2
Manual
-
Compaq 320
Manual
-
Compaq 300
Manual
-
Compaq AP230
Manual