From: dbd@icf.hrb.com (Douglas B. Dodson)
Subject: File sizes using Pascal on VMS...
Date: 17 Jun 93 09:54:12 EST [thread overview]
Message-ID: <1993Jun17.095412.20335@icf.hrb.com> (raw)
Hello all,
We have two situations which have presented us with a small problem. This
problem deals with using Pascal on a DEC VAX 4000 series running the latest
version of VMS. First the situations:
1) A file exists on the disk and we wish to obtain the file size (both actual
and allocated). We would like to do this without spawning off a command file
and parsing the output. We have looked for a system call or library routine
but can't seem to find any to fit the bill. The file on the disk is closed and
the priveleges should not be a factor. Sounds like a simple problem, yet we
can't find an "easy" way to do it.
2) The other situation is that we are copying a file to disk and wish to know
the percent copied at various stages along the way. VMS subtracts off the
entire size of the file even before the copying is complete. Since this file
is being copied, this problem is a little more difficult.
Remember we need to do this using Pascal on a VMS machine. If anybody can
provide any help, it would be greatly appreciated. Thanks!
- Doug -
--
Douglas B. Dodson Internet: DBD@ICF.HRB.COM
HRB Systems, Inc.
State College, PA USA
16804
Disclaimer!
===========
Any ideas or opinions expressed here do not necessarily reflect the ideas or
opinions of HRB.
next reply other threads:[~1993-06-17 14:54 UTC|newest]
Thread overview: 2+ messages / expand[flat|nested] mbox.gz Atom feed top
1993-06-17 14:54 Douglas B. Dodson [this message]
1993-06-18 8:10 ` File sizes using Pascal on VMS fairfield
read-only archive
This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox