<font size=2 face="sans-serif"><b>Jez,</b></font><br><br><font size=2 face="sans-serif">  Regarding your recent post.  Do
the mmchpolicy and mmapplypolicy commands have sufficient functionality
for your purposes?  </font><br><font size=2 face="sans-serif">Are you suggesting some improvements?
 If so, what?  Please provide examples and/or specific suggestions.</font><br><br><font size=2 face="sans-serif">WRT your numbered items:</font><br><br><font size=2 face="sans-serif">(1)  `mmchpolicy fsname  -I
 policy-rules-file test`   does a complete syntax check on policy-rules-file
and some other sanity checking.</font><br><br><font size=2 face="sans-serif">(2) `mmapplypolicy /gpfs-path/empty-directory
-P policy-rules-file -I test -L 0` is another way to validate policy-rules-file.
 Rules like MIGRATE and LIST that are interpreted by mmapplypolicy
will   be scrutinized. For example check that each named pool is defined
either within the file system or by an EXTERNAL POOL rules.</font><br><br><font size=2 face="sans-serif">(3) `mmapplypolicy /gpfs-path -P policy-rules-file
  -I test -L 2  [other options]`  will do a dry run and
show what actions would be performed on each file.<br></font><br><br><font size=2 face="sans-serif">--marc</font><br><br><font size=2 face="sans-serif">-----------</font><br><br><font size=3 face="Times New Roman">API calls for Policies have the
ability to run in 'test' or 'run' mode.  (ref: man mmapplypolicy)<br><br>How would you expect to use dry-run functionality on a policy?<br>We have our own opinion, but we'd like to hear yours.<br><br>1) Validate the policy and print the policy content to stdout/other.  No
mmapplypolicy is performed.<br>2) Validate the policy and enforce mmapplypolicy with -I test<br>3) Return what would be called.  E.G. mmapplypolicy -P mypol.pol --flag1
--flag2 --etc<br>4) Other<br><br>Best regards,<br><br>Jez</font><br><font size=3 face="Times New Roman">-- </font><br><font size=3 face="Arial">Jez Tucker<br>Head of Research & Development</font><font size=3 color=red face="Arial"><br></font><BR>