Operating System - OpenVMS
1748195 Members
2689 Online
108759 Solutions
New Discussion юеВ

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

 
Bui_2
Occasional Advisor

How many Line a DCL can manage on VMS 5.5

Hello

I want to kwnow, how many line a DCL in VMS 5.5 can manage

because when a DCL exceed 10 000 lines, the GOSUB command respond -W- the label not found.

and my boss want a proof

where i can find this information

thx all
31 REPLIES 31
Wim Van den Wyngaert
Honored Contributor

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

Just created a script of 47500 lines.
No problem on 7.3 and 6.2.

No 5.5 over here.

But did you check the script with dcl_check (freeware cd) ? Most of the time there is a quoting problem when your error is given.

Wim
Wim
Bui_2
Occasional Advisor

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

thx for your quik answer

the error is typpicaly error when you foget the label of your GOSUB command

%DCL-W-IVVERB, unrecognized command verb - check validity and spelling

but the label is here, the first version of script (9200 lines) works well, but when i add other command in the middle of my script (10 027 lines)
the gosub command don't work whereas when i run the first version of my script it run good

and i don't have your freeware i'm just an analyse, i answere the system cell for this thanks
Bui_2
Occasional Advisor

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

scuse the error is

%DCL-W-USGOSUB, target of GOSUB not found - check spelling and presence of label

:b
Wim Van den Wyngaert
Honored Contributor

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

Could you post the script ? And the working script too ? Then I can check it.

Wim
Wim
Bui_2
Occasional Advisor

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

ok how?
Karl Rohwedder
Honored Contributor

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

I'vw just created a DCL procedure like:

$ ws "Hi 1"
$ gosub test
$ ws "Hi 2"
$ exit
$ sh time
...some 12000 more lines
$!
$ test:
$ ws "test"
$ return

and ran it under V5.5-2 without problems, so it is not a problem mit 5.5-2.
Jan van den Ende
Honored Contributor

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

BUI,

well, there IS a limit, but that is NOT the number of lines of DCL, but the total space in P1 space. That is where (a.o.) your DCL symbols, and your DCL label info, are maintained. And if you have A LOT of symbols and or label, and/or many string symbols with long string valies, THEN P1 space can get exhausted.
My V5.5 experience IS a bit rusty, but IMMSMW, then 5.5 already knew the SYSGEN parameter CTLPAGES. Nowadays it is dynamic, but those details and the 5.5 limits you will have to find yourself.

If on YOUR system you do
$ MC SYSGEN HELP SYS_PARAMS CTLPAGES
that will give the details for YOUR system
(not sure, but maybe SYS_PARAMS was called PARAMS then, but certainly MC SYSGEN HELP
will show you the exact syntax.

The limits for CTLPAGES used to be not really big, but we HAVE had success with it.

Try, and tell us your results.

If this does not help, or does not help enough, you may also get results if you explicitly remove symbols if (maybe temporarily) no longer needed
( $ DELETE/SYMBOL , for global symbols also add/GLOBAL

Jan
Don't rust yours pelled jacker to fine doll missed aches.
Ken Robinson
Valued Contributor

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

I seem to remember that there was a restriction like that in the past. I don't remember the exact details. I think it had something to do with the number of labels between the calling point and the subroutine, not the number of lines. (I may be wrong here)

Is the routine in question in the beginning of your code or at the end?

If you move the code of the subroutine, does that eliminate the error?
Wim Van den Wyngaert
Honored Contributor

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

You can post the script by transferring it to the PC and then use the "browse" button in the reply screen to select the file.

Wim
Wim