I've been trying to get it to work on UD6.0PE on Windows. I haven't been able to get 
newpcode to work. I think I tried almost every possible permutation of basictype, 
path, and method of cataloging.
 
However, I did figure out the secrets to !NEWVERSION.
 
First: login to the session that you are running !NEWVERSION from as ADMINISTRATOR (a 
user in the administrators group won't do it).
 
Second: the path is case-sensitive. To get the correct casing you can to a !CMD at the 
ECL prompt and CD to the correct directory. If you used the PE default it will be: 
C:\IBM\ud60\sys\CTLG\t\ (assuming the subroutine starts with a T).
 
FYI: the !cmd works in UD - unlike D3NT. Although as of version 6.0 we lost the 
ability to pipe output to more and do interactive FTP sessions.
 
hth
Colin Alfke
Calgary, Canada

        -----Original Message----- 
        From: Allen E. Elwood (CA) [mailto:[EMAIL PROTECTED] 
        Sent: Fri 03/09/2004 2:35 PM 
        To: [EMAIL PROTECTED] 
        Cc: 
        Subject: RE: [U2] Unidata shared memory and catalogs
        
        

        You know......right after I wrote this, it occurred to me that Tony G. could
        put a call to NEWPCODE inside of the processes that are running, so that at
        THE APPROPRIATE POINT the code could actually check to see if there was a
        new version of the subroutine (via a flag in a file) and if so, force a
        NEWPCODE of a subroutine.
        
        This would need to be done from the MAIN program that called the subroutine,
        not the subroutine itself.  Each process could post to the flag, it's port
        number so that each process would only do this once.  This way, when the
        calling program called the subroutine, it would be the new version, instead
        of the old version.
        
        Gosh, that's a bit of an inspiration, eh?
        
        I would not try this in a production env until I had tested the heck out of
        it!!!!!!!!!

[demime 1.01d removed an attachment of type application/ms-tnef which had a name of 
winmail.dat]
-------
u2-users mailing list
[EMAIL PROTECTED]
To unsubscribe please visit http://listserver.u2ug.org/

Reply via email to