Operating System - OpenVMS
cancel
Showing results for 
Search instead for 
Did you mean: 

Write a Program to login to Pathworks

 
SOLVED
Go to solution
Hamiltro
Occasional Advisor

Write a Program to login to Pathworks

Hi

I was want to know if it is possible to create a program that logs into pathworks for greater premission, then preform pathworks commands based on user input.

Programming in DCL, Openvms 7.3.

This is for a Captive account, would like to make everything program driven.

Thanks
6 REPLIES 6
Hoff
Honored Contributor

Re: Write a Program to login to Pathworks

I'm not familiar with logging into PATHWORKS as a specific task. Are you authenticating to a domain or to the PATHWORKS Server or such, or invoking commands specific to PATHWORKS Server, or some other such?

Program driven? Do you mean "menu-driven"?

A few more words around what you're looking to do here and around what (privileged) commands you're looking to invoke here on behalf of the user, please?

And given this is PATHWORKS and there are usually Windows boxes around, are you looking to grant this access to OpenVMS capabilities directly to Windows users, or are the users (as is usually implied by "Captive") logging directly into OpenVMS to perform these tasks?

Given the cited OpenVMS version and the continued use of PATHWORKS, this is OpenVMS VAX V7.3, right?
Hamiltro
Occasional Advisor

Re: Write a Program to login to Pathworks

Pathworks is a Program used to enable the ability to share files between Openvms and PCs. It is a Openvms Alpha 7.3.

from the prompt you type in Administer login return then it prompt for username and password. Is there anyway for me to write a program (DCL) that would do all of that. Thanks for the help
Hoff
Honored Contributor

Re: Write a Program to login to Pathworks

Ok, PATHWORKS Server on OpenVMS Alpha V7.3. Cool.

This configuration was replaced by Advanced Server many years ago, and which has itself been replaced by HP CIFS package on OpenVMS Alpha. The current CIFS package - which is a port of Samba to OpenVMS - requires OpenVMS Alpha V8.2.

http://h71000.www7.hp.com/network/cifs_for_samba.html

If you can get to V8.2 or to the current V8.3 release (and which isn't a "major upgrade" from V7.3, BTW), then the CIFS package is free.

Ok, enough with the background details.

Kindly post whatever commands and the command sequences you're looking to use here. I'd prefer to confirm what DCL or PATHWORKS command sequence(s) you're seeking to automate here, rather than to guess.
Karl Rohwedder
Honored Contributor
Solution

Re: Write a Program to login to Pathworks

The login state is preserved between different invocations of the ADMINISTER utility. So you may put the login sequence into a commandfile, e.g.
$ ADMIN
login user "password"
and call the ADMIN utilty later on in your menu procedures. The normal warnings ... for putting passwords into files apply...

regards Kalle
Hamiltro
Occasional Advisor

Re: Write a Program to login to Pathworks

Thanks
$ admin login "username" "password
Bill Pedersen
Regular Advisor

Re: Write a Program to login to Pathworks

While the documentation on line here at HP is for Advanced Server 7.3B it is really just Pathworks with a new name. So the information about how the command work are still pretty consistent.

See:

http://h71000.www7.hp.com/doc/82final/6544/6544pro.html

for ADMINISTER commands. Actually everything you want to do, assuming it is via the ADMINISTER command, can be done from DCL and therefore from a menu driven, captive account, including the login.
Bill Pedersen
CCSS - Computer Consulting System Services, LLC