* DCL procedure address gone
@ 1998-08-08 4:00 Didier DTL MORANDI
1998-08-08 4:00 ` Richard Tomkins
` (3 more replies)
0 siblings, 4 replies; 6+ messages in thread
From: Didier DTL MORANDI @ 1998-08-08 4:00 UTC (permalink / raw)
Starting with OpenVMS 7.1, when "something" goes wrong within a DCL
command procedure, a $ GOTO LABEL generates an error like
"%DCL-E-NOSUCH, unknown label, check syntax" (or something similar ; it
happened only twice and I really don't remember the message).
Did someone experiment this already, please?
Many thanks,
Didier, Paris.
(former DCL guru, looooong time ago)
PS: if I can turn on this @&%$# link from my PC :-( to my VAX :-), I
will post here the two procedures involved. One is a DIGITAL genuine
one, which fixed the UCX NOT CONFIGURED problem under OpenVMS 7.1-1H2
for ALPHA server 1200 (remember?)
^ permalink raw reply [flat|nested] 6+ messages in thread
* Re: DCL procedure address gone
1998-08-08 4:00 DCL procedure address gone Didier DTL MORANDI
@ 1998-08-08 4:00 ` Richard Tomkins
1998-08-11 4:00 ` Hoff Hoffman
1998-08-08 4:00 ` Richard Tomkins
` (2 subsequent siblings)
3 siblings, 1 reply; 6+ messages in thread
From: Richard Tomkins @ 1998-08-08 4:00 UTC (permalink / raw)
Ah the ubiquitous GOTO, the bain of spagehtti code. The problem almost
invariably turns out that your DCL has fallen through the target of a
GOTO, when you didn't want that to happen.
rtt
In article <35CCA77F.28BADFC9@Wanadoo.fr>, Didier DTL MORANDI
<Didier.Morandi@Wanadoo.fr> wrote:
> Starting with OpenVMS 7.1, when "something" goes wrong within a DCL
> command procedure, a $ GOTO LABEL generates an error like
> "%DCL-E-NOSUCH, unknown label, check syntax" (or something similar ; it
> happened only twice and I really don't remember the message).
>
> Did someone experiment this already, please?
>
> Many thanks,
> Didier, Paris.
> (former DCL guru, looooong time ago)
>
> PS: if I can turn on this @&%$# link from my PC :-( to my VAX :-), I
> will post here the two procedures involved. One is a DIGITAL genuine
> one, which fixed the UCX NOT CONFIGURED problem under OpenVMS 7.1-1H2
> for ALPHA server 1200 (remember?)
--
This mind left BLANK intentionally.
^ permalink raw reply [flat|nested] 6+ messages in thread
* Re: DCL procedure address gone
1998-08-08 4:00 DCL procedure address gone Didier DTL MORANDI
1998-08-08 4:00 ` Richard Tomkins
@ 1998-08-08 4:00 ` Richard Tomkins
1998-08-10 4:00 ` Brian J. McCarthy
1998-08-10 4:00 ` Steve Spires
3 siblings, 0 replies; 6+ messages in thread
From: Richard Tomkins @ 1998-08-08 4:00 UTC (permalink / raw)
As I think about it, I have a colleague who uses GOTO like theres no
tommorrow. His only rule is that the target of the GOTO has to be within
the visible area of a 25 line editor.
rtt
In article <35CCA77F.28BADFC9@Wanadoo.fr>, Didier DTL MORANDI
<Didier.Morandi@Wanadoo.fr> wrote:
> Starting with OpenVMS 7.1, when "something" goes wrong within a DCL
> command procedure, a $ GOTO LABEL generates an error like
> "%DCL-E-NOSUCH, unknown label, check syntax" (or something similar ; it
> happened only twice and I really don't remember the message).
>
> Did someone experiment this already, please?
>
> Many thanks,
> Didier, Paris.
> (former DCL guru, looooong time ago)
>
> PS: if I can turn on this @&%$# link from my PC :-( to my VAX :-), I
> will post here the two procedures involved. One is a DIGITAL genuine
> one, which fixed the UCX NOT CONFIGURED problem under OpenVMS 7.1-1H2
> for ALPHA server 1200 (remember?)
--
This mind left BLANK intentionally.
^ permalink raw reply [flat|nested] 6+ messages in thread
* Re: DCL procedure address gone
1998-08-08 4:00 DCL procedure address gone Didier DTL MORANDI
` (2 preceding siblings ...)
1998-08-10 4:00 ` Brian J. McCarthy
@ 1998-08-10 4:00 ` Steve Spires
3 siblings, 0 replies; 6+ messages in thread
From: Steve Spires @ 1998-08-10 4:00 UTC (permalink / raw)
To: Didier DTL MORANDI
Difficult to answer without knowing what the code is doing, but make sure that
the label can be 'seen' by the segment of DCL calling it, ie it's not embedded
within a subroutine or similar, and check the exact spelling and other obvious
possible errors.
Steve Spires
Didier DTL MORANDI wrote:
>
> Starting with OpenVMS 7.1, when "something" goes wrong within a DCL
> command procedure, a $ GOTO LABEL generates an error like
> "%DCL-E-NOSUCH, unknown label, check syntax" (or something similar ; it
> happened only twice and I really don't remember the message).
>
> Did someone experiment this already, please?
>
> Many thanks,
> Didier, Paris.
> (former DCL guru, looooong time ago)
>
> PS: if I can turn on this @&%$# link from my PC :-( to my VAX :-), I
> will post here the two procedures involved. One is a DIGITAL genuine
> one, which fixed the UCX NOT CONFIGURED problem under OpenVMS 7.1-1H2
> for ALPHA server 1200 (remember?)
^ permalink raw reply [flat|nested] 6+ messages in thread
* Re: DCL procedure address gone
1998-08-08 4:00 DCL procedure address gone Didier DTL MORANDI
1998-08-08 4:00 ` Richard Tomkins
1998-08-08 4:00 ` Richard Tomkins
@ 1998-08-10 4:00 ` Brian J. McCarthy
1998-08-10 4:00 ` Steve Spires
3 siblings, 0 replies; 6+ messages in thread
From: Brian J. McCarthy @ 1998-08-10 4:00 UTC (permalink / raw)
[-- Attachment #1: Type: text/plain, Size: 667 bytes --]
In "modern day" DCL I get bitten by this when I forget to put
an endif, or a endsubprocedure etc...
My solution is to find the offending line, then create a label
that it can find below it a few lines (scanning the lines between for
syntax errors). Then moving that label down until DCL can't find it
anymore - then I've at least narrowed it down to where it can and
can't find the label - and I know there is something wrong between
the two.
I usually find the problem this way.
My "test label is usually"
$missing_label:
$ write sys$output "I can find it here"
$ exit
And keep cutting, pasting it futher and futher away (lower) in the
.com file.
Brian J.
[-- Attachment #2: Card for Brian McCarthy --]
[-- Type: text/x-vcard, Size: 312 bytes --]
begin: vcard
fn: Brian McCarthy
n: McCarthy;Brian
org: Enterprize Computing Group - Compaq Computer Corporation
adr;dom: ;;;Nashua ;NH;;
email;internet: mccarthy@zko.dec.com
x-mozilla-cpt: ;0
x-mozilla-html: FALSE
version: 2.1
end: vcard
^ permalink raw reply [flat|nested] 6+ messages in thread
* Re: DCL procedure address gone
1998-08-08 4:00 ` Richard Tomkins
@ 1998-08-11 4:00 ` Hoff Hoffman
0 siblings, 0 replies; 6+ messages in thread
From: Hoff Hoffman @ 1998-08-11 4:00 UTC (permalink / raw)
In article <neuron-0808982157360001@ip21.ts5.dialup.ottawa.cyberus.ca>, neuron@cyberus.ca (Richard Tomkins) writes:
:Ah the ubiquitous GOTO, the bain of spagehtti code. The problem almost
:invariably turns out that your DCL has fallen through the target of a
:GOTO, when you didn't want that to happen.
The boon of spagetti code, not the bain....
:In article <35CCA77F.28BADFC9@Wanadoo.fr>, Didier DTL MORANDI
:<Didier.Morandi@Wanadoo.fr> wrote:
:
:> Starting with OpenVMS 7.1, when "something" goes wrong within a DCL
:> command procedure, a $ GOTO LABEL generates an error like
:> "%DCL-E-NOSUCH, unknown label, check syntax" (or something similar ; it
:> happened only twice and I really don't remember the message).
:>
:> Did someone experiment this already, please?
:>
:> Many thanks,
:> Didier, Paris.
:> (former DCL guru, looooong time ago)
Ah, DTL, it's been a few years. 1988? 1989?
:> PS: if I can turn on this @&%$# link from my PC :-( to my VAX :-), I
:> will post here the two procedures involved. One is a DIGITAL genuine
:> one, which fixed the UCX NOT CONFIGURED problem under OpenVMS 7.1-1H2
:> for ALPHA server 1200 (remember?)
This usually indicates a syntax error in the procedure -- DCL has
been tightened up recently, and now detects errors that were once
silently accepted (and sometimes not-so-silently failed) are now
rejected.
We'll need to see the full source code of the DCL procedure.
-------------------------- pure personal opinion ---------------------------
Hoff (Stephen) Hoffman OpenVMS Engineering hoffman@xdelta.ZZenet.dec.com
note to those folks not contributing spam -- there is no ZZ in my address
^ permalink raw reply [flat|nested] 6+ messages in thread
end of thread, other threads:[~1998-08-11 4:00 UTC | newest]
Thread overview: 6+ messages (download: mbox.gz follow: Atom feed
-- links below jump to the message on this page --
1998-08-08 4:00 DCL procedure address gone Didier DTL MORANDI
1998-08-08 4:00 ` Richard Tomkins
1998-08-11 4:00 ` Hoff Hoffman
1998-08-08 4:00 ` Richard Tomkins
1998-08-10 4:00 ` Brian J. McCarthy
1998-08-10 4:00 ` Steve Spires
This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox