The Question is:
I need to call a system services routine, or some call that interrogates a
batch que from Fortran. I have the job name. I need the entry number to
delete the job, which has been retained on error. Is there a system services
call that I can do from with
in Fortran to check my que? Thanks, Terry
The Answer is :
Please review the OpenVMS Programming Concepts documentation
and please skim the system service reference manual, and
please read the available language documentation. Pointers
to these materials are in the OpenVMS FAQ.
In this case, the system service call is sys$getquiw.
Numerous examples of calls to system services are available
in the support database (see the AskQ pointer in the FAQ)
and there are various examples here. Examples specific to
calling system services in Fortran are included in the
available Fortran documentation, as are examples of calling
system services from other languages are included in the
In particular, OpenVMS system service calls are similar.
Once you know how to call several of the core services,
most any service can be prototyped and called. Put
another way, you can easily use examples ofdiffering
services, once you are familiar with the basics of the
language-specific argument passing -- and examples and
documentation of the argument passing mechanisms are
included in the documentation of every OpenVMS language.
There are a number of DCL and related examples here in the
Ask The Wizard area, please search for topics with getqui
in the title or getqui or queue or related terms within