[Info-vax] Fortran problem with QIO

Richard B. Gilbert rgilbert88 at comcast.net
Wed Dec 2 11:25:54 EST 2009


gerry77 at no.spam.mail.com wrote:
> 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.

Please post the MINIMUM program that reproduces your problem.  Without 
any idea what your are doing it's almost impossible to determine what 
you are doing wrong!

No one is going reverse engineer 2,000 lines of your code in order to 
help you.  Twenty lines is something most of us can handle!

--
draco vulgaris



More information about the Info-vax mailing list