Text Source Block |
The Text Source block reads strings from a SAS data set. You supply the file path for the SAS data set or JMP data table along with the text variable column name. Each time a value is pulled from the OutValue port of a Text Source block, the block reads a value from the data set. If the last observation in the data set is reached, the process resets to the beginning of the column.
Input Boolean value port that signals an update of input data and stream parameter specifications. The new specifications are pulled from the InStreamPolicy or InDataPolicy ports (or both) if these ports are connected. A false Boolean value is ignored.
Input string value port that allows new stream parameter specifications to come in when an update is under way.
Input string value port that allows new input data specifications to come in when an update is under way.
Output string value port for text values to be pulled.
This area provides fields for modifying the input data specifications associated with the Text Source block. The File Path field specifies the absolute or relative file path for the input SAS data set or JMP data table file. The Variable Name field identifies the variable or column name in input data file. The Load from Remote SAS Workspace Server checkbox indicates whether the input SAS data set file is to be loaded from the remote SAS Workspace Server host.
This area provides fields for modifying the stream parameter specifications that control how the stream of text values from the Text Source block is prepared. Both the fields Lazy Loading and Reset At Updated are Boolean. If the Lazy Loading field is false, the input data set file has to be loaded at the start of simulation. Otherwise, the data file is loaded only when its contents are needed during simulation. If the Reset At Updated field is true, an update signal value of true causes the first observation in the updated data set to be the observation pulled next.
DataStreamDescription (text)
The format for specifying the value of the DataStreamDescription factor is as follows:
class==dataStreamClass;File Path==filePathValue;Variable Name==variableNameValue;Lazy Loading==true
where:
is com.sas.analytics.simulation.datastream.file.SASTextDataColumn or the fully-qualified Java class name of another text data stream type.
is the pathname for the SAS data set or JMP table.
is the column name from the SAS data set or JMP table.
None