From: SMTP%"bart@et.tudelft.nl" 31-OCT-1994 09:48:36.37 To: EVERHART CC: Subj: Re: Finger and Phase-V DECnet From: bart@et.tudelft.nl (Bart Zorn, TUDelft, +31 15 782894) X-Newsgroups: comp.os.vms Subject: Re: Finger and Phase-V DECnet Message-Id: <1994Oct30.171642.4751@tudedb.et.tudelft.nl> Date: 30 Oct 94 17:16:42 +0100 Organization: TU-Delft, dpt of Electrical Engineering Lines: 63 To: Info-VAX@Mvb.Saic.Com X-Gateway-Source-Info: USENET In article <1994Oct30.041429.1@fnalv.fnal.gov>, loreti@fnalv.fnal.gov (Maurizio Loreti) writes: > In article <1994Oct29.165501.4748@tudedb.et.tudelft.nl>, bart@et.tudelft.nl (Bart Zorn, TUDelft, +31 15 782894) writes: >> >> If someone sends me the output of NCP SHOW OBJ CHAR, >> I would be happy to send back the corresponding NCL script. >> >> Regards, >> >> Bart Zorn >> Delft University of Technology > > Thank you Bart :-) > > Under Phase-IV my Finger object was defined as : > > $ NCP DEFINE OBJECT FINGER FILE PUB:[FINGER]FINGER - > NUMBER 117 USER FING$SERVER PASSWORD XXX > > so I guess the output should have been (I don't have a Finger-Phase-IV > VAX for testing) something like > > $ NCP SHO OBJECT FINGER CHAR > Object = FINGER > Number = 117 > File id = PUB:[FINGER]FINGER > User id = FING$SERVER > > Is that enough? > > Maurizio Loreti http://mvxpd5.pd.infn.it/wwwcdf/mlo.html > Un. of Padova, Dept. of Physics - Padova, Italy loreti@padova.infn.it In NCL the DEFINE command does not exist. The object is created every time DECnet/OSI is started, with the NCL SET command. From DECNET_MIGRATE: ! *** Converting the following NCP command to NCL: ! SET OBJECT FINGER FILE PUB:[FINGER]FINGER NUMBER 117 USER FING$SERVER PASSWORD XXX ! Note - Conversion is not supported for attribute: PASSWORD CREATE NODE 0 SESSION CONTROL APPLICATION {{{FINGER}}} SET NODE 0 SESSION CONTROL APPLICATION {{{FINGER}}} ADDRESS={NUMBER=117}, - IMAGE NAME={{{PUB:[FINGER]FINGER}}}, USER NAME={{{FING$SERVER}}} This appears to be not completely correct. In real life only one pair of braces around the address value is required and the 'NODE 0' clause is redundant. The user name value must be enclosed in double quotes in stead of braces. Thus: create session control application FINGER set session control application FINGER address={number=117},- image name=PUB:[FINGER]FINGER, user name="FING$SERVER" This should do it. Let me know if you need more information. Regards, Bart Zorn