Previous Page | Next Page

Reading and Writing Data

Summary of Reading and Writing Data

Tables 2.2 - 2.4 summarize reading and writing data in IMLPlus programs.

Table 2.2: Reading Data into a DataObject
Source Statement
Client data setDataObject.CreateFromFile
Server data setDataObject.CreateFromServerDataSet
 run CopyServerDataToDataObject module
IML matrixDataObject.Create
 DataObject.AddVar
 DataObject.AddVars

Table 2.3: Copying Data from a DataObject
Destination Statement
Client data setDataObject.WriteToFile
Server data setDataObject.WriteToServerDataSet
 DataObject.WriteVarsToServerDataSet
IML matrixDataObject.GetVarData

Table 2.4: Reading and Writing Server Data in IML
Action Statement
Read from server into IMLUSE, READ
Write server data set from IMLCREATE, APPEND

Note: If you create a server data set by using the WriteToServerDataSet or WriteVarsToServerDataSet method, you might want to delete the data set after you are finished with it by calling the IML DELETE subroutine.

Previous Page | Next Page | Top of Page