[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

1019.0. "CNS on X400 wraps too early on 1st line" by LEMAN::PUNKIE::REGINA (Carrie's in the carrot land) Thu Jul 09 1992 18:31

I have been looking for this in STARS and this notesfiles (looking for
400 and nicknames), so I am sorry if I overlooked it.

When you do a CNS on an X.400 address, the nickname wraps at 57 in the 
first line and makes the nickname address thus useless.

Is there a workaround?

/rhr
T.RTitleUserPersonal
Name
DateLines
1019.1A 5 minute fixAIMTEC::WICKS_ADEC Mail Works for ME sometimesThu Jul 09 1992 19:5774
    Regina,
    
    yes this is very strange - maybe you're the first person who tried it?
    if so I was the second and I got the same thing i.e a nickname that
    looked like
                                     Nickname Entry
    
     Nickname:     DEF
    
     Mail Address: 
    aaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaa
    aaaaaaa@bbbbbbbbbbbbbbbbbbbbbbbbbbbbbbbbbbbbbbbbbbbbbbbbbbbbbbbb
    ccccccccccccccccccccccccccccccccccccccccccccccccccccccccc@dddddd
    dddddddddddddddddddddddddddddddddddddddddddd
    
    the original wrap at 57 is even weirder when you notice the strange 
    behaviour on lines 2 and 3 caused by trying to write 78 characters 
    (see form EM$CNS) to fields REALNAME2, 3 and 4 that are
    actually only 64 characters long!!
    
    the real nickname should look like:
    
    Nickname:     ABC
    
     Mail Address: 
    aaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaa@
    bbbbbbbbbbbbbbbbbbbbbbbbbbbbbbbbbbbbbbbbbbbbbbbbbbbbbbbbbbbbbbb@
    ccccccccccccccccccccccccccccccccccccccccccccccccccccccccccccccc@
    dddddddddddddddddddddddddddddddddddddddddddddddddddddddddddddddd
    
    I put the '@' characters at the end of the line so you could see what
    happened when you use the unmodified form
    
    Now using CM (of course) if you take the form EM$CNS and change the 56
    and 78s to 64s 
    
    
    ;;.TYPE;;
    
    ARG /OVERLAY/HARD=EM$_CNS_HRD_TITLE/POST="IFEXIT\
     WRITE ADD NIENTR NICKNAME = NICKNAME,
     REALNAME = #EMAON:64,
     REALNAME2 = #EMAON:64:64,
     REALNAME3 = #EMAON:64:128,
     REALNAME4 = #EMAON:64:192\
     GET OA$DISPLAY EM$_CNS_NICKNAME_CREATED"
     /PRE= "GET #EMAON = CAB$.FROM_ADDRESS[OA$CURDOC]"
    
    ;;ADDRESS1;;
    
    /GET_SAVE = #EMAON:64/HARD=OA$_GBL_HRD_ADD_LINE_1
    
    ;;ADDRESS2;;
    
    /GET_SAVE = #EMAON:64:64/HARD=OA$_GBL_HRD_ADD_LINE_2
    
    ;;ADDRESS3;;
    
    /GET_SAVE = #EMAON:64:128/HARD=OA$_GBL_HRD_ADD_LINE_3
    
    ;;ADDRESS4;;
    
    /GET_SAVE = #EMAON:64:192/HARD=OA$_GBL_HRD_ADD_LINE_4
    
    ;;NICKNAME;;
    
    /INVALID=NIENTR.NICKNAME[.NICKNAME]/HARD=OA$_NI_HRD_NICKNAME
    
    You need to tidy up the screen field lengths as well but it appears to
    work without it.
    
    Regards,
    
    Andrew.D.Wicks (ex Nicknames developer)

1019.2AN tooCOPCLU::ELINElin Christensen @DMO, DTN 857-2406Fri Feb 12 1993 14:4430
    AN does the same.
    I have just written an SPR on it:
    
    ---
    Long nicknames created with the AN option don't work properly.
    -------------------------------------------------------------
    
    Reproducable:
    EM C create a mail. In the TO: field, do a DDS search, select a long
    x.400 address. Then select AN in order to add this address to your
    nickname file.
    The nickname gets created without error messages.
    But if it is more than 56 characters long, it gets wrapped and becomes
    invalid.
    
    A TIMA STARS article describes the same problem with the CNS option and
    suggests a change to form EM$CNS. I would guess that the same solution
    can be applied to form DDS$ADD$NICKNAME.
    
    Let me know if this will be done by the MUPA, or if I should tell the
    customer to customize the two forms. They are running on a test system
    now and plan to upgrade their production cluster with 3000 IOS users to
    v3.0 in a month or two.
    ---
    
    I now see that I forgot to put the name of the article into my SPR. 
    It is "V3.0 Creating Nicknames From Long Address Not Working Properly"
    in database OA1. (And contains Andrews 5 minute fix.)
    
    Elin
1019.3Look in A1INFO for PFP infoAIMTEC::WICKS_AWALES 10 England 9Fri Feb 12 1993 17:1112
    Elin,
    
    Sorry can't talk about any possible future patch in this notesfile
    but if you look in ABBOTT::A1INFO you just might see a proposed list
    of contents and will then be able to tell what the best course of
    action is for your customer. Since you've just reported the AN problem
    I think you can possibly make an assumption about the answer -
    possibly!
    
    Regards,
    
    Andrew.D.Wicks