Template repository export history utility
The template repository history export utility is used to export history entries in XML form to an output data set that can subsequently be reviewed and optionally changed and imported back into a template repository.
File Manager keeps a history table for each user in the ISPF profile data set. History entries are found in an ISPF table named FMNTMHST, which is normally located in the data set associated with the ddname ISPPROF. The repository history export utility produces a data set selection list where ISPF profile data sets can be selected as input. After one or more profile data sets are selected the XML data set is populated and an edit session is invoked in which entries can be reviewed and modifications can be made. Following the edit session, a prompt to proceed to the import dialog is issued.
- Data set filter
- A fully qualified or generic data set name that will be used to list the ISPF
profile data sets that contain the FMNTMHST
history table. If you leave this field blank it will default to the current ISPF
user profile data set.
Use the S command from the list produced to select one or more profile data sets for input to the export process. To add more profile data sets, change the data set filter and repeat the selection.
- Export Data set name
- (Required) A fully qualified or generic data set name that will be used to identify where the exported XML data will be stored. If the data set does not exist you will be prompted for allocation details.
- Member
- If the export data set is partitioned, enter the name of a member in which to store the output. To select the required member from a member name list, leave this field blank or specify a member name pattern.
- Replace member
- Enter / to replace a like-named member in the output partitioned data set.
Example
Export the history of more than one user and import the entries to a template repository.
Process Options Help
────────────────────────────────────────────────────────────────────────────────
File Manager Template History Export Utility
Command ===>
Template History:
Data set filter ______________________________________________
Export Data set:
Data set name . EXPORT.REPOSTRY
Member . . . . HISTORY
Processing Options:
Enter "/" to select option
/ Replace member
Enter the name of a data set and member in which to store the output XML. If these don’t exist they will be created. Leave the Data set filter field blank.
Press Enter to proceed to the ISPF Profile Data Set Selection panel.
Use the S prefix command and then press Enter to select and highlight the profile data set.
Change the heading filter to another user ID.
Repeat the profile selection step for each additional user ID and then press F3 to finish selection and invoke the export process.
Review the XML document in the ISPF edit session. Delete entries that are not required in the repository and modify entry names where appropriate. When you have finished editing entries, press F3 twice to proceed to the Import panel.
In the Template Repository Import Utility panel, type / in the Batch execution field and then press Enter to submit a batch job to run the import.