2.16 Creating, Modifying, and Deleting User-Defined Profiles

Specify a comma-delimited list of check IDs to create and modify custom profiles.

Specify valid check IDs and descriptive unique profile name.
  1. To create a profile:
    orachk -createprofile profile_name check_ids 
    
    exachk -createprofile profile_name check_ids
    orachk -createprofile customprofile1 E94AC6ACDA502F3BE04312C0E50A290A,
    F01E3FEDBD2B243EE04312C0E50A4DC5, 
    F02293F7261D1BCAE04312C0E50A4118,
    F9370B4F5707076DE04312C0E50A78AE
    
    Validating checks...
    
    Profile customprofile1 created successfully...

    Oracle ORAchk and Oracle EXAchk validate profile names and check IDs before creating the profile and print appropriate messages if any discrepancies found. Oracle ORAchk and Oracle EXAchk create the profiles only if the profile names are unique and check IDs are valid.

  2. To modify a profile:
    orachk -modifyprofile profile_name check_ids 
    
    exachk -modifyprofile profile_name check_ids
    exachk -modifyprofile customprofile1 21B57D4065DDEA3DE0530D98EB0A8205,
    39128FBB540C098AE0530D98EB0AFB1A,
    9AD8AF3966FB3027E040E50A1EC0308F,
    019F5085951978CAE05313C0E50A4FCB
    
    Validating checks...
    
    Modifying profile customprofile1...
    
    Profile customprofile1 modified successfully...
    
    
    Added Checks:
    21B57D4065DDEA3DE0530D98EB0A8205
    9AD8AF3966FB3027E040E50A1EC0308F
    019F5085951978CAE05313C0E50A4FCB
    --------------------------------
    Removed Checks:
    39128FBB540C098AE0530D98EB0AFB1A
    You cannot modify the profile name. You can only add to or remove check IDs form the profile.

    If the check IDs are in the profile, then Oracle ORAchk and Oracle EXAchk remove them from the profile.

    If the check IDs are not in the profile, then Oracle ORAchk and Oracle EXAchk add them to the profile.

  3. To delete a profile:
    orachk -deleteprofile profile_name 
    
    exachk -deleteprofile profile_name
    orachk -deleteprofile customprofile1
    
    Deleting profile customprofile1...
    
    Profile customprofile1 deleted successfully...

    Oracle ORAchk and Oracle EXAchk delete the profile by removing the profile entry ID from the profiles.dat file, and deleting the corresponding profiles.prf file.