Previous Topic: Sample OSCaR ApplicationNext Topic: System Records


OSCaR to APPC Mapping

The following table outlines the conversions which can be used to map OSCaR commands to standard APPC commands. This will allow any CA IDMS/ADS dialog using the OSCaR verb set to communicate with any other program using the standard LU6.2/APPC verb set.

Command

Present State

APPC Result

ADS Equivalent

#TREQ Assembler Equivalent

OPEN

*With LU-NAME or ADSLUNAM defined

Reset

ALLOCATE

Allocate...

#TREQ Alloc...

LU-NAME and ADSLUNAM not defined

Reset

GET_ ATTRIBUTES

Control- Session no format

#TREQ UIOCB...

SEND

Send

SEND_DATA

Send-Data

TREQ Put...

 

Receive

REQUEST_TO_ SEND

SEND_DATA

Request-To- Send

Send-Data

#TREQ Put

optns= signal

#Treq Put...

CLOSE

Deallocate

DEALLOCATE_ LOCAL

Deallocate Local

#TREQ Get... (receive deallocate )

 

Send

DEALLOCATE_ SYNC_LEVEL

Deallocate Sync-Level

#TREQ Put

optns= last

RECEIVE

Receive

RECEIVE_ AND_WAIT

Receive- And-Wait

#TREQ Get...

 

Send

PREPARE_TO _RECEIVE

RECEIVE_ AND_WAIT

Prepare-To -Receive

Receive- And-Wait

#TREQ Put

optns= invite

#TREQ Get...

*ADSLUNAM is a user-defined User-Profile attribute. This can be used to define a default LU name for OPEN commands. Additionally, ADSMODE may be used to define a default MODE name for the OSCaR OPEN command. For more information about user profiles, see the CA IDMS Security Administration Guide.