What increments(and/or decrements) the CA ADSO link level? Is it just LINK and RETURN control commands?
search cancel

What increments(and/or decrements) the CA ADSO link level? Is it just LINK and RETURN control commands?

book

Article ID: 28498

calendar_today

Updated On:

Products

IDMS IDMS - Database IDMS - ADS

Issue/Introduction

The control commands that affect the link level are LINK/INVOKE/RETURN. LINK and INVOKE increment and RETURN        
decrements it. A LEAVE ADS also returns the level to 0 because it will exit and application immediately skipping
all previous levels.                  
                                                                           
The EXECUTE NEXT FUNCTION works in conjunction with the control commands assigned to the application response in ADSA.                              
                                                                           
For example, whatever control command is assigned to a response such as ACRFND shown below is what
will be used with this EXECUTE NEXT FUNCTION:                         
 MOVE 'ACRFND' TO AGR-CURRENT-RESPONSE.                                    
    EXECUTE NEXT FUNCTION                                                   
                                                                            
In ADSA the response could be anyone of these below. all the LINK's,        
INVOKE's and RETURN's affect the link level:                                
Control command. . . . . .  3   1. Transfer                2. Invoke         
                                       3. Link                           4. Return         
                                       5. Return continue          6. Return clear   
                                       7. Return continue clear  8. Transfer       
                                       9. Invoke nosave           10. Link nosave  
This example does a LINK. 
 

Environment

Release: IDADSO00100-18.5-ADS-for CA-IDMS
Component: