TutCommandParseFile submit a file to SmartSockets process command interface
file_name
name of file to submit to command interface
TRUE
if the file was processed successfully, FALSE
otherwise.
None
TutCommandParseFile submits a file to the command interface of the process for execution. Each line of the file is executed with TutCommandParseStr.
TutCommandParseFile reads the file one line at a time using the fgets function. Multi-line comments, multi-line commands, and commands longer than 4094 characters are not allowed.
TutCommandParseFile does not search for file_name
in any directories such as the SmartSockets standard directory, but simply uses file_name
verbatim.
TutCommandParseStr, TutCommandParseTypedStr
This example executes the file test.cm
:
TIBCO SmartSockets™ Utilities Software Release 6.8, July 2006 Copyright © TIBCO Software Inc. All rights reserved www.tibco.com |