Hp NonStop G-Series User Manual Page 195

  • Download
  • Add to my manuals
  • Print
  • Page
    / 210
  • Table of contents
  • TROUBLESHOOTING
  • BOOKMARKS
  • Rated. / 5. Based on customer reviews
Page view 194
Interfacing to MSMM
Mid-Range Silo Media Manager Installation and Users Guide541530-003
D-45
Examples of Structure
pcReplyBuffer[122] = 0
pcReplyBuffer[123] = 0
pcReplyBuffer[124] = 0
pcReplyBuffer[125] = 0
pcReplyBuffer[126] = 0
pcReplyBuffer[127] = 0
pcReplyBuffer[128] = 0
pcReplyBuffer[129] = 0
pcReplyBuffer[130] = 255
pcReplyBuffer[131] = 255
pcReplyBuffer[132] = 0
pcReplyBuffer[133] = 0
pcReplyBuffer[134] = 0
pcReplyBuffer[135] = 11
Receive Dismount Tape information
Dismounted Tape: 000208
From Drive: 1030
To Slot 11
Example
/* You will have to run THRDPTY file as process $TPTY before running your
interface.The interface must be run as process $API in order for messages to be
received back. *//* To calculate message size for return message is anBuffer[0] x 256
+ anBuffer[1] = message size */
#pragma nolist
#pragma symbols
#pragma ssv0 "$system.system", ssv1 "$system.ztcpip", ssv2 "$system.zsysdefs"
#include <param.h>
#include <socket.h>
#include <in.h>
#include <netdb.h>
#include <stdlib.h>
#include <stdio.h>
#include <memory.h>
#include <string.h>
#include <ctype.h>
#include <cextdecs>
int main(void)
{
shortCountActuallyWritten = 0,
NumToSend = 0,
FileNumber = -1,
nResult = 0,
Page view 194
1 2 ... 190 191 192 193 194 195 196 197 198 199 200 ... 209 210

Comments to this Manuals

No comments