- Community Home
- >
- Servers and Operating Systems
- >
- Operating Systems
- >
- Operating System - OpenVMS
- >
- How many Line a DCL can manage on VMS 5.5
Categories
Company
Local Language
Forums
Discussions
Forums
- Data Protection and Retention
- Entry Storage Systems
- Legacy
- Midrange and Enterprise Storage
- Storage Networking
- HPE Nimble Storage
Discussions
Forums
Discussions
Discussions
Discussions
Forums
Forums
Discussions
Discussion Boards
Discussion Boards
Discussion Boards
Discussion Boards
- BladeSystem Infrastructure and Application Solutions
- Appliance Servers
- Alpha Servers
- BackOffice Products
- Internet Products
- HPE 9000 and HPE e3000 Servers
- Networking
- Netservers
- Secure OS Software for Linux
- Server Management (Insight Manager 7)
- Windows Server 2003
- Operating System - Tru64 Unix
- ProLiant Deployment and Provisioning
- Linux-Based Community / Regional
- Microsoft System Center Integration
Discussion Boards
Discussion Boards
Discussion Boards
Discussion Boards
Discussion Boards
Discussion Boards
Discussion Boards
Discussion Boards
Discussion Boards
Discussion Boards
Discussion Boards
Discussion Boards
Discussion Boards
Discussion Boards
Discussion Boards
Discussion Boards
Discussion Boards
Discussion Boards
Discussion Boards
Discussion Boards
Discussion Boards
Discussion Boards
Discussion Boards
Community
Resources
Forums
Blogs
- Subscribe to RSS Feed
- Mark Topic as New
- Mark Topic as Read
- Float this Topic for Current User
- Bookmark
- Subscribe
- Printer Friendly Page
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
тАО09-23-2004 09:54 PM
тАО09-23-2004 09:54 PM
How many Line a DCL can manage on VMS 5.5
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
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
тАО09-23-2004 10:22 PM
тАО09-23-2004 10:22 PM
Re: How many Line a DCL can manage on VMS 5.5
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
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
тАО09-23-2004 10:35 PM
тАО09-23-2004 10:35 PM
Re: How many Line a DCL can manage on VMS 5.5
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
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
тАО09-23-2004 10:36 PM
тАО09-23-2004 10:36 PM
Re: How many Line a DCL can manage on VMS 5.5
%DCL-W-USGOSUB, target of GOSUB not found - check spelling and presence of label
:b
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
тАО09-23-2004 10:51 PM
тАО09-23-2004 10:51 PM
Re: How many Line a DCL can manage on VMS 5.5
Wim
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
тАО09-23-2004 10:52 PM
тАО09-23-2004 10:52 PM
Re: How many Line a DCL can manage on VMS 5.5
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
тАО09-23-2004 11:00 PM
тАО09-23-2004 11:00 PM
Re: How many Line a DCL can manage on VMS 5.5
$ 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.
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
тАО09-23-2004 11:14 PM
тАО09-23-2004 11:14 PM
Re: How many Line a DCL can manage on VMS 5.5
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
Jan
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
тАО09-23-2004 11:18 PM
тАО09-23-2004 11:18 PM
Re: How many Line a DCL can manage on VMS 5.5
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?
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
тАО09-23-2004 11:39 PM
тАО09-23-2004 11:39 PM
Re: How many Line a DCL can manage on VMS 5.5
Wim
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
тАО09-23-2004 11:41 PM
тАО09-23-2004 11:41 PM
Re: How many Line a DCL can manage on VMS 5.5
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
тАО09-23-2004 11:44 PM
тАО09-23-2004 11:44 PM
Re: How many Line a DCL can manage on VMS 5.5
it seem the good way
my boss will be happy
:)
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
тАО09-24-2004 12:12 AM
тАО09-24-2004 12:12 AM
Re: How many Line a DCL can manage on VMS 5.5
i want learn the secret's of vms lol
this problem interressed me
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
тАО09-24-2004 12:25 AM
тАО09-24-2004 12:25 AM
Re: How many Line a DCL can manage on VMS 5.5
This may help to determine if you have an issue with insufficent available space in this area.
Purely Personal Opinion
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
тАО09-24-2004 12:48 AM
тАО09-24-2004 12:48 AM
Re: How many Line a DCL can manage on VMS 5.5
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
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
тАО09-24-2004 12:53 AM
тАО09-24-2004 12:53 AM
Re: How many Line a DCL can manage on VMS 5.5
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 :(
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
тАО09-24-2004 01:06 AM
тАО09-24-2004 01:06 AM
Re: How many Line a DCL can manage on VMS 5.5
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
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
тАО09-24-2004 01:22 AM
тАО09-24-2004 01:22 AM
Re: How many Line a DCL can manage on VMS 5.5
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
тАО09-24-2004 02:17 AM
тАО09-24-2004 02:17 AM
Re: How many Line a DCL can manage on VMS 5.5
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.
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
тАО09-24-2004 02:20 AM
тАО09-24-2004 02:20 AM
Re: How many Line a DCL can manage on VMS 5.5
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
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
тАО09-24-2004 02:36 AM
тАО09-24-2004 02:36 AM
Re: How many Line a DCL can manage on VMS 5.5
You have a handful of 'labels' that have a space between the intended label name and the colon to make it a label.
For example: $ STOCKNEG_MX :
And several more of those STOCK thingies.
Fix that!
It might not cuase this problem, but it should be cleaned up. See '$HELP GOSUB'
GOSUB
Parameter
label
Specifies a label of 1 to 255 alphanumeric characters that
appears as the first item on a command line. A label may not
contain embedded blanks. When the GOSUB command is executed,
control passes to the command following the specified label.
The label can precede or follow the GOSUB statement in the
current command procedure. When you use a label in a command
procedure, it must be terminated with a colon (:). If you use
duplicate labels, control is always given to the label most
recently read by DCL.
Hein.
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
тАО09-24-2004 02:37 AM
тАО09-24-2004 02:37 AM
Re: How many Line a DCL can manage on VMS 5.5
I don't like it but labels may have spaces before the :. Test it.
Wim
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
тАО09-24-2004 02:44 AM
тАО09-24-2004 02:44 AM
Re: How many Line a DCL can manage on VMS 5.5
yes of course, a system manager must know Dcl, but some others langages are much more efficient when doing specific things: for string manipulation, Perl, awk ( SYS$COMMON:[SYSHLP.EXAMPLES.tcpip.snmp]gawk ), for others things, Python...
And I think Hein will not disagree that Perl is helpful :-)
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
тАО09-24-2004 02:52 AM
тАО09-24-2004 02:52 AM
Re: How many Line a DCL can manage on VMS 5.5
of course Perl is OK but my point is that the ONLY standard is DCL. What would you say if I used POSIX ksh as a scripting language on VMS and you don't know ksh but you have to manage systems created by me ?
Second point is that DCL runs on every VMS node, whatever the version.
And is very readable.
Wim
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
тАО09-24-2004 02:53 AM
тАО09-24-2004 02:53 AM
Re: How many Line a DCL can manage on VMS 5.5
I tend to heavily agree with Wim!!!
In the past I HAVE run into a site where 'everything' was in Fortran.
In itself that would not have to pose a big problem, but if you need to change something and nobody around knows IF the sources are still there, let alone where...
Rather frustrating if they have just purchased a nice new Vax with RA81's, and all system management procedures and user program control procedures reference DRA0, DRB0, DRC0 and DRD0....
Jan