[Search for users] [Overall Top Noters] [List of all Conferences] [Download this site]

Conference iosg::all-in-1_v30

Title:*OLD* ALL-IN-1 (tm) Support Conference
Notice:Closed - See Note 4331.l to move to IOSG::ALL-IN-1
Moderator:IOSG::PYE
Created:Thu Jan 30 1992
Last Modified:Tue Jan 23 1996
Last Successful Update:Fri Jun 06 1997
Number of topics:4343
Total number of notes:18308

958.0. "UDP getting current message" by NCBOOT::HARRIS (oooppps) Mon Jun 29 1992 22:16

    hi -
    
    my customer has the following UDP, it will bring the last READ message
    into his current reply.  What he wants is a UDP that will bring what
    ever is in the current item block into the reply.
    
    is there a way to "code" a UDP to get whatever is in the CIB? i've
    tried using symbols in the UDP, but it didn't work.
    
    	thanks - ann
T.RTitleUserPersonal
Name
DateLines
958.2A little more information, please, AnnSHALOT::NICODEMAvoid traffic; leave work at noonMon Jun 29 1992 22:4916
	If I understand the problem, the user is creating a reply (via Answer?)
to a mail message, and wants to include the text of the message in the CIB...
Is that right?  If so, then I'm confused.  Not only will Gold-O do this already,
but your original statement seems at odds.

�    my customer has the following UDP, it will bring the last READ message
�    into his current reply.  What he wants is a UDP that will bring what
�    ever is in the current item block into the reply.
 
	In order to do an Answer, the message you're answering must be the
current message.  How are these two different?  Won't the last-read message
*be* the current message (i.e., the one you're Answering)?

	What symbols have you looked at?  OA$CURDOC?  OA$CURMES?

	F
958.3leave at 11 to avoid lunch rush!NCBOOT::HARRISooopppsMon Jun 29 1992 23:3328
    Frank,
    
    i'm having the same problems understanding what he wants to, but just
    thought i'd take a stab at it and see if its plausible.  he's out of
    town til wednesday. thanks for the consideration!
    
    	Ann
    
    PS - your personal name - words to live by!
    
    a little more information -
    
    this is the original note i got from the customer requesting this -
    (typos and spelling and grammar are all his)
    
    	1. First after i read a message many times i want t send an
    reply/answer. But I want to comment on the origanal senders questions.
    SO I use the following udp procedure to get the last read document and
    insert it into my reply.
    
    	I type: "A" for answer, then "S" for sender or "A" for all then I
    activate this procedure(udp)
        .
    	.
        .
    2. The probelm is it always inserts the last read message and what I
    want is to insert the message in the current info window.
    
958.4A crude and mostly effective UDPMSORAO::VICKERSRearranging the DEChairsTue Jun 30 1992 04:0025
    One small problem with .2 may be that the user is using ALL-IN-1 V2 and
    WPS-PLUS which means that GOLD O results in a bell or other friendly
    behavior as I recall (and just verified on a V2.4 system).

    At the end of this reply is a UDP which uses the OA$CURMES_ORIG_MSGID
    symbol which contains the document number of the original message.  The
    'logic' is to allow the user invoke the UDP from within the editor and
    the UDP will do a GOLD G of the document by clearing all but the
    document number in which the aforementioned symbol is placed.

    Hope it helps,
    don

! Get_Orig.UDP          Get the original message into the current message
!
{GOLD G}
DOC{CR}
{UP}
{LF}
{TAB}
{LF}
{TAB}
.PROCESS OA$CURMES_ORIG_MSGID "{CR}"
!
! [End]
958.5getting by with a little helpNCBOOT::HARRISooopppsTue Jun 30 1992 16:327
    Thanks Don!  Sometimes the crude ways are the most effective!  I think
    this will work.  I should hear back from the customer tomorrow.
    
    BTW - I thought Frank had made a typo with GOLD O (thought he meant
    GOLD G). GOLD O does nothing on our system here.
    
    	Thanks!		Ann
958.6GOLD/O only works in EDT (in V2.4!)IOSG::PYEGraham - ALL-IN-1 Sorcerer's ApprenticeTue Jun 30 1992 16:400