Title: | DECmcc user notes file. Does not replace IPMT. |
Notice: | Use IPMT for problems. Newsletter location in note 6187 |
Moderator: | TAEC::BEROUD |
Created: | Mon Aug 21 1989 |
Last Modified: | Wed Jun 04 1997 |
Last Successful Update: | Fri Jun 06 1997 |
Number of topics: | 6497 |
Total number of notes: | 27359 |
Hi, I'm trying to encode the common exception NO SUCH ENTITY and its argument ARG_UNK_ENTITY (p. 801 of the SRM). I've found an example of ILV encoding for an entity specification in the Toolkit Reference (p 5-23), but I don't know how to build such an encoding using ILV routines ! The entity name I would like to encode is in an AES form. I've done: mcc$ilv_put_param_begin (MCC$K_NO_SUCH_ENTITY) mcc$ilv_put_cons_begin (MCC$K_ARG_UNK_ENTITY) loop mcc$aes_get ???? end loop mcc$ilv_put_cons_end mcc$ilv_put_param_end and I can't find what to put in the construction. Could someone help me ? -- Paul
T.R | Title | User | Personal Name | Date | Lines |
---|---|---|---|---|---|
128.1 | mcc$ilv_put handles AES | TOOK::HAO | Wed May 09 1990 17:27 | 17 | |
The MCC$ILV_PUT routine can handle an entire AES. You don't have to pull it apart in order to encode it. What you do is set up an MCC descriptor where the mcc$a_pointer field points to your AES, and then call MCC$ILV_PUT using that descriptor. Here's series of steps: mcc$ilv_put_param_begin (MCC$K_NO_SUCH_ENTITY) mcc$ilv_put (mcc descriptor) mcc$ilv_put_param_end By the way, the MCC$K_ARG_UNK_ENTITY argument ID goes into the mcc$l_id field of the descriptor. Hope this helps... Christine |