Following are the steps to validate all objects in a folder:
1) Go to the Repository manager client
2) Create a query with parameter name and condition to retrieve the mappings in a folder as the following:
folder = folder-name
object type = mapping/session/workflow
3) Use the following Pmrep Execute query command to get persistent output file:
executequery -q <query_name> [-u <output_persistent_file_name>] [-a (append)]
4) You can choose to display the result or write the result to a persistentoutput file. If the query is successful, it returns the total number of qualifying records.
5) Use newly created persistent output file as a input file in the following pmrep validate command :
pmrep validate-i <persistent_input_file>}
[-p <output_option_types valid saved, skipped, save_failed, invalid_before, invalid_after, or all)>
[-u <persistent_output_file_name>] [-a (append)][-b (verbose)]
6) You can output the results to a persistent output file or standard output. It also displays a validation summary to stdout . The summary includes the number of valid objects, invalid objects and skipped objects.
PS - This is applicable to both versioned and non-versioned repository objects. You can also automate the validation by running this as a batch script inWindows or shell script in UNIX.