* DCL Compiler
@ 1994-06-28 7:02 Marc Gobes
1994-06-28 18:23 ` "Dan Wing"
0 siblings, 1 reply; 3+ messages in thread
From: Marc Gobes @ 1994-06-28 7:02 UTC (permalink / raw)
Hi world !
I'am looking for an VMS tool which let me compile dcl routines
an which will gives me increased file I/O and above all better
error handling. I know tools like AWK but I don't want to rewrite
my existing DCL routines that much.
Any ideas ?
Greetings,
Marc
--
-----------------------------------------------------------------------------
RAM Mobile DATA | tel: 31(0)3465-82622
planetenbaan 26 | fax: 31(0)3465-82620
3606 AK Maarsen | marc@ram.nl
^ permalink raw reply [flat|nested] 3+ messages in thread
* Re: DCL Compiler
1994-06-28 7:02 Marc Gobes
@ 1994-06-28 18:23 ` "Dan Wing"
0 siblings, 0 replies; 3+ messages in thread
From: "Dan Wing" @ 1994-06-28 18:23 UTC (permalink / raw)
In article <Cs3I8A.9Hp@ram.nl>, marc@ram.nl (Marc Gobes) writes:
#Hi world !
#
#I'am looking for an VMS tool which let me compile dcl routines
#an which will gives me increased file I/O and above all better
#error handling. I know tools like AWK but I don't want to rewrite
#my existing DCL routines that much.
#
#Any ideas ?
Check the ads in DN&R for such a product.
If you reduce image activations within your DCL code, you can speed things up a
bunch. For example, doing stuff like this is slow:
$ DIR/OUTPUT=filename *.DAT
$ OPEN/READ FILE filename
$LOOP:
$ READ/END_OF_FILE=EOF FILE FILENAME_TO_PROCESS
$...
$ GOTO LOOP
$EOF:
$ DELETE filename;
but this would be faster, as it happens within DCL (no external file is
created, no image activation, no file to delete).
$LOOP:
$ FILENAME_TO_PROCESS = F$SEARCH("*.DAT")
$ IF FILENAME_TO_PROCESS .EQS. "" THEN GOTO EOF
$...
$ GOTO LOOP
$EOF:
The DIR and DELETE commands are image activations, the OPEN and READs cause
file I/O (the F$SEARCH also causes file I/O, but it reduces it to what is
necessary to get the information that we need).
If you're doing image activations within a loop, things can get really
nasty.
... And, only use DCL for things that lend themselves to being written in
DCL, such as stuff to startup and control your nightly Backups, etc. Don't
write your accounting package in DCL.
-Dan Wing, wing@tgv.com
^ permalink raw reply [flat|nested] 3+ messages in thread
* DCL Compiler
@ 1994-07-03 16:04 Derek Arnold
0 siblings, 0 replies; 3+ messages in thread
From: Derek Arnold @ 1994-07-03 16:04 UTC (permalink / raw)
Marc,
I've seen various adverts for "Compiled DCL" over the years, I'll check in
the various DEC specific publications I have lying around and see what I
can find.
Maybe someone else has information readily to hand. in any case, good luck!
rgds
Derek J. Arnold
Tudor Media International
3 Park Hill, Suite 4
Bickley, Kent, BR1 2JH, ENGLAND
Phone: +44 (0)81 289 1247
Fax: +44 (0)81 467 3651
---
* O/db V2.0 #3044 * Election campaigning: Foreplay before you get screwed...
^ permalink raw reply [flat|nested] 3+ messages in thread
end of thread, other threads:[~1994-07-03 16:04 UTC | newest]
Thread overview: 3+ messages (download: mbox.gz follow: Atom feed
-- links below jump to the message on this page --
1994-07-03 16:04 DCL Compiler Derek Arnold
-- strict thread matches above, loose matches on Subject: below --
1994-06-28 7:02 Marc Gobes
1994-06-28 18:23 ` "Dan Wing"
This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox