Use of logical names
-
Topic author - Active Contributor
- Posts: 26
- Joined: Fri Jun 14, 2019 4:17 pm
- Reputation: 0
- Status: Offline
Use of logical names
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
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
-
- VSI Expert
- Master
- Posts: 101
- Joined: Thu Aug 22, 2019 12:17 am
- Reputation: 0
- Status: Offline
Re: Use of logical names
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
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 - Active Contributor
- Posts: 26
- Joined: Fri Jun 14, 2019 4:17 pm
- Reputation: 0
- Status: Offline
Re: Use of logical names
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.
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 - Active Contributor
- Posts: 26
- Joined: Fri Jun 14, 2019 4:17 pm
- Reputation: 0
- Status: Offline
Re: Use of logical names
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:
For an interactive login (via putty) we get:
Which is followed some time later by:
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.
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
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
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
No wiser, but using group wide logical names is the easy workaround for now.
-
- VSI Expert
- Master
- Posts: 101
- Joined: Thu Aug 22, 2019 12:17 am
- Reputation: 0
- Status: Offline
Re: Use of logical names
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 - Active Contributor
- Posts: 26
- Joined: Fri Jun 14, 2019 4:17 pm
- Reputation: 0
- Status: Offline
Re: Use of logical names
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?
https://community.hpe.com/t5/Operating- ... ZyAKVVKios
is still the case.
Does this still occur with the new VSI TCPIP stack?