[mod.computers.vax] UIS Problem on MicroVax II Workstation

JEUCK@SRI-KL.ARPA.UUCP (02/06/87)

     I am having a problem with UIS routines on a color uVax II
workstation that maybe someone can help me with.  It's probably
something obvious but it is not jumping out at me.

     Given a virtual display with graphic objects and a display
window, I extract the header into buffer1 of length1, the region into
buffer2 of length2 and the trailer into buffer3 of length3 as per the
example in VMS Workstation Software Graphics Programming Guide,
Section 15.2.4. The aim then is to redisplay this display.  To do
this I combine the three buffers into a single buffer of
length=length1 + length2 + length3.  I then erase the display and
attempt to recreate it using UIS$EXECUTE with the combined buffer.
This results in a runtime error with message

     %UIS-F-BAD_OPCODE Unrecognized generic encoding

Any suggestions?  The manual gives a very nice example of creating
the buffers but nothing about redisplaying them.
-------