Operating System - OpenVMS
1753532 Members
5950 Online
108795 Solutions
New Discussion юеВ

Re: 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 20
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.
Hunter Goatley
Advisor

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

Hunter Goatley
Advisor

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/
Hunter Goatley
Advisor

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
Hunter Goatley
Advisor

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