Previous: SYSREQ and SYSREQ-TCP
Up: SYSREQ and SYSREQ-TCP
Previous Page: SYSREQ and SYSREQ-TCP
Next Page: The ZEBRA and PAW servers
SYSREQ(SERVICE,COMMAND,IRC*,REPLY*,*LENREP*)
- SERVICE
- Character variable specifying the service required
- COMMAND
- Character variable specifying the command to pass to that service
- IRC
- Integer variable in which the return code is returned
- REPLY
- Character array of length LENREP in which the reply is returned
- LENREP
- Integer variable containing the number of elements of REPLY
on input and the number of elements of REPLY containing returned data on
output
This routine sends the specified command to the named service via the
SYSREQ mechanism.
One may also use the routine FMSREQ, which is part of the FATMEN []
and resides in PACKLIB. This routine as the same calling sequence as SYSREQ,
but provides automatic protection against network problems (timeouts etc.)
with retry were required.
- IRC
- Return status
- 0
- Normal completion
- 2
- Reply longer then LENREP. The COMMAND(LENREP) contains the
command to issue to get the remaining part of the reply.
