DSM/Tape Catalog Management Programming Manual

Communicating With MEDIASRV
DSM/Tape Catalog Management Programming Manual520481-003
2-6
Starting a MEDIASRV Process Using the
PROCESS_CREATE_ Procedure
file-number
contains a file number for use in subsequent references to the process, as in the
FILE_OPEN_ and FILE_CLOSE_ procedure calls shown here.
startup-message
has the structure:
[0] message-code (-1)
[1:8] subvol (blank)
[9:20] in (blank)
[21:32] out (blank)
[33:n] parameter [value] [;parameter [value]]…
message-code
contains -1.
subvol
is not used by MEDIASRV and should be blank.
in
is not used by MEDIASRV and should be blank.
out
is not used by MEDIASRV and should be blank.
parameter value
is any of the startup parameter/value pairs described in Starting a MEDIASRV
Process Using the RUN Command on page 2-2.
Startup Message Structure
This TAL code reveals the structure of a startup message:
STRUCT .start^up;
BEGIN
INT msgcode;
STRUCT default;
BEGIN
INT volume [0:3],
subvol [0:3];
END
STRUCT INFILE;
BEGIN
INT volume [0:3],
subvol [0:3],
filename [0:3];
END
STRUCT OUTFILE;