docs.intersystems.com
MultiValue Quick Start Tutorial
Executing PROCs
[Home] [Back] [Next]
InterSystems: The power behind what matters   
Search:    

MyAccount has a PROC named SHOW.PERSON. To execute the PROC, enter SHOW.PERSON at the MultiValue prompt and then enter HAIR or AGE when prompted by the PROC:
MyAccount:SHOW.PERSON
SORT BY HAIR OR AGE?
?AGE     
Caché displays the following:
LIST PERSON NAME PHONE BY AGE BREAK.ON AGE... 12:08:04pm  08 Jan 2014  PAGE    1
PERSON....    NAME.....................    PHONE.......    AGE.......
 
5             DOE,ELIZABETH                222-333-4444    25
                                           333-111-1616
                                                       ***
2             SMITH,JANE                   111-222-3333    33
                                           222-333-4444
                                                       ***
3             SMITH,JOHN                   111-000-0000    35
                                           111-111-0000 
4             JONES,JANE                   222-111-1111    35
                                           222-222-1111
                                                       ***
1             IDLE,JIM                     555-123-1234    42
                                           555-432-4321
                                           666-435-0101
 
                                                           
Press any key to continue...
 
LIST PERSON NAME PHONE BY AGE BREAK.ON AG... 12:08:12pm  08 Jan 2014  PAGE    2
PERSON....    NAME.....................    PHONE.......    AGE.......
 
                                                            *** 
5 Items listed.   


Send us comments on this page
Copyright © 1997-2019 InterSystems Corporation, Cambridge, MA