Browse Prior Art Database

Method for Saving Folders Tree Structures

IP.com Disclosure Number: IPCOM000036083D
Original Publication Date: 1989-Sep-01
Included in the Prior Art Database: 2005-Jan-28
Document File: 1 page(s) / 11K

Publishing Venue

IBM

Related People

Smith, LM: AUTHOR

Abstract

A new method is required for saving folders on AS/400 plus all the documents and folders referenced within folders to diskette, tape, or online save file. The method presented by this invention saves folders including all the document and folder objects that are part of the folder tree structures.

This text was extracted from a PDF file.
This is the abbreviated version, containing approximately 100% of the total text.

Page 1 of 1

Method for Saving Folders Tree Structures

A new method is required for saving folders on AS/400 plus all the documents and folders referenced within folders to diskette, tape, or online save file. The method presented by this invention saves folders including all the document and folder objects that are part of the folder tree structures.

The algorithm for saving folders on AS/400 begins by adding the name of the folder specified by the user onto a stack. Then it removes the first folder name from the stack and adds it to a list of objects to be saved (the save list). Then, all the first-level documents that are in the folder just added to the save list are also added to the save list, and all the first-level folders that are in the folder just added to the save list are added to the folder name stack. The next folder name is then removed from the folder name stack, and processing continues until all the folders in the tree structure and all their documents are added to the save list. Finally, the document and folder descriptors are copied from the save list into the save/restore template and other code is called to write these objects onto the media or online save file.

1