[Info-vax] Fortran problem with QIO
Tom Linden
tom at kednos.company
Wed Dec 2 18:01:04 EST 2009
On Wed, 02 Dec 2009 08:01:45 -0800, <gerry77 at no.spam.mail.com> wrote:
> On Wed, 2 Dec 2009 05:54:25 -0800 (PST), Steven Schweda
> <sms.antinode at gmail.com> wrote:
>
>> Not I. There is some C code in UnZip ([.vms]vms.c) which
>> uses QIO[W] with IO$_CREATE. It probably does things which
>> you don't need, but it might give you some ideas.
>>
>> If you posted your code, (we might all have a good laugh,
>> but) someone might be able to identify a problem which you
>> aren't seeing.
>
> Actually I've not posted the code just to avoid the good laugh of the
> whole
> NG :-) In the meantime I'm studying some other samples, including the
> Unzip
> one, and I'm starting to suspect a problem with descriptors.
>
> It was my understanding that the %DESCR built-in function was always good
> whenever there was something to pass "by descriptor". Now I'm starting to
> think that that is correct only if "something" is a character string and
> not
> something else. Am I right? I'm just perusing $DSCDEF in FORSYSDEF.TLB
> and
> I'm wondering about its contents and what I have to pass to $QIO[W]...
>
> Stay tuned! :-)
> G.
>
We have a number of examples at http://www.kednos.com/pli_examples/
which may help you.
--
PL/I for OpenVMS
www.kednos.com
More information about the Info-vax
mailing list