[Info-vax] Fortran problem with QIO

gerry77 at no.spam.mail.com gerry77 at no.spam.mail.com
Wed Dec 2 08:27:24 EST 2009


I'm a Hobbyist and I do know that in a real-world application what I'm
trying to achieve would be better obtained using more appropriate tools and
interfaces, and maybe languages. So, please, do NOT suggest me to use
something else with more up-to-date hardware and so on, because this has
become a challenge between me and the VAX. :-)

Call me crazy, but I'm trying to (re)learn Fortran while experimenting with
some system services, and I have chosen the steepest approach to the matter:
I'm trying to create a file with $QIOW in Fortran 77 on a VAX. :-P

Well, the program appears to be correct, at least to me, with every bit in
the right place (i.e. things like $ASSIGN are working as expected), but when
I call $QIOW I always get an INSFARG error in the I/O Status Block, and the
file is not obviously created, no matter how many times I've tried adding
and changing parameters as per the "OpenVMS I/O User's Reference Manual"...

Do there is someone that can provide me with some Fortran (77) code snippet
about $QIO[W] and IO$_CREATE + IO$M_CREATE?

Thank you very much for any help,
G.


P.S.: Excuse my English: it's not my native language.



More information about the Info-vax mailing list