Method for combining program diskettes in an interactive text processing system4477880Abstract A method is disclosed for improving the efficiency of an operator of an interactive text processing system in which a plurality of different text processing task programs are each stored on a different single-sided, single-density (1S1D) diskette so that in the creation and use of a text document involving several different tasks, the operator's efficiency is decreased due to the time involved in inserting and removing each required diskette. The method involves creating a combined program diskette on a two-sided, double-density (2S2D) diskette by sequentially transferring program modules for interactively selected text processing task programs from corresponding 1S1D diskettes under the control of a "Combine" program. The method provides one 2S2D combined text processing program diskette containing all the programs necessary to create and use a specific text document by means of the selected tasks. Claims Having thus described our invention, what we claim as new and desire to secure by Letters Patent is: Description BACKGROUND OF THE INVENTION
______________________________________
MENU 1
PRODSK Kyb 1
______________________________________
TASK SELECTION
ID ITEM
a Typing Tasks:
Create, Revise or Paginate Documents
b Work Diskette Tasks:
Delete or Duplicate Documents, Files, or
Setups
Duplicate, Condense or Erase/Initialize
(Name Diskette
Print Index of Diskette Contents,
Change Document or Diskette Name,
Recover Documents, Files and Setups
c Program Diskette Task:
Default Formats, Duplicate Setups and
Spelling Supplement
Printer and Workstation Description,
Duplicate and Erase Program Diskette
Feature Program Diskette Tasks
Create and Update Combined Program
Diskette
d Spelling Tasks
e Feature Tasks
f Merge Tasks
(Instruction Line)
Type ID letter to choose ITEM; press ENTER:
(Message Line)
______________________________________
The top line of the menu contains a number of fields. The first field, for example, defines the name of the diskette, while other fields will be used to portray to the operator conditions of the system. The bottom two lines of the menu are a prompt line, and a message line respectively, which function as their names imply. The tasks available to the operator and performed by the system, as shown in Menu 1, will now be described in a general sense to provide a basis for understanding the method of the present invention. Prior to such description, it should be recognized that the operator has available a number of diskettes. One group of diskettes will be program diskettes, a second group will be work diskettes, and a third group will be new blank diskettes which are blank except for the initialization information and formatting data that was recorded on the diskette at the factory. Further, if the system has only one diskette drive which only operates with a 1S1D type diskette, all of the diskettes referred to above will be of the same density type, namely, 1S1D. If, however, the system includes a 14L and a 14R 2S2D type diskette drive, then the operator will probably have two types of diskettes, i.e., a single and double density diskettes. In addition, it should be understood that the operator will have two different types of program disks. One type of program disk is to the basic set of tasks that the system performs, while the other type of program disks are to specific features. It should be understood that only the basic program diskette has its own IPL program so that the operator may not insert a feature program diskette directly when the feature task is to be performed. The main program, however, will prompt the operator to insert and remove the feature diskette at the appropriate time in accordance with the interactive entry of data into the system in accordance with selected menu options. The tasks that the operator may select are displayed on the display device as a result of the IPL operation. The function of these tasks are as follows: Typing Task. This task is primarily concerned with the creation, revision or reformatting of documents that have been entered into the system. If the operator selects the typing tasks option in the task selection menu, then the typing task program set is loaded into the system from the diskette. If the appropriate program diskette has been taken out or is not in the work station diskette drive when this menu is displayed and the option selected, the system will display a message to the operator on the prompt line advising the operator to insert the particular diskette. After the typing task program set is loaded, the typing task selection menu is displayed, which resembles the following menu.
______________________________________
MENU 2
DSK001 Kyb 1
______________________________________
TYPING TASKS
ID ITEM
a Create Document
b Revise Document
c Paginate Document
d Paginate, Hyphenate, Spell Check Document
e Go to Task Selection
When finished with this menu, press ENTER.
Type ID letter to choose ITEM; press ENTER:
(Message Line)
______________________________________
Depending on the operator's response to this menu, a message to insert an appropriate work diskette will be displayed. Work Diskette Tasks. A work diskette task is primarily directed to the maintenance of work diskettes and their contents. A work diskette is a diskette on which documents are stored, for example. If the operator selects the work diskette task option in the task selection menu (Menu 1), the work diskette task program set is loaded into the system. As before, if the program diskette has been removed from the system, the system will prompt the operator to reinsert the program diskette. After the work diskette task program set has been loaded, the following menu is presented to the operator.
______________________________________
MENU 3
DSK001 Kyb 1
______________________________________
WORK DISKETTE TASKS
ID ITEM
a Delete Document
b Duplicate Document
c Change Document Name
d Change Diskette Name
e Duplicate Diskette
f Condense Diskette
g Erase or Initialize (Name) Diskette
h Recover Documents
i Print Index of Diskette Contents
j Go to Task Selection
(Instruction line)
(Prompt line)
(Message line)
______________________________________
Program Diskette Tasks. When the program diskette task option is selected on Menu 1, the system response will be to prompt the operator to insert the appropriate program diskette. After the diskette is inserted, it is checked to insure it has the correct maintenance level, menu language, etc. If the check is satisfied, the program diskette task program set is loaded into the system. This set of tasks is directed primarily to maintenance of program diskettes and their contents. When the program diskette tasks selection set has been loaded into the system, a program diskette task selection menu such as the one shown below is displayed to the operator.
______________________________________
MENU 4
PRODSK Kyb 1
______________________________________
TEXTPACK PROGRAM DISKETTE TASKS
ID ITEM
a Change Document Format Defaults
b Change Alternate Format Defaults
c Change Printer Description
d Change Work Station Description
e Duplicate Machine Setup
f Duplicate Program Diskette
g Erase Program Diskette
h Duplicate Spelling Supplement
i Change Arithmetic Format Defaults
j Create New Combined Program Diskette
k Update Combined Program Diskette
l Go to Task Selection
When finished with this menu, press ENTER.
Type ID letter to choose ITEM; press ENTER:
(Message Line)
______________________________________
If a feature program diskette is loaded, then the specific program diskette task selection menu on that feature diskette is displayed after the feature program task set is transferred into the system. The menu details will depend on the feature. Spelling Tasks. If the operator selects the spelling tasks option from the task selection menu (Menu 1), the spelling tasks program set is loaded into the system. As before, a message will be provided to the operator if the program diskette had been removed. The primary function of the spelling task is to check the spelling of words in a document. After the program set has been loaded into the system, the spelling task selection menu shown below is displayed to the operator.
______________________________________
MENU 5
DSK001 Kyb 1
______________________________________
SPELLING TASKS
ID ITEM
a Check Document
b Load Supplement
c Clear Supplement
d Store Supplement on Program Diskette
e Choose Spelling Language Dictionary
f Paginate, Hyphenate, Spell Check Document
g Go to Task Selection
When finished with this menu, press ENTER.
Type ID letter to choose ITEM; press ENTER:
(Message Line)
______________________________________
Feature Tasks. The function of the feature tasks option is to provide a mechanism whereby the operator may select certain specific operations to be performed in the system. Each of these operations will be on a separately distributed feature diskette and, hence, the response to the operator selecting the feature task option on the task selection menu (Menu 1) will always be to insert the appropriate feature diskette. After the feature program diskette has been loaded, it is checked to insure that it has the correct maintenance level and menu languages. The specific feature task selection menu on that feature diskette is displayed after the feature program task set is transferred to the system. The menu will depend on the specific feature. The above description of the insertion and removal of diskettes is merely an example of the type of problems that the present invention is directed to. It will be appreciated that as new features are added to the system where each is on a separate 1S1D diskette, considerable time can be wasted changing from one program diskette to another. This is especially true in systems where only one diskette drive is employed and the program diskette cannot be used as a work diskette also. It should also be understood that, for a number of reasons, the basic text processing program might have four or five different capability levels, where each level offers the user more basic functions than the previous level. The decision to package a new function as another version or level of the basic program or as a separate feature will depend more on marketing criteria than on technical considerations. Since the device 14 can read both 1S1D and 2S2D diskettes, considerable improvement in the throughput of the system will be obtained by transferring those individual feature programs that are used most often by the operator from the feature 1S1D diskettes to the 2S2D diskette along with the basic program so that the system can be initialized from the combined 2S2D diskette and the desired subset of tasks and functions can be accomplished without changing diskettes as the tasks are completed. In the following description of the preferred embodiment of the improved method, the various programs are combined onto the 2S2D destination diskette in accordance with a "Combine" program that is entered into the system from a 1S1D source diskette which, in practice, has been packaged as part of the highest version of the basic program. This program guides the operator interactively through a sequence of menus from which selections are made, and also prompts the operator to insert and remove specifically identified 1S1D diskettes at the appropriate time so that task program sets corresponding to the tasks selected from the displayed menus will be transferred to the 2S2D destination diskette and so that the appropriate housekeeping data will also be generated by the system and stored on the 2S2D diskette so as to permit the transferred programs to be subsequently selected and entered into the system from the single 2S2D combined program diskette. The 2S2D combined program diskette also will be used as a work diskette since, from a practical standpoint, the subset of selected task programs for a given text processing application will, in all probability, leave considerable amount of working storage space on the 2S2D combined diskette. FIG. 6 illustrates the various subroutines of the "Combine" program. The "Combine" main subroutine 30 functions to control the flow of operations between the system program and the various subroutines associated with the "Combine" program. The "Combine" program is executed by the system while the textpack or basic program diskette task selection menu is displayed. A copy of the menu follows.
______________________________________
MENU 6
PRODSK Kyb 1
______________________________________
TEXTPACK PROGRAM DISKETTE TASKS
ID ITEM
a Change Document Format Defaults
b Change Alternate Format Defaults
c Change Printer Description
d Change Work Station Description
e Duplicate Machine Setup
f Duplicate Program Diskette
g Erase Program Diskette
h Duplicate Spelling Supplement
i Change Arithmetic Format Defaults
j Create New Combined Program Diskette
k Update Combined Program Diskette
l Go to Task Selection
When finished with this menu, press ENTER.
Type ID letter to choose ITEM; press ENTER:
(Message Line)
______________________________________
The j option, "Create", is the subject of the present application. The "Update" option is described and claimed in copending application Ser. No. 311,113, M. G. Advani et al, filed concurrently herewith and assigned to the assignee of the present invention. When the operator selects option j from the menu, the "Combine" program is read in and the system branches to the "Combine" program. The overall function of the "Combine" program is to first make a logical copy on the 2S2D diskette of all of the programs that reside on the basic program diskette, which may include two diskettes, then transfer programs from selected 1S1D feature diskettes to the 2S2D diskette, then selected language programs from the language diskettes. The term "logical copy" implies a copy of the contents from the source diskette to the destination diskette, but not necessarily to the same physical location or logical address. Some of the tasks that are executed by the initialize subroutine 31 include the establishment of various work buffers in RAM, the assignment of memory for control blocks, and the establishment of the volume table of contents VTOC for the destination diskette. The functional block 32, "Terminate", performs certain functions at the close of the "Combine" program which converts the destination diskette into a valid program diskette. Some of these functions include the storing of the VTOC table as it has been built up in memory on the destination diskette and the transfer of various tables which were built in memory reflecting the various programming modules that have been transferred from the source diskettes to the destination diskette, which are generally referred to as housekeeping tasks. The next block 33 of the "Combine" program is the R/W module whose function is to control the transfer of program data as stored on the source diskettes into memory and the subsequent transfer of program data from the memory to the destination diskette. The R/W physical block subroutine 34 functions to write or read addressed physical blocks of the source and destination diskettes. The block 35 labelled "compatible" determines when a program module on a source diskette is to replace a similar program module on a destination diskette. This subroutine is employed to insure that the latest version of the module, i.e., highest build number, is recorded. The subroutine functional block 36 labelled "update directory" functions to update a destination data set directory as modules are being transferred from the source diskette to the destination diskette. The "feature combine" functional block 37 subroutines function to display to the operator features that may be combined and also to control the transfer of the feature programs from the 1S1D source diskettes to the 2S2D destination diskette. The "Build feature/setup" subroutine 38 operates in connection with the "Combine" feature subroutine to update various tables in memory which will eventually be transferred to the destination diskette. The "2S2D update" subroutine 40 shown in FIG. 6 is not employed in the create combine task. It is the subroutine employed in connection with the update of setups, language supplements, and other data from the update task which is option k of menu 6. The "language combine" routine 41 functions to present to the operator menus which solicit requests for languages to be transferred and their source. The "update spelling table" subroutine 42 transfers a selected language module from the source diskette to the destination diskette and updates a table in memory (and, subsequently, on the combined program diskette) which will be used to indicate what language dictionaries are on the combined program diskette. A number of other subroutines are shown in FIG. 6, and are employed in the process of combining programs. These are generally referred to as the "other service" programs. The "Combine" program proceeds in a sequential fashion to transfer programs to the 2S2D diskette in the following order: 1. The basic text processing program is transferred to the 2S2D diskette as a logical copy. 2. The feature programs are transferred from separate feature diskettes in accordance with the features that have been selected by the operator. 3. The selected language programs and associated dictionaries are transferred to the 2S2D diskette in accordance with the particular languages selected by the operator. The transfer of the basic text processing programs from the 1S1D source diskette to the 2S2D destination diskette is, in essence, a transfer of all program modules from one diskette to the other. A program module comprises 31 control sections (C-sects), each of which is represented by a 5-bit number. A 7-bit module index identifies each module, while a 4-bit data set identifier identifies one of 16 separate data sets. The basic program unit that can be transferred between a source diskette and a destination diskette is a module. The transfer process, therefore, involves identifying on the source diskette those modules that comprise the programs for the task set selected by the operator. Since the "Combine" program per se is part of the basic program package which is represented by two 1S1D diskettes, all of these program modules are, in effect, merely transferred onto the 2S2D destination diskette from each of the 1S1D diskettes. The data set directories that were set up on basic program diskettes are not transferred to the "Combine" destination diskette at this time, but are maintained in memory until all the desired 1S1D diskettes have been transferred to the 2S2D diskette. In addition, all of the modules represented in the data set directories will also be recorded on the destination diskette, and their new locations will be placed in the appropriate data set directory. A data set directory is only established if there is a data set to be recorded on the diskette. In other words, there is not necessarily 16 data set directories on each diskette since the programming modules which comprise the basic programs may not require the establishing of 16 separate data sets. More likely, only half that number of data set directories would have been established for the programming modules for the basic tasks. Further, it should be understood that in each established data set directory, the allocation of modules to the directory results in a very sparsely populated directory in that perhaps only ten of the possible 127 module directory positions in any data set will be occupied by the programs for the basic text processing tasks. The following table represents a hypothetical distribution of program modules among data sets for the basic text processing programs, the feature programs, and the eight language dictionaries.
TABLE 1
______________________________________
Data Sets
0 1 2 3 4 5 . . . 13
14 15
Programs
Basic 6 9 10 11 18 7
Feature 1
3 5 10 4 2 1
Feature 2
3 12 4 4 2 1
Feature 3
3 8 2 4 12
Language 1
1 2 4 8 2 10 --
Language 8
3 5 2 7 2 --
______________________________________
After the basic or text pack programs have been transferred to the 2S2D diskette, the feature programs which have been selected by the operator will then be transferred. Since each feature program is on a separate 1S1D diskette, all of the programming modules that are recorded on that feature diskette will be transferred to the 2S2D diskette. However, the transfer process is slightly different than that previously employed in making the logical copy of the basic programs. In transferring feature program modules to the 2S2D diskette, those modules assigned to the first data set directory on the feature diskette are transferred first. Where a corresponding directory already exists in memory, that directory is updated. When none exists, the next free space on the diskette is preallocated for that data set directory and the modules for that data set are then transferred and recorded after the preallocated space. The process described above is repeated for each of the features which has been selected. The next major step in the combine process involves the transfer of selected language pack dictionaries from the language pack program diskettes to the 2S2D diskette. This transfer process is again slightly different than the logical copy process involved with the basic program modules or the feature program modules. The difference lies in the fact that only those programming modules associated with the selected language dictionary will be transferred from a given diskette. The selection process is established by the operator selecting a particular language from the language selection menu which, in effect, establishes a list of control sections and associated modules that are involved with the selected language dictionary. These modules associated with the selected language dictionary are then transferred in data set sequence to the 2S2D diskette and sequentially recorded, with the respective data set directories being updated as each module is transferred. Again, if the destination diskette does not include the required data set directory because a given programming module has a unique data set number, then space for a new directory is allocated on the 2S2D diskette and is immediately followed by the respective program modules assigned to that unique data set. That process is repeated for each language that is selected. After the last data has been transferred, the "terminate" section 32 (FIG. 6) of the "Combine" program transfers the directories from the system memory to the 2S2D diskette and other predefined tables to permit the 2S2D diskette to be recognized by the system as a valid program disk. While the invention has been particularly shown and described with reference to a preferred embodiment thereof, it will be understood by those skilled in the art that various other changes in the form and details may be made therein without departing from the spirit and scope of the invention.
|
Same subclass Same class Consider this |
||||||||||
