dbTalk Databases Forums  

Does the LOGON verb work (D3/NT ver 7.5.6) ?

comp.databases.pick comp.databases.pick


Discuss Does the LOGON verb work (D3/NT ver 7.5.6) ? in the comp.databases.pick forum.



Reply
 
Thread Tools Display Modes
  #1  
Old   
niall@removethisgreatgulfhomes.com
 
Posts: n/a

Default Does the LOGON verb work (D3/NT ver 7.5.6) ? - 03-03-2010 , 07:38 AM






Hi All,

We have an entry in our user coldstart which spawns a phantom
process.
This process reads a list of programs from a control-file and
loops over this list to spawn further phantoms.
A total of five only jobs.

One of these jobs executes a "LOGTO accountname" and the MD entry
of this accountname runs a sequence of programs in an overnight batch
run.


While testing an upgrade from 7.3.6 to 7.5.6, I realised that the
phantom was returning straight away from it's LOGTO : thereby doing
none of the batch processes. It runs fine in the foreground.

Ok, with only a couple of days to my cutover, I decided to hack
out the phantom and try that other unreliable command, LOGON.

I have tried all the examples in the documentation in an effort
to log another port onto D3 to try to get my batch processes to run.
No luck, I'm afraid.

The WHERE status of a free port before my attempt to log it on
(if it is of any value) :

PCB PIB ABS Stat R1 and Return Stack
FID Stat Base

138 0000010A 7310 000018 MD0:000

After attempt to LOGON port :

138 0000010A FF10 000018 LG_ON:000


My question to the group is this : Does anyone have the syntax
of a working LOGON command that I could try ?

Thanks in advance.

Niall Heelan

Reply With Quote
  #2  
Old   
Tony Gravagno
 
Posts: n/a

Default Re: Does the LOGON verb work (D3/NT ver 7.5.6) ? - 03-03-2010 , 10:50 AM






Couple questions:
1) What does TL say about Logto from a phantom working differently?
2) Is the v7.5.x reference manual page on Logon inaccurate?

logon {(p)}
line,user-ID,user-password,md,md-password
'p' Starts process as a phantom line.

See ref for details.
T

Reply With Quote
  #3  
Old   
niall@removethisgreatgulfhomes.com
 
Posts: n/a

Default Re: Does the LOGON verb work (D3/NT ver 7.5.6) ? - 03-04-2010 , 05:38 AM



On Mar 3, 4:37*pm, Ross Ferris <ro... (AT) stamina (DOT) com.au> wrote:
Quote:
Try the "Z" command to spawn a phantom in another account
Hi Russ,

Thanks for the suggestion.
It still comes back with an "Unsuccessful Logon" message.

Regards,

Niall

Reply With Quote
  #4  
Old   
Ross Ferris
 
Posts: n/a

Default Re: Does the LOGON verb work (D3/NT ver 7.5.6) ? - 03-04-2010 , 07:11 AM



On Mar 4, 10:38*pm, "ni... (AT) removethisgreatgulfhomes (DOT) com"
<chicod... (AT) gmail (DOT) com> wrote:
Quote:
On Mar 3, 4:37*pm, Ross Ferris <ro... (AT) stamina (DOT) com.au> wrote:



Try the "Z" command to spawn a phantom in another account

Hi Russ,

* * Thanks for the suggestion.
* * It still comes back with an "Unsuccessful Logon" message.

Regards,

Niall
ummmmmmm,

OK new system & all that ..... does the user exist?!?! with sys2?

Reply With Quote
  #5  
Old   
niall@removethisgreatgulfhomes.com
 
Posts: n/a

Default Re: Does the LOGON verb work (D3/NT ver 7.5.6) ? - 03-04-2010 , 09:41 AM



On Mar 4, 8:11*am, Ross Ferris <ro... (AT) stamina (DOT) com.au> wrote:
Quote:
On Mar 4, 10:38*pm, "ni... (AT) removethisgreatgulfhomes (DOT) com"

chicod... (AT) gmail (DOT) com> wrote:
On Mar 3, 4:37*pm, Ross Ferris <ro... (AT) stamina (DOT) com.au> wrote:

Try the "Z" command to spawn a phantom in another account

Hi Russ,

* * Thanks for the suggestion.
* * It still comes back with an "Unsuccessful Logon" message.

Regards,

Niall

ummmmmmm,

OK new system & all that ..... does the user exist?!?! with sys2?
Hi Russ,


Yep. I am trying to log a port onto DM from my account - SYS2
privileges.
Tried it from DM too : no luck.

I remember way back that the LOGON verb used to work but I've
never had to use it in over 15 years. I was just looking for a simple
example that currently works on D3/NT but I guess it doesn't.


Regards,

Niall

Reply With Quote
  #6  
Old   
Tony Gravagno
 
Posts: n/a

Default Re: Does the LOGON verb work (D3/NT ver 7.5.6) ? - 03-04-2010 , 10:55 AM



If you are not using a user or account password there might be a bug
with null parameters. There was a bug like this in the Z command in
v7.2. Make sure your user and account have a password and try again.

Reply With Quote
  #7  
Old   
Kevin Powick
 
Posts: n/a

Default Re: Does the LOGON verb work (D3/NT ver 7.5.6) ? - 03-04-2010 , 02:53 PM



On Mar 4, 11:55*am, Tony Gravagno
<address.is.in.po... (AT) removethis (DOT) com.invalid> wrote:
Quote:
If you are not using a user or account password there might be a bug
with null parameters. *There was a bug like this in the Z command in
v7.2. *Make sure your user and account have a password and try again.
Not sure it's so much a bug as to a "feature". The z command
definitely works differently during a coldstart, as user DM, than when
you are logged on an interactive session. During a coldstart, the z
command does not prompt for any account level passwords, so if you've
created a PROC with such data stacked, it will fail during coldstart,
though it will run fine during a regular user session.

--
Kevin Powick

Reply With Quote
  #8  
Old   
Tony Gravagno
 
Posts: n/a

Default Re: Does the LOGON verb work (D3/NT ver 7.5.6) ? - 03-06-2010 , 03:21 PM



Kevin Powick wrote:

Quote:
Tony wrote:
If you are not using a user or account password there might be a bug
with null parameters. *There was a bug like this in the Z command in
v7.2. *Make sure your user and account have a password and try again.

Not sure it's so much a bug as to a "feature". The z command
definitely works differently during a coldstart, as user DM, than when
you are logged on an interactive session. During a coldstart, the z
command does not prompt for any account level passwords, so if you've
created a PROC with such data stacked, it will fail during coldstart,
though it will run fine during a regular user session.
That was certainly a bug. Commands should work consistently
regardless of where they're executed. This was fixed somewhere in
v7.4.x.

Reply With Quote
  #9  
Old   
Kevin Powick
 
Posts: n/a

Default Re: Does the LOGON verb work (D3/NT ver 7.5.6) ? - 03-06-2010 , 03:59 PM



On Mar 6, 4:21*pm, Tony Gravagno
<address.is.in.po... (AT) removethis (DOT) com.invalid> wrote:

Quote:
That was certainly a bug. *Commands should work consistently
regardless of where they're executed. *This was fixed somewhere in
v7.4.x.
Or broken again recently, as one of my sites 7.5.x still has this
behaviour.

One thing the OP can try, which is how I discovered this in the first
place, is to reboot the VME in DEBUG mode and see if his coldstart
process raises any errors.

--
Kevin Powick

Reply With Quote
Reply




Thread Tools
Display Modes

Posting Rules
You may not post new threads
You may not post replies
You may not post attachments
You may not edit your posts

vB code is On
Smilies are On
[IMG] code is On
HTML code is Off



Powered by vBulletin Version 3.5.3
Copyright ©2000 - 2012, Jelsoft Enterprises Ltd.