Use of logical names

Here you can discuss the universal Integrated Development Environment for OpenVMS.
Post Reply

Topic author
brianreiter
Active Contributor
Posts: 26
Joined: Fri Jun 14, 2019 4:17 pm
Reputation: 0
Status: Offline

Use of logical names

Post by brianreiter » Mon Sep 23, 2019 4:17 am

Hi Folks,

Would it be possible to use logical names to reference source directories etc. rather than relative to the login directory?

Our build environment relies heavily on logical names, especially useful where we have to work on several different versions of an application.

No great worries if it can't be done but it would make it easier to persuade engineers to use the IDE if it could use logical names.

cheers

Brian


sergey_vorfolomeev
VSI Expert
Valued Contributor
Posts: 99
Joined: Thu Aug 22, 2019 12:17 am
Reputation: 0
Status: Offline

Re: Use of logical names

Post by sergey_vorfolomeev » Tue Sep 24, 2019 7:19 am

you can use concealed logical names, just start root folder with "/", for example
root: "/MY$DISK/source"
but we have no particular folders for output files, all of them inside the root folder
Last edited by sergey_vorfolomeev on Tue Sep 24, 2019 7:22 am, edited 1 time in total.


Topic author
brianreiter
Active Contributor
Posts: 26
Joined: Fri Jun 14, 2019 4:17 pm
Reputation: 0
Status: Offline

Re: Use of logical names

Post by brianreiter » Tue Oct 01, 2019 4:38 am

I can get logical names to work if they're in the group table but not otherwise. So for example /BUILD_ROOT/SOURCE (i.e. BUILD_ROOT:[SOURCE]) works if BUILD_ROOT is in the group table, but not if its in the process or job table (i.e. setup as part of login.com).

Does the IDE SSH client somehow manage to avoid completing login.com? Things seem to be fine when using SSH via putty, in that the logical name I'd expect to be configured are present.


Topic author
brianreiter
Active Contributor
Posts: 26
Joined: Fri Jun 14, 2019 4:17 pm
Reputation: 0
Status: Offline

Re: Use of logical names

Post by brianreiter » Thu Oct 03, 2019 6:20 am

OK, not sure if it helps matters much but I was interested in why I got different results between an interactive SSH login and what the IDE is doing. Turning on SSH debug gave a big file but showed the following:

For the IDE login we get:

Code: Select all

debug( 2-OCT-2019 15:37:15.48): Ssh2ChannelSession/SSHCHSESSION.C:2922: session request 'subsystem' received
For an interactive login (via putty) we get:

Code: Select all

debug( 2-OCT-2019 15:34:16.96): Ssh2ChannelSession/SSHCHSESSION.C:2922: session request 'pty-req' received
debug( 2-OCT-2019 15:34:16.97): Ssh2ChannelSession/SSHCHSESSION.C:2922: session request 'shell' received
Which is followed some time later by:

Code: Select all

debug( 2-OCT-2019 15:34:16.97): openvms_emulation_server/OPENVMS_EMULATION_SERVER.C:1542: ovms_start_login entered
debug( 2-OCT-2019 15:34:16.97): wait_for_loginoutexe entered at  2-OCT-2019 15:34:16.97
debug( 2-OCT-2019 15:34:16.97): wait_for_loginoutexe sees child running image
debug( 2-OCT-2019 15:34:17.07): wait_for_loginoutexe sees child running image DEVSYS$DKA0:[SYS0.SYSCOMMON.][SYSEXE]SET.EXE
debug( 2-OCT-2019 15:34:17.07): wait_for_loginoutexe exiting at  2-OCT-2019 15:34:17.07, after 1 waits of 1/10 second
debug( 2-OCT-2019 15:34:17.07): openvms_specific/OPENVMS_SPECIFIC.C:905: add to uai_list: UAI$_LASTLOGIN_I=2-OCT-2019 15:34:17.07
debug( 2-OCT-2019 15:34:17.07): openvms_specific/OPENVMS_SPECIFIC.C:911: add to uai_list: UAI$_LASTLOGIN_N=2-OCT-2019 15:05:21.03
debug( 2-OCT-2019 15:34:17.37): 00000030: 662f 7072 6f63 2073 7973 246c 6f67 696e  f/proc sys$login
The IDE variant doesn't show any calls to loginout.exe so presumably skipping anything which would be setup in login.com.

No wiser, but using group wide logical names is the easy workaround for now.


sergey_vorfolomeev
VSI Expert
Valued Contributor
Posts: 99
Joined: Thu Aug 22, 2019 12:17 am
Reputation: 0
Status: Offline

Re: Use of logical names

Post by sergey_vorfolomeev » Fri Oct 04, 2019 12:45 am

VMS IDE has two types of SSH connections: SFTP for synchronization and SSH SHELL for building. May be first case doesn't call login...


Topic author
brianreiter
Active Contributor
Posts: 26
Joined: Fri Jun 14, 2019 4:17 pm
Reputation: 0
Status: Offline

Re: Use of logical names

Post by brianreiter » Tue Oct 08, 2019 8:42 am

OK, so it looks as though this:

https://community.hpe.com/t5/Operating- ... ZyAKVVKios

is still the case.

Does this still occur with the new VSI TCPIP stack?

Post Reply