Operating System - OpenVMS
1752590 Members
2800 Online
108788 Solutions
New Discussion юеВ

decc$to_vms infinite loop on OpenVMS 7.3.1

 
SOLVED
Go to solution
Tomas Stehlik
Occasional Advisor

decc$to_vms infinite loop on OpenVMS 7.3.1

decc$to_vms goes to infinite loop on OpenVMS 7.3.1. Try it itself with attached test taken directly from docu.
9 REPLIES 9
Craig A Berry
Honored Contributor
Solution

Re: decc$to_vms infinite loop on OpenVMS 7.3.1

There was an XQP bug or two in 7.3-1 as shipped. Be sure all your ECOs are current, especially VMS731_F11X, which has something similar to what you are describing in the release notes (though not specifically with decc$to_vms).

You'll find all the 7.3-1 ECOs here:

http://ftp1.support.compaq.com/public/vms/axp/v7.3-1/
Tomas Stehlik
Occasional Advisor

Re: decc$to_vms infinite loop on OpenVMS 7.3.1

Thank's it really helps. Just it is necessary also setup logicals:

decc$efs_case_preserve
Brad McCusker
Respected Contributor

Re: decc$to_vms infinite loop on OpenVMS 7.3.1

Can you tell us exactly how it is that you use that program to get yourself an infinite loop?

Every input I give that program does _not_ result in any looping.
Brad McCusker
Software Concepts International
Tomas Stehlik
Occasional Advisor

Re: decc$to_vms infinite loop on OpenVMS 7.3.1

It happens on ODS-5 disk where are filenames with small letters. When I deassign decc$efs_case_preserve it just repeates filename but in capitals and infinitly loops.

dir test.*
Directory SYS$SYSDEVICE:[UTIL.TMP]

test.c;12 test.EXE;10 test.OBJ;12

>test *.c
Translating: *.c
file: TEST.C.12
file: TEST.C.12
file: TEST.C.12
file: TEST.C.12
.
.
Brad McCusker
Respected Contributor

Re: decc$to_vms infinite loop on OpenVMS 7.3.1

I can't reproduce this on the latest version of the DECC$SHR (on our development system, so, consider it to be V7.3-1+).

Can you tell us what version of the DECC$SHR you are running? $ANAL/IMAGE/SELECT=(DATE,LINK) DECC$SHR.EXE

Here is what I see when I run it:

CRTL_$ define DECC$EFS_CASE_PRESERVE 1
CRTL_$ test test.*
Translating: test.*
file: test.c.12
file: test.EXE.12
file: test.OBJ.12
3 files found
CRTL_$ define DECC$EFS_CASE_PRESERVE 0
%DCL-I-SUPERSEDE, previous value of DECC$EFS_CASE_PRESERVE has been superseded
CRTL_$ test test.*
Translating: test.*
file: TEST.C.12
file: TEST.EXE.12
file: TEST.OBJ.12
3 files found
CRTL_$ deassign decc$EFS_CASE_PRESERVE
CRTL_$ test test.*
Translating: test.*
file: TEST.C.12
file: TEST.EXE.12
file: TEST.OBJ.12
3 files found
CRTL_$ dir test*.*

Directory USER1$:[MCCUSKER.SCRATCH.ITRC]

test.c;12 test.EXE;12 test.OBJ;12

Total of 3 files.
Brad McCusker
Software Concepts International
Tomas Stehlik
Occasional Advisor

Re: decc$to_vms infinite loop on OpenVMS 7.3.1

$ANAL/IMAGE/SELECT=(LINK) sys$library:DECC$SHR*.EXE
SYS$COMMON:[SYSLIB]DECC$SHR.EXE;1
11-DEC-2002 11:19:13.17
SYS$COMMON:[SYSLIB]DECC$SHR_EV56.EXE;1
11-DEC-2002 11:19:26.31

My OpenVMS 7.3.1 was upgraded from 7.2.1 see prod_history.txt

I started to solve this problem because VIM from http://www.polarfox.com/vim/ using decc$to_vms just goes to busy loop.

Last VMS731_F11X V1.0 patch helps to run VIM but even now I can reproduce this loop if decc$case_preserve is unset.
Craig A Berry
Honored Contributor

Re: decc$to_vms infinite loop on OpenVMS 7.3.1

I can easily reproduce the loop using the latest C RTL that is publicly available (i.e., the same one Tomas has, which is VMS731_ACRTL V1.0). The VMS731_F11X V1.0 ECO didn't make any difference; I tried it both before and after.
Brad McCusker
Respected Contributor

Re: decc$to_vms infinite loop on OpenVMS 7.3.1

OK guys, I'll try to reproduce it on V7.3-1 ECO. I'm on travel at the moment, so, I won't have time in the next few days.

Sounds like its fixed in the coming V7.3-2 release, though, as evidenced by my inability to reproduce it on that version. I'll need to figure out what fixed it, and be sure to get it in the ECO stream for V7.3-1 (and others, if needed).

If you want to get a fix sooner, rather than waiting for next release/ECO, and you have a support contract, you might want to escalate this.
Brad McCusker
Software Concepts International
Brad McCusker
Respected Contributor

Re: decc$to_vms infinite loop on OpenVMS 7.3.1

Yes, I was able to reproduce it on VMS 7.3-1.

Found the bug too.

I've now made the change and queued it up for inclusion in a future ECO to VMS 7.3-1.

As I said before, if you want a fix sooner than an as yet unscheduled ECO, then, contact customer support and formally escalate this problem. If you do that, please be sure to reference this ITRC string.

Regards,

Brad McCusker
Brad McCusker
Software Concepts International