beautypg.com

HP NonStop G-Series User Manual

Page 124

background image

Silo Media Manager Installation and Users Guide

Interfacing to SMM

4-57

SendBuffer4[108] = ‘ ‘;
SendBuffer4[109] = ‘ ‘;
SendBuffer4[110] = ‘ ‘;
SendBuffer4[111] = ‘ ‘;
SendBuffer4[112] = ‘ ‘;
SendBuffer4[113] = ‘ ‘;
SendBuffer4[114] = ‘ ‘;
SendBuffer4[115] = ‘ ‘;
SendBuffer4[116] = ‘ ‘; /* ALTERNATE FIELD 4 (10 BYTES) */
SendBuffer4[117] = ‘ ‘;
SendBuffer4[118] = ‘ ‘;
SendBuffer4[119] = ‘ ‘;
SendBuffer4[120] = ‘ ‘;
SendBuffer4[121] = ‘ ‘;
SendBuffer4[122] = ‘ ‘;
SendBuffer4[123] = ‘ ‘;
SendBuffer4[124] = ‘ ‘;
SendBuffer4[125] = ‘ ‘;
SendBuffer4[126] = ‘ ‘; /* ERROR/STATUS CODE */
SendBuffer4[127] = ‘ ‘;

NumToSend = 128;

DELAY(1000);

ccx = WRITEX(TSISRVFileNum,
(char _far *)&SendBuffer4,
NumToSend,
(short _far *)&CountActuallyWritten,
WriteTag);

cc = READUPDATEX((short)nFileNumber,
(char _far *)anBuffer,
(short)sizeof(anBuffer),
(short _far *)&wCountRead);

nResult = REPLYX((char _far *)anBuffer,
(short)wCountRead);

err = FILE_CLOSE_(TSISRVFileNum, 0);
err = FILE_CLOSE_(nFileNumber, 0);

PROCESS_STOP_();
} /* end main() */

This manual is related to the following products: