Operating System - OpenVMS
1748035 Members
4942 Online
108757 Solutions
New Discussion юеВ

Re: How many Line a DCL can manage on VMS 5.5

 
Ian McKerracher
Occasional Advisor

Re: How many Line a DCL can manage on VMS 5.5

I had a similar problem this morning but with GOTO instead of GOSUB. I had entered an IF-THEN-ELSE structure between the GOTO and the destination label but I forget to enter the ENDIF. Once I entered this keyword the procedure worked correctly.

Bui_2
Occasional Advisor

Re: How many Line a DCL can manage on VMS 5.5

thank for your answer

it seem the good way

my boss will be happy

:)
Bui_2
Occasional Advisor

Re: How many Line a DCL can manage on VMS 5.5

this is the procedure, if you can give me more details or information

i want learn the secret's of vms lol

this problem interressed me
Ian Miller.
Honored Contributor

Re: How many Line a DCL can manage on VMS 5.5

The command SHOW PROCESS/MEMORY will display the statistics about dynamically allocated area in the process control region P1.
This may help to determine if you have an issue with insufficent available space in this area.
____________________
Purely Personal Opinion
Wim Van den Wyngaert
Honored Contributor

Re: How many Line a DCL can manage on VMS 5.5

So, was your problem solved ?

In any case, I ran dcl_check and found :
LINE CODE --DIAGNOSTIC MESSAGE--
676 WCT wrong constant type for comparison
814 INT IF statement not terminated
1339 DL duplicate label "CDENLIVR_MX"
4041 LNF label "RCPTDELOC" not found
4069 LNF label "RCPTDELOC" not found
4099 LNF label "RCPTDELOC" not found
4527 RLI referenced label "EXT_INVE_GB" is in if-group at lines 4539-4630
9869 CRE code cannot be reached due to EXIT at line 9868
Wim
Bui_2
Occasional Advisor

Re: How many Line a DCL can manage on VMS 5.5

no my problem is not resolve i search

thanks for the error msg. but i don't understand why the first GOSUB doesn't work with all the answer in this thread i think the procedure have too many label or symbol

can you test the procedure you may change the firs GOSUB TSTLOGICAL on GOTO TSTLOGICAL and insert en EXIT after the label TSTLOGICAL. if the script work at your home...i definitely don't understand :(
Wim Van den Wyngaert
Honored Contributor

Re: How many Line a DCL can manage on VMS 5.5

DCL went on tilt because of syntax errors.

You should
1) correct all the errors found by dcl_check
2) make sure that the if's are in balance. Check the if's on line 842 and following. I find dubious things around line 862.
3) indent if then else and endif on the same position to find the inbalances.

Wim
Wim
Bui_2
Occasional Advisor

Re: How many Line a DCL can manage on VMS 5.5

then why if i delete any random 800 lines in the middle of script and i run with the change GOSUB command with the exit the first GOSUB work well

labadie_1
Honored Contributor

Re: How many Line a DCL can manage on VMS 5.5

While this does not answer you problem, I am surprised that you are not in Vms 5.5-2 or 5.5-2 H4, which are supported versions.

And for me, a Dcl procedure should not exceed 20 or 30 lines, so I have never met a similar problem :-)
When it exceeds, I write it in another langage (you have a lot of choice with Vms, C, Pascal, Ada, Python, Perl, Fortran, Cobol...)

Best of luck.
Wim Van den Wyngaert
Honored Contributor

Re: How many Line a DCL can manage on VMS 5.5

Labadie,

The only thing a system manager must know is DCL. So I write in DCL and my monitoring is now 4000 lines of DCL. But dcl_check conform.

I I wrote a program in lets say ALGOL, nobody would correct the errors when I'm gone.

Wim
Wim