IBM Spufi - Mode of Use

Mode of Use

Although it is essentially an interactive tool, SPUFI operates using a pair of datasets. (A dataset on z/OS is equivalent to a file on other operating systems.) In the main SPUFI screen one specifies an input dataset and an output dataset; these can be specified once and then reused repeatedly. When the user moves on from the main screen, the standard ISPF editor is opened on the input dataset. At this point the user can enter the required SQL statements using the familiar editor. On exiting from the editor the main SPUFI screen reappears; when the user moves on this time the contents of the input dataset are executed. The results are placed in the output dataset and the ISPF editor is opened (in read-only "browse" mode) on that output. This is how the user reads their results. Interactive use of SPUFI continues around these steps; in summary the cycle is:

... Main -> edit -> Main -> view output -> Main -> edit -> Main -> view output -> Main ...

Because SPUFI uses normal datasets for the commands and the output, it is possible to pre-populate the commands or operate on the output by accessing the datasets independently of the SPUFI tool. Using datasets also means that a possibly-complicated set of SQL commands will persist from session to session rather than being lost when the user exits the tool.

Read more about this topic:  IBM Spufi

Famous quotes containing the words mode of and/or mode:

    “A man of genius has a right to any mode of expression.”
    —Ezra Pound (1885–1972)

    “The only mode of obtaining an answer to these questions of the senses is to forego all low curiosity, and, accepting the tide of being which floats us into the secret of nature, work and live, work and live, and all unawares the advancing soul has built and forged for itself a new condition, and the question and the answer are one.”
    —Ralph Waldo Emerson (1803–1882)