Claims
- 1. A method of accessing a dataset, comprising
intercepting an open request to access a dataset, the open request being associated with a first data structure that specifies a first access method; replacing the first data structure with a second data structure that specifies a second access method which is different from the first access method; and accessing the dataset in accordance with the second access method of the second data structure.
- 2. The method of claim 1 wherein the open request specifies that the dataset is to be opened for reading, and said accessing reads from the dataset in accordance with the second access method.
- 3. The method of claim 1 wherein the open request that specifies that the dataset is to be opened for writing, and said accessing writes to the dataset in accordance with the second access method.
- 4. The method of claim 1 wherein the first access method is a basic direct access method and the second access method is a sequential access method.
- 5. The method of claim 1 wherein the dataset is an extended format physical sequential dataset.
- 6. The method of claim 1 further comprising:
specifying an access interface module to access the dataset, wherein said accessing is performed by the access interface module.
- 7. The method of claim 1 wherein the first data structure is a first data control block, and the second data structure is a second data control block.
- 8. The method of claim 1 wherein the second data structure contains an address of a shadow access interface module, and said accessing also invokes the shadow access interface module, the shadow access interface module receiving the address of the second data structure, and
invoking, by the shadow access interface module, a supported access module to access the dataset in accordance with the second access method.
- 9. The method of claim 1 further comprising:
qualifying the dataset to determine whether the first data structure is to be replaced; and when the first data structure is to be replaced, issuing another dataset open request to open the dataset using the second access method.
- 10. An apparatus for accessing a dataset, comprising:
a processor; and a memory storing one or more instructions to be executed by the processor that:
intercepts an open request to access a dataset, the open request being associated with a first data structure that specifies a first access method; replaces the first data structure with a second data structure that specifies a second access method which is different from the first access method; and accesses the dataset in accordance with the second access method of the second data structure.
- 11. The apparatus of claim 10 wherein the open request specifies that the dataset is to be opened for reading, and said one or more instructions also read from the dataset in accordance with the second access method.
- 12. The apparatus of claim 10 wherein the open request specifies that the dataset is to be opened for writing, and said one or more instructions also write to the dataset in accordance with the second access method.
- 13. The apparatus of claim 10 wherein the first access method is a basic direct access method and the second access method is a sequential access method.
- 14. The apparatus of claim 10 wherein the dataset is an extended format physical sequential dataset.
- 15. The apparatus of claim 10 wherein the first data structure is a first data control block, and the second data structure is a second data control block.
- 16. The apparatus of claim 10, wherein said one or more instructions also specify an access interface module to access the dataset, the access interface module comprising said one or more instructions to access the dataset.
- 17. The apparatus of claim 10 wherein the second data structure contains an address of a shadow access interface module, and said one or more instructions that access also invoke the shadow access interface module, the shadow access interface module receiving the address of the second data structure, and said one or more instructions also invoke, by the shadow access interface module, a supported access module to access the dataset in accordance with the second access method.
- 18. The apparatus of claim 10, said one or more instructions also:
qualify the dataset to determine whether the first data structure is to be replaced; and when the first data structure is to be replaced, issue another dataset open request to open the dataset using the second access method.
- 19. An article of manufacture comprising a computer program usable medium embodying one or more instructions executable by a computer for performing a method of accessing a dataset, the method comprising:
intercepting an open request to access a dataset, the open request being associated with a first data structure that specifies a first access method; replacing the first data structure with a second data structure that specifies a second access method which is different from the first access method; and accessing the dataset in accordance with the second access method of the second data structure.
- 20. The article of manufacture of claim 19 wherein the open request specifies that the dataset is to be opened for reading, and said accessing reads from the dataset in accordance with the second access method.
- 21. The article of manufacture of claim 19 wherein the open request specifies that the dataset is to be opened for writing, and said accessing writes to the dataset in accordance with the second access method.
- 22. The article of manufacture of claim 19 wherein the first access method is a basic direct access method and the second access method is a sequential access method.
- 23. The article of manufacture of claim 19 wherein the dataset is an extended format physical sequential dataset.
- 24. The article of manufacture of claim 19 wherein the first data structure is a first data control block and the second data structure is a second data control block.
- 25. The article of manufacture of claim 19, said method further comprising:
specifying an access interface module to access the dataset, wherein said accessing is performed by the access interface module.
- 26. The article of manufacture of claim 19 wherein the second data structure contains an address of a shadow access interface module, and said accessing also invokes the shadow access interface module, the shadow access interface module receiving the address of the second data structure, said method further comprising:
invoking, by the shadow access interface module, an operating system access module to access the dataset in accordance with the second access method.
- 27. The article of manufacture of claim 19, said method further comprising:
qualifying the dataset to determine whether the first data structure is to be replaced; and when the first data structure is to be replaced, issuing another dataset open request to open the dataset using the second access method.
- 28. An article of manufacture comprising a computer program usable medium embodying one or more instructions executable by a computer for performing a method of accessing a dataset, the method comprising:
intercepting an open request to access a dataset, the open request being associated with a first data control block that specifies an unsupported access method for the dataset; in response to said intercepting, invoking an open screen module, the open screen module issuing a second open request to access the dataset using the supported access method specified in the second data control block, and receive an address of a supported access module, and said open screen module replacing the first data control block with a second data control block that specifies the supported access method which is different from the unsupported access method, the second data control block also comprising an address of a shadow access interface module; and invoking the shadow access interface module, using the address of the supported access module, in accordance with the second data control block, the shadow access interface module invoking the supported access module using the address of the supported access module, to access the dataset in accordance with the second access method.
- 29. The article of manufacture of claim 28 wherein the open request specifies that the dataset is to be opened for reading, and said accessing reads from the dataset in accordance with the second access method.
- 30. The article of manufacture of claim 28 wherein the open request specifies that the dataset is to be opened for writing, and said accessing writes to the dataset in accordance with the second access method.
- 31. The article of manufacture of claim 28, said method further comprising:
qualifying, by the open screen module, the dataset to determine whether the first data control block is to be replaced.
- 32. The article of manufacture of claim 28 wherein said qualifying further comprises:
determining whether the dataset is of a type that is not supported by the first access method.
- 33. The article of manufacture of claim 28 further comprising:
intercepting a close request to close the dataset; and executing a close screen module to close the dataset.
- 34. The article of manufacture of claim 28 wherein the unsupported access method is a basic direct access method, and the supported access method is a sequential access method.
- 35. The article of manufacture of claim 28 wherein the dataset is an extended format physical sequential dataset.
Parent Case Info
[0001] The present application claims priority to U.S. Provisional Patent Application Serial No. 60/463,588, titled, “Archive Log Accelerator,” filed on Apr. 17, 2003, which is incorporated herein by reference in its entirety for all purposes.
Provisional Applications (1)
|
Number |
Date |
Country |
|
60463588 |
Apr 2003 |
US |