Source: http://www.google.com/patents/US7930308?dq=6,250,774
Timestamp: 2017-03-24 06:55:24
Document Index: 320142728

Matched Legal Cases: ['art 100', 'art 130', 'art 160', 'art 130', 'art 400', 'art 450', 'art 450']

Patent US7930308 - Apparatus and system for performing semi-automatic dataset maintenance - Google PatentsSearch Images Maps Play YouTube News Gmail Drive More »Sign inPatentsAn apparatus and system are disclosed for performing semi-automatic dataset maintenance. The apparatus includes an input module that receives a dataset qualifier. The dataset qualifier describes a collection of datasets. The input module also receives a desired maintenance action to be applied to the...http://www.google.com/patents/US7930308?utm_source=gb-gplus-sharePatent US7930308 - Apparatus and system for performing semi-automatic dataset maintenanceAdvanced Patent SearchTry the new Google Patents, with machine-classified Google Scholar results, and Japanese and South Korean patents.Publication numberUS7930308 B2Publication typeGrantApplication numberUS 12/266,881Publication dateApr 19, 2011Filing dateNov 7, 2008Priority dateJul 6, 2005Fee statusLapsedAlso published asUS7464105, US20070011208, US20090063577Publication number12266881, 266881, US 7930308 B2, US 7930308B2, US-B2-7930308, US7930308 B2, US7930308B2InventorsAlan R. SmithOriginal AssigneeInternational Business Machines CorporationExport CitationBiBTeX, EndNote, RefManPatent Citations (28), Referenced by (1), Classifications (7), Legal Events (3) External Links: USPTO, USPTO Assignment, EspacenetApparatus and system for performing semi-automatic dataset maintenance
US 7930308 B2Abstract
1. A computer program product comprising a computer storage medium tangibly: embodying a program of machine-readable instructions executable by a digital processing apparatus to perform operations to perform semi-automatic mainframe dataset maintenance, the machine-readable instructions comprising:
an operation to receive a dataset qualifier describing a plurality of mainframe datasets, the dataset qualifier comprising a dataset label prefix configured to facilitate locating a set of dataset identifiers;
an operation to retrieve the set of dataset identifiers satisfying the dataset qualifier from a mainframe operating system;
an operation to receive a desired maintenance action to apply to the datasets, the desired maintenance action selected from the group comprising delete, delete archive, archive, recall, rename, and copy; and
an operation to construct a set of mainframe operating system commands configured to fulfill the desired maintenance action such that semi-automatic mainframe dataset maintenance is performed with minimal input from a user, the set of commands comprising at least one command for each dataset, the mainframe operating system commands comprising Time Sharing Option (TSO) commands.
5. The computer program product of claim 2, wherein,
the operation to construct further comprises an operation to generate a file configured to execute as a batch job, the file comprising the mainframe operating system commands; and
the set of mainframe operating system commands are submitted to execute as a batch job in the background of the mainframe operating system.
6. The computer program product of claim 1, wherein the instructions further comprise:
an operation to receive a new name expression in response to the maintenance action comprising one of a rename action and a copy action; and
an operation to utilize the new name expression to generate mainframe operating system commands that determine names for the datasets in accordance with the desired maintenance action.
8. The computer program product of claim 1, wherein the instructions further comprise,
an operation to receive a condition associated with applying the desired maintenance action; and
an operation to remove a dataset not satisfying the conditions from the set of dataset identifiers.
12. An apparatus to perform semi-automatic mainframe dataset maintenance, the apparatus comprising:
an input module configured to receive a dataset qualifier describing a plurality of mainframe datasets and a desired maintenance action to apply to the datasets, the dataset qualifier comprising a dataset label prefix configured to facilitate locating a set of dataset identifiers, the desired maintenance action selected from the group comprising delete, delete archive, archive, recall, rename, and copy, wherein the input module is configured to receive a new name expression in response to the maintenance action comprising one of a rename action and a copy action;
a retrieval module configured to retrieve a set of dataset identifiers satisfying the dataset qualifier from a mainframe operating system;
an editing module configured to edit the set of dataset identifiers in response to a user input;
a command module configured to construct a set of mainframe operating system commands configured to fulfill the desired maintenance action such that semi-automatic mainframe dataset maintenance is performed with minimal input from a user, the set of commands comprising at least one command for each dataset, the mainframe operating system commands comprising Time Sharing Option (TSO) commands, wherein the command module is further configured to utilize the new name expression to generate mainframe operating system commands that determine names for the datasets in accordance with the desired maintenance action; and
an execution module configured to submit the set of commands to the mainframe operating system for execution.
15. The apparatus of claim 12, further comprising a comparison module configured to,
receive a condition associated with applying the desired maintenance action; and
remove a dataset not satisfying the conditions from the set of dataset identifiers.
17. A system to perform semi-automatic mainframe dataset maintenance, the system comprising:
one or more storage volumes;
a communication bus that couples the processor to the one or more storage volumes and to I/O devices and to a memory,
the memory comprising,
20. The system of claim 17, further comprising a comparison module configured to,
remove a dataset not satisfying the conditions from the set of dataset identifiers. Description
This application is a continuation of and claims priority to U.S. patent application Ser. No. 11/175,922 entitled “METHOD FOR PERFORMING SEMI-AUTOMATIC DATASET MAINTENANCE” and filed on Jul. 6, 2005 for Alan R. Smith, which is incorporated herein by reference.
This invention relates to dataset maintenance in a mainframe operating system environment and more particularly relates to performing semi-automatic dataset maintenance.
Mainframe computers are powerful devices used for mission critical software applications. These applications typically generate datasets that store application results. A dataset is a collection of data stored together under a single name. Datasets may reside in volatile memory, or in non-volatile memory such as a disk drive or magnetic tape. Certain software applications can quickly generate numerous related datasets. Typically, each related dataset is named using a convention such that related datasets are easily recognized.
Ongoing use of mainframe applications can generate a large number of datasets. Some datasets contain critical information, such as financial records. However, many datasets do not contain critical information and simply consume storage space.
Managing datasets is an important maintenance function performed by mainframe computer operators. Computer operators regularly manage datasets by performing maintenance actions such as deleting datasets, archiving datasets, deleting archived datasets, recalling datasets from an archive, renaming datasets, and copying datasets. To complete these actions using conventional mainframe operating systems, an operator either manually issues a maintenance command for each dataset to the mainframe operating system, or manually creates a batch file with a maintenance command entry for each dataset.
Due to the large number of datasets created, and the fact that applications often create large sets of related datasets, issuing maintenance commands for a set of related datasets is very time consuming. Issuing the maintenance commands requires numerous keystrokes. Consequently, the process of issuing maintenance commands is prone to error. In addition to the time required to type maintenance commands, operators often need to wait for a period of time after issuing a command before a subsequent command can be issued.
From the foregoing discussion, it should be apparent that a need exists for an apparatus and system that perform semi-automatic dataset maintenance. Beneficially, such an apparatus and system would reduce the number of keystrokes required to issue maintenance commands to a mainframe operating system and would consequently eliminate errors. Additionally, such an apparatus and system would increase efficiency for mainframe computer operators.
The present invention has been developed in response to the present state of the art and, in particular, in response to the problems and needs in the art that have not yet been fully solved by currently available dataset maintenance tools. Accordingly, the present invention has been developed to provide an apparatus and system for performing semi-automatic dataset maintenance that overcome many or all of the above-discussed shortcomings in the art.
The apparatus to perform semi-automatic dataset maintenance is provided with a logic unit containing a plurality of modules configured to functionally execute the necessary steps of performing semi-automatic dataset maintenance. These modules in the described embodiments include an input module, a retrieval module, and a command module.
The input module receives a dataset qualifier describing a plurality of datasets. The dataset qualifier is a string of alphanumeric text. The input module also receives a desired maintenance action to be applied to the datasets. In one embodiment, the maintenance action is a delete action, delete archive action, archive action, recall action, rename action, or a copy action. The datasets, in one embodiment, are Information Management System (IMS) database datasets, DB2 database datasets, Oracle database datasets, z/OS datasets, or Virtual Sequential Access Method (VSAM) datasets. Preferably, the input module also receives a new name expression when the maintenance action is one of a rename action and a copy action.
A retrieval module retrieves a set of dataset identifiers that satisfy the dataset qualifier from a mainframe operating system. In one embodiment, the dataset identifier includes at least one of a dataset name, time of creation information, and a storage volume name for each dataset.
A command module constructs a set of mainframe operating system commands to fulfill the desired maintenance action. The set of commands includes at least one command for each dataset satisfying the dataset qualifier. The commands, in one embodiment, are Time Sharing Option (TSO) commands. Preferably, the command module utilizes the new name expression received by the input module to generate commands that create new names for the datasets in the case of a copy action or a rename action.
Preferably, the command module selects at least one mainframe operating system command for each dataset from a set of related mainframe operating system commands that fulfill a desired maintenance action based on a portion of the dataset identifier of each dataset.
In one embodiment, the command module generates a file configured to execute as a batch job in the background of a mainframe operating system. The file includes the constructed mainframe operating system commands. Preferably, the apparatus includes an editing module. The editing module adds, deletes, or modifies one or more of the dataset identifiers in response to user input.
In one embodiment, the apparatus includes an execution module. The execution module submits the set of commands constructed by the command module to the mainframe operating system for execution. In one embodiment, the execution module submits the set of commands for execution in the foreground of the mainframe operating system. In another embodiment, the execution module submits the set of commands as a batch file for execution in the background of the mainframe operating system.
Preferably, the apparatus includes a comparison module. The comparison module receives one or more conditions associated with applying the desired maintenance action to the datasets. The comparison module removes datasets from the set of dataset identifiers that do not satisfy the conditions.
A system of the present invention is also presented to perform semi-automatic dataset maintenance. The system includes a maintenance module comprising the modules of the apparatus. In particular, the system, in one embodiment, includes a processor, a storage device, Input/Output (I/O) devices, a communication bus, and a memory. The processor executes software to manage operations of the system. The storage device stores a plurality of datasets. The I/O devices interact with a user. The communication bus operatively couples the processor, storage device, I/O devices, and memory.
The memory may include a user interface, the maintenance module, and a mainframe operating system. A user may provide input to the maintenance module through the I/O devices and user interface. Additionally, the results of the dataset maintenance action may be displayed for the user using the I/O devices.
A method of the present invention is also presented for performing semi-automatic dataset maintenance. The method in the disclosed embodiments substantially includes the steps necessary to carry out the functions presented above with respect to the operation of the described apparatus and system. In one embodiment, the method receives a dataset qualifier describing a plurality of datasets.
Next, a set of dataset identifiers is retrieved from a mainframe operating system. A desired maintenance action for the datasets is received. Finally, a set of mainframe operating system commands configured to fulfill the desired maintenance action is constructed. The method also may include submitting the set of commands to the mainframe operating system for execution in either the foreground or background.
In a further embodiment, the method includes receiving a new name expression for at least one of a rename action and a copy action and utilizing the new name expression to generate mainframe operating system commands that properly name the renamed or copied datasets. In a further embodiment, the method includes editing the set of dataset identifiers in response to user input. In yet another embodiment, the method includes receiving one or more conditions and removing datasets not satisfying the conditions from the set of dataset identifiers.
Reference throughout this specification to features, advantages, or similar language does not imply that all of the features and advantages that may be realized with the present invention should be or are in any single embodiment of the invention. Rather, language referring to the features and advantages is understood to mean that a specific feature, advantage, or characteristic described in connection with an embodiment is included in at least one embodiment of the present invention. Thus, discussion of the features and advantages, and similar language, throughout this specification may, but does not necessarily, refer to the same embodiment.
FIG. 1A is a chart illustrating an example dataset qualifier;
FIG. 1B is a chart illustrating an example set of dataset identifiers;
FIG. 1C is a chart illustrating an example mainframe operating system command;
FIG. 2 is a schematic block diagram illustrating one embodiment of a system for performing semi-automatic dataset maintenance in accordance with the present invention;
FIG. 3 is a schematic block diagram illustrating one embodiment of an apparatus for performing semi-automatic dataset maintenance in accordance with the present invention;
FIG. 4A is a chart illustrating an example set of mainframe operating system commands;
FIG. 4B is a chart illustrating an example set of mainframe operating system commands;
FIG. 5 is a schematic flow chart diagram illustrating one embodiment of a method for performing semi-automatic dataset maintenance in accordance with the present invention; and
FIG. 6 is a schematic flow chart diagram illustrating another embodiment of a method for performing semi-automatic dataset maintenance in accordance with the present invention.
Indeed, a module of executable code may be a single instruction, or many instructions, and may even be distributed over several different code segments, among different programs, and across several memory devices. Similarly, operational data may be identified and illustrated herein within modules, and may be embodied in any suitable form and organized within any suitable type of data structure. The operational data may be collected as a single data set, or may be distributed over different locations including over different storage devices, and may exist, at least partially, as mere electronic signals on a system or network.
FIG. 1A is a chart 100 illustrating an example dataset qualifier 102. A dataset qualifier 102 is a text string used to describe a set of related datasets.
FIG. 1B is a chart 130 illustrating an example set of dataset identifiers 132. Each dataset identifier 132 may include a dataset name 134, time of creation information 136, and a dataset storage volume name/status 138. Each dataset identifier 132 satisfies a dataset qualifier 102. For example, the dataset identifiers 132 in FIG. 1B each satisfy the dataset qualifier 102 of FIG. 1A. The dataset qualifier 102 “S840636.KBLA.CNTL” is a common portion of each of the dataset names 134 of FIG. 1B.
Typically, an operator performs a maintenance function on a group of related datasets. The operator may use a dataset qualifier 102 to obtain a list of dataset identifiers 132 satisfying the dataset qualifier from a mainframe operating system. The operator then applies the maintenance function to each of the datasets represented by the dataset identifiers 132 by manually issuing a command to the mainframe operating system for each dataset.
FIG. 1C is a chart 160 illustrating an example dataset maintenance command 162 for deleting a single dataset. If an operator desired to delete all datasets related by the dataset qualifier 102 of FIG. 1A, the operator would need to issue eight distinct commands, one for each dataset identifier 132 listed in the chart 130 of FIG. 1B. Completing this simple delete operation involves a significant number of keystrokes and consumes valuable operator time.
FIG. 2 illustrates one embodiment of a system 200 for performing semi-automatic dataset maintenance. The system 200 includes a processor 202, one or more storage volumes 204, I/O devices 206, a memory 208, and a communication bus 210. Those of skill in the art will recognize that the system 200 may be more simple or complex than illustrated so long as the system 200 includes modules or sub-systems that correspond to those described herein. In one embodiment, the system 200 comprises hardware and/or software more commonly referred to as a zSeries/Operating System (z/OS).
Typically, the processor 202 comprises one or more central processing units executing software and/or firmware to control and manage the other components within the system 200. The storage volumes 204 provide persistent storage of data. In particular, the storage volumes 204 store a plurality of data sets 212.
The I/O devices 206 permit a user 216 to interface with the system 200. The I/O devices 206 include standard devices such as a keyboard, monitor, mouse, and the like. One or more I/O controllers 218 couple the I/O devices 206 to the communication bus 210. The I/O controllers 218 manage data flow between the components of the system 200 and the I/O devices 206.
The communication bus 210 operatively couples the processor 202, memory 208, I/O controllers 218, and storage volumes 204. The communication bus 210 may implement a variety of communication protocols including Peripheral Communication Interface, Small Computer System Interface, and the like.
The memory 208 may include a User Interface (UI) 220, a mainframe operating system 222, and a maintenance module 224. The UI 220 may comprise a command line interface, an entry panel-driven interface, a Graphical User Interface (GUI), a batch interface, or a combination of these. The user 216 may enter predefined commands, operators, or data values into the UI 220 to define a dataset qualifier 102. Preferably, the UI 220 checks user input to ensure that syntax and semantics rules are satisfied.
The UI 220 provides a dataset qualifier 102 to the maintenance module 224. The UI 220 may comprise Interactive System Productivity Facility (ISPF) panels used with the z/OS mainframe operating system 222. Alternatively, a script, software code, or the like may provide the dataset qualifier 102 to the maintenance module 224. The maintenance module 224 retrieves a set of dataset identifiers 132 that satisfy the dataset qualifier 102 from the mainframe operating system 222. The datasets 212 represented by the dataset identifiers 132 satisfying the dataset qualifier 102 may be located on more than one storage volume 204.
The UI 220 provides a desired maintenance action to be applied to the datasets 212 described by the dataset identifiers 132 to the maintenance module 224. The maintenance module 224 uses the desired maintenance action to construct a set of mainframe operating system commands designed to fulfill the desired maintenance action. The set of commands includes at least one command 162 for each dataset 212 represented by the dataset identifiers 132 satisfying the dataset qualifier 102. In one embodiment, the maintenance module 224 submits the set of commands to the mainframe operating system 222 for execution either in the foreground of the operating system or in the background of the operating system as a batch job.
FIG. 3 depicts one embodiment of a maintenance module 300. Preferably, the maintenance module 300 is configured to serve as the maintenance module 224 described above in relation to FIG. 2. The maintenance module 300 includes an input module 302, a retrieval module 304, and a command module 306.
The input module 302 receives a dataset qualifier 102 describing a plurality of datasets 212. The dataset qualifier 102 is a string of alphanumeric text describing a set of datasets 212. The dataset qualifier 102 typically comprises a portion of a dataset name 134. The dataset qualifier 102 may include a wildcard character such as a “*” or “?” that substitutes for one or more alphanumeric characters.
The input module 302 also receives a desired maintenance action to be applied to the datasets 212 satisfying the dataset qualifier 102. In one embodiment, the maintenance action may be a delete action, a delete archive action, an archive action, a recall action, a rename action, or a copy action. A delete action deletes datasets 212 from storage volumes 204. A delete archive action deletes datasets 212 from archived storage volumes such as magnetic tapes. An archive action moves datasets 212 to an archive storage volume such as a magnetic tape. A recall action moves datasets 212 from archived storage such as magnetic tapes to a storage volume 204 such as a hard disk drive. A rename action changes the names of datasets 212. A copy action copies datasets 212 and names the copied versions of the datasets 212.
Of course, the input module 302 may also receive other dataset maintenance actions that manipulate datasets 212. A user 216 may supply the input module 302 with the desired maintenance action through a user interface 220. Alternatively, the input module 302 may receive the desired maintenance function from a file, a script, a batch job, software code, or the like. The datasets 212, in one embodiment, may be of a specific type such as Information Management System (IMS) database datasets, DB2 database datasets, Oracle database datasets, z/OS datasets, or Virtual Sequential Access Method (VSAM) datasets.
Preferably, the input module 302 also receives a new name expression when the maintenance action is a rename action or a copy action. When a rename action is performed on a dataset 212, a new name is applied to the dataset 212. Similarly, when a copy action is performed on a dataset 212, a new name is applied to the copied dataset 212 since the original dataset 212 and the copied dataset are typically not allowed to have the same name. The new name expression specifies a format to be used to create a new name. A new name expression may comprise wildcards or other text indicators that specify a technique for generating the new name.
For example, a new name expression “S8400.KBLA.BAK.*” may be used with a dataset name “S840636.KBLA.CNTL.B040901A” to create a new name “S8400.KBLA.BAK.B040901A.” In the depicted example, the new name expression specifies that the first three fields of the new name are “S8400.KBLA.BAK.” The asterisk (wild card indicator) in the new name expression specifies that the last field of the new name comes from the original name. In this example the last field of the original name, “B040901A” is appended to the explicit fields of the new name expression, “S8400.KBLA.BAK” to form the new name “S8400.KBLA.BAK.B040901A.”
A single new name expression may be used to create new names for a set of datasets 212. For example, the single new name expression described above, “S8400.KBLA.BAK.*,” may be used to specify new names for all eight of the dataset identifiers 132 depicted in FIG. 1B. In addition to the new name expression described above, one of skill in the art will recognize a variety of additional techniques for creating new name expressions capable of generating new names for a set of datasets 212 using a single new name expression.
Of course, those of skill in the art will recognize that the input module 302 may receive its inputs as part of a single input or as a series of individual inputs. For example, a single input to the input module 302 may include the dataset qualifier 102 and the desired maintenance action. Optionally, the single input may include additional data set maintenance actions, data set type qualifiers, new name expressions, and the like.
The retrieval module 304 retrieves a set of dataset identifiers 132 satisfying the dataset qualifier 102 from a mainframe operating system 222. In one embodiment, the retrieval module 304 submits a list command to the mainframe operating system 222. The retrieval module 304 includes the dataset qualifier 102 with the list command. In certain embodiments, the retrieval module 304 may edit the dataset qualifier 102 to conform to a proper format before including the dataset qualifier 102 in the list command.
For example, if the dataset qualifier is “S840636.KBLA.CNTL” the retrieval module 304 may submit a “LISTC LEV(‘S840636.KBLA.CNTL’) ALL” command to a z/OS mainframe operating system 222. In this example “LISTC” is the list command and “LEV(‘S840636.KBLA.CNTL’) ALL” is an edited dataset qualifier. Editing the dataset qualifier may be necessary to comply with a particular format expected by the mainframe operating system 222. Editing may be performed automatically by the retrieval module 304 and/or in conjunction with certain user input.
In response to the list command, the mainframe operating system 222 provides the retrieval module 304 with a text description of the datasets 212 satisfying the dataset qualifier 102. The text description may vary according to the mainframe operating system 222. In one embodiment, the text description returned by the mainframe operating system 222 comprises a dataset identifier 132 including a dataset name 134, time of creation information 136, and a storage volume name 138 for each dataset 212 satisfying the dataset qualifier 102. In another embodiment, the text description may include size information, last access time, or the like.
If necessary, the retrieval module 304 deletes unnecessary information from the text description returned by the mainframe operating system 222 such as blank lines, titles, formatting characters, and the like. The remaining information comprises a set of dataset identifiers 132. Alternatively, the retrieval module 304 may cooperate with a file system and scan files of the file system to generate a list of dataset identifiers 132. In yet another embodiment, the retrieval module 304 may retrieve the dataset identifiers 132 from a database using the dataset qualifier 102 as a query.
The command module 306 constructs a set of mainframe operating system commands to fulfill the desired maintenance action. The command module 306 converts the set of dataset identifiers 132 created by the retrieval module 304 into a set of mainframe operating system commands to fulfill the maintenance action received by the input module 302.
FIG. 4A is a chart 400 illustrating a set of mainframe operating system commands 402 created by the command module 306 to fulfill a delete maintenance action for datasets 212 identified by the dataset qualifier 102 of FIG. 1A. The set of commands 402 includes a command corresponding to each of the dataset identifiers 132 of FIG. 1B. The commands 402 in this example are Time Sharing Option (TSO) commands suitable for use with a z/OS mainframe operating system. The automatic creation of the set of mainframe operating system commands 402 by the command module 306 is advantageous because it eliminates the need for an operator to manually type each of the mainframe operating system commands 402.
In one embodiment, the command module 306 may automatically convert the desired maintenance action supplied by the input module 302 to different, but related, commands based on the state of the dataset 212. For example, a user 216 may desire to delete a set of datasets 212 satisfying a dataset qualifier 102. However, certain datasets 212 satisfying the dataset qualifier 102 may be archived and other datasets 212 satisfying the dataset qualifier 102 may not be archived.
The command module 306 (See FIG. 3) examines the set of dataset identifiers 132 provided by the retrieval module 304 to distinguish between archived datasets and non-archived datasets. In particular, the command module 306 examines the dataset storage volume name/status 138 to detect archived datasets. Consequently, the command module 306 may automatically create a set of commands 402 using a “delete archive” command, such as the “HDELETE” TSO command, for the archived datasets 212 and a “delete” command, such as the “DELETE” TSO command, for datasets 212 that are not archived.
In another example, the command module 306 may detect, from the dataset storage volume name/status 138, that certain datasets 212 described by the set of dataset identifiers 132 are VSAM datasets and other datasets 212 are z/OS datasets. In this example, the command module 306 creates commands using the “DELETE PURGE CLUSTER” TSO command for the VSAM datasets 212 and creates commands using the “DELETE” TSO command for z/OS datasets 212.
Preferably, the command module 306 utilizes the new name expression received by the input module 302 when creating rename or copy commands for rename and copy maintenance actions. The command module 306 interprets the new name expression in a manner as described above and creates new names for datasets 212 affected by rename or copy commands.
In one embodiment, the command module 306 generates a file containing the resulting set of commands 402. The command module 306 may configure the file to execute as a batch job in the background of the mainframe operating system 222. The file may also contain administrative commands necessary to properly begin and end the batch job, such as Job Control Language (JCL) commands.
In one embodiment, the apparatus 300 (See FIG. 3) includes an execution module 308. The execution module 308 submits the set of commands 402 constructed by the command module 306 to the mainframe operating system 222 (See FIG. 2) for execution. In one embodiment, the execution module 308 instructs the mainframe operating system 222 to execute the commands 402 in the foreground of the operating system 222. The mainframe operating system 222 executes the commands 402 sequentially; issuing subsequent commands only after the current command has finished executing. When the operating system 222 executes commands 402 in the foreground, the user 216 may be unable to issue other commands unrelated to dataset maintenance to the mainframe operating system 222 until execution of the set of commands 402 is complete.
In another embodiment, the execution module 308 submits the set of commands 402 to the mainframe operating system 222 as a batch file and instructs the mainframe operating system 222 to execute the commands in the background of the operating system 222. Since the mainframe operating system 222 executes the commands 402 in the background, the user 216 may issue other commands to the operating system 222 while the operating system 222 is executing the commands 402 in the batch file. Preferably, the mainframe operating system 222 notifies the execution module 308 once the batch file execution is complete.
Maintaining datasets 212 (See FIG. 2) with the apparatus 300 is semi-automatic, not automatic, since the input module 302 requires a dataset qualifier 102 and a desired maintenance action. However, once the input module 302 receives these parameters, the apparatus 300 applies the maintenance action to the datasets 212 satisfying the dataset qualifier 102 automatically. In contrast to conventional manual maintenance, the apparatus 300 automatically creates the proper set of maintenance commands 402 and preferably submits them to the operating system 222 for execution. Consequently, dataset maintenance using the apparatus 300 requires far fewer keystrokes, is less error prone, and requires less operator time than conventional manual dataset maintenance.
Preferably, the apparatus 300 (See FIG. 3) also includes an editing module 310. The editing module 310 preferably modifies the set of dataset identifiers 132 (See FIG. 1) retrieved by the retrieval module 304 before the command module 306 constructs a set of commands 402 corresponding to the set of dataset identifiers 132. The editing module 310 may provide a version of the set of dataset identifiers 132 to a user 216 so that the user 216 may preview the dataset identifiers 132. The editing module 310 may provide the set of dataset identifiers 132 to the UI 220 for display to the user 216. Alternatively, the editing module 310 may make a file containing a version of the set of dataset identifiers 132 available to the user 216. Of course, the editing module 310 may use other techniques well known to those of skill in the art to provide the set of dataset identifiers 132 to the user 216.
If desired, the user 216 may edit the set of dataset identifiers 132 provided by the editing module 310 by adding additional identifiers to the set, deleting identifiers from the set, or modifying identifiers within the set. The ability to edit the set of dataset identifiers 132 enables the user 216 to preview the datasets 212 and make desired changes to the set of dataset identifiers 132 before the maintenance action is applied.
In one embodiment, the user 216 edits a text file containing the set of dataset identifiers 132 by adding lines to the file, deleting lines, or modifying existing lines. Once the user 216 has made desired changes to the set of dataset identifiers 132, the editing module 310 receives the edited version of the set of dataset identifiers 132. The editing module 310 may update the original set of dataset identifiers 132 to reflect the changes received from the user 216. The editing module 310 may then provide the updated set of dataset identifiers to the command module 306.
In one embodiment, the editing module 310 suspends further operation of the apparatus 300 until the editing module 310 receives the edited version of the set of dataset identifiers 132. In another embodiment, the editing module 310 waits a predetermined amount of time for an edited version of the set of dataset identifiers 132. If the predetermined amount of time expires before the editing module 310 receives an edited version of the set of dataset identifiers 132, the apparatus 300 may continue operation with the original set of dataset identifiers 132.
Preferably, the apparatus 300 includes a comparison module 312. The comparison module 312 receives one or more conditions associated with applying the desired maintenance action to the datasets 212 from the user interface 220. Alternatively, the comparison module 312 may receive the conditions from a file, a script, a batch job, software code, or the like. The comparison module 312 evaluates the conditions with respect to each identifier in the set of dataset identifiers 132. The comparison module 312 removes identifiers that do not satisfy the conditions from the set of dataset identifiers 132 before the command module 306 constructs commands for the set of dataset identifiers 132.
The comparison module 312 applies the conditions to the dataset identifier. If the dataset identifier comprises a dataset name 134, time of creation information 136, and a dataset storage volume name 138, acceptable conditions may be written that reference the dataset name 134, dataset storage volume name 138, and time of creation information 136. For example, the comparison module 312 may apply a condition specifying a maintenance action for datasets 212 that are stored on a particular storage volume. Such a condition may be based on the dataset storage volume name. Another condition may specify a maintenance action for datasets 212 created before a particular date. Such a condition may be based on the time of creation information 136.
FIG. 4B is a chart 450 illustrating the application of a condition to a set of dataset identifiers 132. In an example illustrated by FIG. 4B, a condition specifying that archived datasets are to be deleted has been applied to the set of dataset identifiers 132 illustrated in FIG. 1B. The first six datasets illustrated in FIG. 1B are archived, as indicated by the dataset storage volume name 138 “ARCHIVED.” The last two datasets in FIG. 1B are not archived, as indicated by the dataset storage volume names 138 “SYS186” and “SYS195.”
The comparison module 312 applies the condition that archived datasets are to be deleted to each dataset identifier 132 and determines that only the first six dataset identifiers 132 satisfy the condition. The comparison module 312 deletes the last two entries from the set of dataset identifiers 132 and creates an updated set of dataset identifiers 452, illustrated in the chart 450 of FIG. 4B. The comparison module 312 provides the updated set of dataset identifiers 452 to the command module 306.
FIG. 5 is a flow chart diagram illustrating one embodiment of a method 500 for performing semi-automatic dataset maintenance in accordance with the present invention. Preferably, the method 500 is implemented in a conventional system by modifying computer readable code to implement the maintenance module 300 described above. The method 500 begins 502 when the input module 302 receives 504 a dataset qualifier 102 describing a plurality of datasets 212. As mentioned above, the input module 302 may receive the dataset qualifier 102 from a user 216 or from another source such as a file, a script, a batch job, software code, or the like.
Next, the retrieval module 304 retrieves 506 a set of dataset identifiers 132 satisfying the dataset qualifier 102 preferably by submitting a list command to a mainframe operating system 222. Of course, the retrieval module 304 may use other well known techniques for retrieving the set of dataset identifiers 132. In certain embodiments, the retrieval module 304 edits the dataset qualifier 102 to conform to a proper format before including the dataset qualifier 102 in the list command. If necessary, the retrieval module 304 deletes unnecessary information from the text description returned by the mainframe operating system 222 such as blank lines, titles, formatting characters, and the like.
Next, the input module 302 receives 508 a desired maintenance action using a UI 220, a file, a script, a batch job, software code, or the like. The maintenance action will be applied to the datasets 212 described by the dataset qualifier 102. Finally, the command module 306 constructs 510 a set of mainframe operating system commands 402 configured to fulfill the desired maintenance action in substantially the same manner as described above in relation to FIGS. 3 and 4A. In one embodiment, the command module 306 generates a batch file containing the set of mainframe operating system commands 402. The method 500 ends 512.
FIG. 6 is a flow chart diagram illustrating an additional embodiment of a method 600 for performing semi-automatic dataset maintenance in accordance with the present invention. Preferably, the method 600 is implemented in a conventional system by modifying computer readable code to implement one embodiment of the maintenance module 224 (See FIG. 2) described above. The method 600 begins 602 when the input module 302 receives 604 a dataset qualifier 102 describing one or more datasets 212.
Next, the retrieval module 304 retrieves 606 a set of dataset identifiers 132 satisfying the dataset qualifier 102 by submitting a list command to a mainframe operating system 222. The editing module 310 may provide 608 a version of the set of dataset identifiers 132 to a user 216 for review. The editing module 310 may receive 610 an edited version of the dataset identifiers from the user 216 and may update the set of dataset identifiers 132 to match the edited version of the dataset identifiers. If the user 216 makes no edits, the dataset identifier 132 may be unchanged.
Next, the input module 302 receives 612 a desired maintenance action to be applied to the datasets 212 described by the dataset qualifier 102 using a UI 220, a file, a script, a batch job, software code, or the like. The input module 302 may then receive 614 one or more conditions associated with applying the desired maintenance action to the datasets 212 from a user interface 220, a script, a batch job, software code, or the like. The comparison module 312 determines 616 if the first dataset identified by its identifier satisfies the condition.
If the first dataset does not satisfy the condition, the comparison module 312 deletes 618 the first dataset identifier 132 from the set of dataset identifiers 132. If the first dataset satisfies the condition, the comparison module 312 determines 620 if there are additional dataset identifiers 132 in the set of dataset identifiers 132. If there are additional dataset identifiers 132, the comparison module 312 determines 616 if the second dataset satisfies the condition. The cycle continues until the comparison module 312 has evaluated all of the dataset identifiers 132 in the set of dataset identifiers 132 with respect to the condition.
Next, the command module 306 constructs 622 a set of mainframe operating system commands 402 configured to fulfill the desired maintenance action in substantially the same manner as described above in relation to FIGS. 3 and 4A. Alternatively, the commands 402 may be configured for a file system or other storage management system. Finally, the execution module 308 may submit 624 the set of commands 402 constructed by the command module 306 to the mainframe operating system 222, or other suitable dataset management systems, for execution.
In one embodiment, the execution module 308 instructs the mainframe operating system 222 to execute the commands 402 in the foreground. In another embodiment, the execution module 308 submits the set of commands 402 to the mainframe operating system 222 as a batch file and instructs the mainframe operating system 222 to execute the commands in the background. The method 600 ends 626.
A method for servicing a client uses the apparatus 300 to perform semi-automatic dataset maintenance in accordance with the present invention. A client or customer may provide a dataset qualifier 102 describing one or more datasets 212 and a desired maintenance action to the input module 302 of the apparatus 300. Alternatively, the client may simply describe verbally, or in text, how certain data sets are to be maintained. A service provider may then determine the dataset qualifier 102 and proper maintenance action.
Alternatively, the client or service provider may provide the dataset qualifier 102 and desired maintenance action to a UI 220. Next, the apparatus 300 retrieves a set of dataset identifiers 132 satisfying the dataset qualifier 102 from a mainframe operating system 222, and constructs a set of mainframe operating system commands 402 configured to fulfill the desired maintenance action. The apparatus 300 may optionally permit the client or service provider to edit the set of dataset identifiers 132.
A service provider may utilize the method described above to perform services for a client. For example, a client regularly executing a mainframe application may generate a large number of datasets 212. Rather than manually deleting unnecessary datasets 212 one at a time, the client may request assistance from a service provider. Next, the service provider determines a dataset qualifier 102 describing the unnecessary dataset(s) and a delete maintenance action. The service provider then provides the dataset qualifier 102 and delete maintenance action to the input module 302 of the apparatus 300.
The apparatus 300 then follows the method 500 described above in relation to FIG. 5 to create a set of mainframe operating system or other dataset management commands 402 to fulfill the delete maintenance action. Preferably, the apparatus 300 submits the set of commands 402 to the mainframe operating system 222. Alternatively, the service provider may provide the set of commands 402 to the client in a batch file so the client may subsequently submit the set of commands 402 to the mainframe operating system 222.
Patent CitationsCited PatentFiling datePublication dateApplicantTitleUS4408273May 27, 1980Oct 4, 1983International Business Machines CorporationMethod and means for cataloging data sets using dual keyed data sets and direct pointersUS4855907Apr 22, 1988Aug 8, 1989International Business Machines CorporationMethod for moving VSAM base clusters while maintaining alternate indices into the clusterUS5021949Feb 29, 1988Jun 4, 1991International Business Machines CorporationMethod and apparatus for linking an SNA host to a remote SNA host over a packet switched communications networkUS5295222May 18, 1992Mar 15, 1994Seer Technologies, Inc.Computer-aided software engineering facilityUS5606689Dec 23, 1992Feb 25, 1997Fujitsu LimitedData processing apparatus including external storage previously reserved to be allocated to job groupsUS5878418Aug 12, 1997Mar 2, 1999Intervoice Limited PartnershipAuto definition of data sets and provisioning interfaces for call automationUS5999937Jun 6, 1997Dec 7, 1999Madison Information Technologies, Inc.System and method for converting data between data setsUS6530078Mar 26, 1999Mar 4, 2003Alexander V. ShmidVirtual machines in OS/390 for execution of any guest systemUS6594676Apr 10, 2000Jul 15, 2003International Business Machines CorporationSystem and method for recovery of multiple shared database data sets using multiple change accumulation data sets as inputsUS6629196Apr 6, 1998Sep 30, 2003Thomson Licensing S.A.Method and device for obtaining an adaptive selection of sets of data stored in a mass memoryUS6675175Feb 19, 1999Jan 6, 2004International Business Machines CorporationMethod and system for sharing catalogs in a multiprocessing system utilizing a shared processorUS6691301Jan 29, 2001Feb 10, 2004Celoxica Ltd.System, method and article of manufacture for signal constructs in a programming language capable of programming hardware architecturesUS7149753Apr 30, 2002Dec 12, 2006Sap AktiengesellschaftProviding selective access to tracking informationUS7185017Apr 10, 2002Feb 27, 2007Compuware CorporationSystem and method for selectively processing data sub-segments using a data maskUS20020199173Jan 29, 2001Dec 26, 2002Matt BowenSystem, method and article of manufacture for a debugger capable of operating across multiple threads and lock domainsUS20030071838Oct 12, 2001Apr 17, 2003Sayling WenIntuitive computer data management system and methodUS20030101193Nov 29, 2001May 29, 2003Wal-Mart Stores, Inc.Methods and apparatus for database space calculation and error detectionUS20030105620Jan 29, 2001Jun 5, 2003Matt BowenSystem, method and article of manufacture for interface constructs in a programming language capable of programming hardware architeturesUS20030115372Dec 18, 2001Jun 19, 2003International Business Machines CorporationSystems, methods, and computer program products to improve performance of ported applications, such as a databaseUS20030177473Mar 12, 2002Sep 18, 2003International Business Machines CorporationMethod, apparatus, and program for synchronous remote buildsUS20030212528Jan 21, 2003Nov 13, 2003Chandler Larry S.Inversion-conforming data sets processingUS20030233347Jun 13, 2002Dec 18, 2003Weinberg Paul N.Method and apparatus for generating and utilizing qualifiers and qualified taxonomy tablesUS20030236849 *Feb 28, 2003Dec 25, 2003Hitachi, Ltd.Data linkage method and systemUS20040172408Dec 17, 2003Sep 2, 2004Jorg KlosterhalfenReal time maintenance of a relational database priorityUS20050066016Sep 22, 2003Mar 24, 2005International Business Machines CorporationInterface for configuring internet communications on a z series computerUS20070226342 *Mar 23, 2006Sep 27, 2007First Data CorporationTransaction request processing system and methodUS20090208081 *Feb 15, 2008Aug 20, 2009Punam Kumar SahaApparatus and method for computing regional statistical distribution over a mean atomic spaceUS20090241118 *Mar 20, 2008Sep 24, 2009American Express Travel Related Services Company, Inc.System and method for processing interface requests in batch* Cited by examinerReferenced byCiting PatentFiling datePublication dateApplicantTitleUS9304887Sep 16, 2013Apr 5, 2016International Business Machines CorporationMethod and system for operating system (OS) verificationClassifications U.S. Classification707/755, 707/803International ClassificationG06F17/30Cooperative ClassificationY10S707/99942, G06F17/30377, Y10S707/99943European ClassificationG06F17/30S3ULegal EventsDateCodeEventDescriptionNov 28, 2014REMIMaintenance fee reminder mailedApr 19, 2015LAPSLapse for failure to pay maintenance feesJun 9, 2015FPExpired due to failure to pay maintenance feeEffective date: 20150419RotateOriginal ImageGoogle Home - Sitemap - USPTO Bulk Downloads - Privacy Policy - Terms of Service - About Google Patents - Send FeedbackData provided by IFI CLAIMS Patent Services