next up previous contents index
Next: Set default media Up: The FATMEN Fortran Previous: Software write enable

Issue SYSREQ command

CALL FMSREQ (SERVICE,COMMAND,IRC*,REPLY*,*REPLEN*)

SERVICE
Character variable giving the name of the service for which the command is intended. At CERN, the only valid service is TMS.
COMMAND
Character variable containing the command that is to be issued.
IRC
Integer variable in which the return code is returned. The return code maybe from SYSREQ itself, or from the service.
0
Success
2
Reply buffer too short. REPLY(REPLEN) contains the command that should be issued to receive the next batch of replies.
REPLY
Character array of length REPLEN in which the reply, if any, is returned.
REPLEN
Integer variable containing the length of the arrary REPLY. On output, it contains the number of elements that contain useful data (which may be zero).

This routine issues a SYSREQ command. It differs from the routine SYSREQ described in the CSPACK [5] manual in that it performs retry in case of network problems.


Janne Saarela
Mon May 15 09:59:59 METDST 1995