Online Expert Day - HPE Data Storage - Live Now
April 24/25 - Online Expert Day - HPE Data Storage - Live Now
Read more
Operating System - OpenVMS
cancel
Showing results for 
Search instead for 
Did you mean: 

getcmd and OpenVMS 8.3

James T Horn
Frequent Advisor

getcmd and OpenVMS 8.3

Does anyone have an updated version of getcmd for OpenVMS 8.3. The source for the latest once built only shows one command line.
20 REPLIES
Craig A Berry
Honored Contributor

Re: getcmd and OpenVMS 8.3

I see the same thing here. Have you availed yourself of the "Contacting the Author" section in the aaareadme.doc? It's quite possible they changed something about the layout of the command buffer in v8.3 and Hunter will need to update the code.

Re: getcmd and OpenVMS 8.3

Please pick up and try the image located here:

ftp://ftp.process.com/vms-freeware/fileserv/special/getcmd-alpha-83.exe

Drop me a mail message and let me know if it works for you or not. Once I know for sure, I'll update the GETCMD.ZIP package. Thanks.

Hunter
Craig A Berry
Honored Contributor

Re: getcmd and OpenVMS 8.3

Not quite there yet:

$ mcr []getcmd-alpha-83.exe 2920
User: CRAIG (PID: 00002920, Prcnam: CRAIG)
DCL commands recalled 4-JAN-2008 14:24:06.33

%SYSTEM-F-ACCVIO, access violation, reason mask=04, virtual address=000000007ADE0000, PC=FFFFFFFF80D11C8C, PS=0000001B

Improperly handled condition, image exit forced by last chance handler.
Signal arguments: Number = 0000000000000005
Name = 000000000000000C
0000000000000004
000000007ADE0000
FFFFFFFF80D11C8C
000000000000001B

Register dump:
R0 = 000000000000A021 R1 = 0000000000020004 R2 = 0000000000010000
R3 = 000000007B63FB40 R4 = 0000000000020004 R5 = FFFFFFFF8005226C
R6 = FFFFFFFF80032266 R7 = 0000000000000001 R8 = 0000000000001388
R9 = 0000000000010588 R10 = 0000000000000010 R11 = 0000000000000002
R12 = 000000007FFCDA98 R13 = 000000007AEE3060 R14 = 0000000000000000
R15 = 000000007AEE2670 R16 = B5BE0030B4BE0028 R17 = 28B49E0020B47E00
R18 = FFFFFFFF8004B049 R19 = 000000007ADE00F8 R20 = 00000000000070D9
R21 = FFFFFFFF80048249 R22 = FFFFFFFF80048249 R23 = 0000000000000001
R24 = 0000000000000001 R25 = 0000000000000001 R26 = 00000000000305E8
R27 = 2800000000000000 R28 = 18B43E0010B75E00 R29 = 000000007ADDD1D0
SP = 000000007ADDD1D0 PC = FFFFFFFF80D11C8C PS = 100000000000001B

Re: getcmd and OpenVMS 8.3

Thanks. I don't actually have a system running V8.3, so I'll have to find one and get back to you.

Hunter
James T Horn
Frequent Advisor

Re: getcmd and OpenVMS 8.3

I got the access violation also.
Craig A Berry
Honored Contributor

Re: getcmd and OpenVMS 8.3

The HP testdrive systems are at v8.3:

http://testdrive.hp.com
Craig A Berry
Honored Contributor

Re: getcmd and OpenVMS 8.3

Sorry, you have to have the www in the test driver URL:

http://www.testdrive.hp.com/

Re: getcmd and OpenVMS 8.3

Thanks. I was able to reproduce the problem on an Integrity system running 8.3. They've obviously changed something about how the recall buffer is laid out, as it works on V8.2 (they changed it between V7.3-2 and V8.2, too).

I'll try to fix it this weekend.

Hunter

Re: getcmd and OpenVMS 8.3

OK, the code didn't change between V7.3-2 with the DCL patch and V8.3, but it did require a relink of the image. Please try the new image:

ftp://ftp.process.com/vms-freeware/fileserv/special/getcmd-alpha-83.exe

I successfully ran this on OpenVMS Alpha V8.3.

Hunter
Karl Rohwedder
Honored Contributor

Re: getcmd and OpenVMS 8.3

When I try that link, I get a :

550 %%RMS-E-DNF, directory not found, [.$ANONYMOUS_ROOT$5Z$8B000000$8D.VMS-FREEWARE.FILESERV.SPECIAL]GETCMD-ALPHA-83.EXE

error.

Kalle

Re: getcmd and OpenVMS 8.3

Looks like your browser is doing something really funky with the filespec. You might try this:

http://vms.process.com/ftp/vms-freeware/fileserv/special/

Or just use an FTP client to go to ftp.process.com and look in [.VMS-FREEWARE.FILESERV.SPECIAL].

Hunter
Karl Rohwedder
Honored Contributor

Re: getcmd and OpenVMS 8.3

Huter,

the latter works. I got the error with Firefox and IE.

kalle

Re: getcmd and OpenVMS 8.3

Has anyone else tried my new image? Did it work for you??

Hunter
Karl Rohwedder
Honored Contributor

Re: getcmd and OpenVMS 8.3

Hunter,

it worked for me (on Alpha V8.3).

regards Kalle
James T Horn
Frequent Advisor

Re: getcmd and OpenVMS 8.3

It works for me. Thank you everyone for your work in getting this working.
Jan van den Ende
Honored Contributor

Re: getcmd and OpenVMS 8.3

James,

please review

http://forums1.itrc.hp.com/service/forums/helptips.do?#33

on saying "Thank you" in these forums.

Proost.

Have one on me.

jpe
Don't rust yours pelled jacker to fine doll missed aches.
DECxchange
Regular Advisor

Re: getcmd and OpenVMS 8.3

Hello,
I ran this version just fine on an OpenVMS 8.3 Alphaserver 4100 system. On this system, I had privileges by default which allowed me to run it.

I then downloaded the getcmd.zip file on a GS1280 cluster running OpenVMS 7.3-2. When I ran getcmd, it said that I have unsufficient privilege. I imagine I must need CMKRNL or such to run this. I don't want to try it unless I know for sure I won't mess something up when it runs.

Can Hunter or somebody who knows tell me if increase my privileges, will running $ GETCMD cause any problems? I setup the foreign command as prescribed in teh aaareadme.doc that was included in the .zip file. Thanks.

Re: getcmd and OpenVMS 8.3

GETCMD does require CMKRNL.

There's always the potential for crashes when running kernel mode code, but I've never had a report of a system crash caused by GETCMD.

Hunter
James T Horn
Frequent Advisor

Re: getcmd and OpenVMS 8.3

Don't I know that. I ran mwait (Kari Salminen) twice and crashed the system both times.
Ian Miller.
Honored Contributor

Re: getcmd and OpenVMS 8.3

re: mwait
Do you mean this one?
http://vms.process.com/scripts/fileserv/fileserv.com?MWAIT

which needs work to be safe on recent VMS.

To find out why a process is waiting try PWAIT from http://eisner.encompasserve.org/~miller/

____________________
Purely Personal Opinion