Skip to main content

A Description of the Current Implementation

III. A DESCRIPTION OF THE CURRENT IMPLEMENTATION​

A variety of programs are used to make up a system to effect this transfer of data.

  1. Two functions are defined in Lisp-like language which are loaded into MACSYMA after login in order to facilitate saving a list of expressions to retrieve later to UCSB, and to write this list out to a disk file at MATHLAB for later retrieval.

  2. A set of OLS user programs create the batch job which actually performs the retrieval, translation, and storage of these expressions on a specified file on some OLS user directory.

  3. The program which actually performs the connection to MATHLAB retrieves the expressions, translates and stores into the OLS is written in PL/1 and exists as a load module on disk at UCSB.

The sequence of operations required in order to retrieve expressions using these various programs is outlined below:

  1. The user makes a connection to MIT-MATHLAB in the conventional manner. This can be done either through UCSB-OLS, or through other TELNET programs, or from a TIP.

  2. The user logs in at MATHLAB, calls up MACSYMA, and loads the file into the MACSYMA system which facilitates retrieval. (Contains ADDLIST and SAVE functions.)

  3. The user performs the desired manipulations at MATHLAB, and saves up a list of line numbers as he goes along using the ADDLIST function. These line numbers represent those expressions he wishes to retrieve. The format for ADDLIST is ADDLIST('<LINE NUMBER>).

  4. When the user has completed all the manipulations he wishes to do he saves them on the MIT-MATHLAB disk. (Using SAVE function.) The format for SAVE function is SAVE(<filename 1>). This function writes out, in horizontal form, the list of line numbers in the order the ADDLIST function was invoked to the MIT disk. The filename will be <filename 1>BATCH. SAVE also appends a question mark on the end of the file as an end-of-file indicator.

  5. USER disconnect from MATHLAB.

  6. User connects to and logs into OLS, and loads a file containing the user programs which produce a virtual job deck for the batch system. A sequence of questions are given to the user by these programs regarding accounting information, and the source file at MIT, and the destination file at at UCSB. The batch job gets submitted automatically, and the transfer and translation is done.

  7. After the transfer is completed, the destination file may be loaded into OLS, and the results may be displayed and numerical manipulations can take place.

The form of these user programs, as they are returned is as follows:

LII REAL LOAD (  function  )

Therefore in order to look at a graph of one of these functions, it is necessary to set up values of various constants, as well as a range of values of the independent variable. It is also necessary to request a display of the function. This can be done by typing DISPLAY RETURN. It should be noted that the function does exist at the time directly after the user program is called and may be stored under any of the alphabetical keys on the OLS. Storing several of these functions under alphabetical keys will allow them to be called up for plotting on a common scale. For example, if the functions were stored under the keys A, B, and C, they could be displayed on a common scale by typing DISPLAY ABC RETURN.