<font size=2 face="sans-serif"><b>Jez,</b></font><br><br><font size=2 face="sans-serif">&nbsp; Regarding your recent post. &nbsp;Do
the mmchpolicy and mmapplypolicy commands have sufficient functionality
for your purposes? &nbsp;</font><br><font size=2 face="sans-serif">Are you suggesting some improvements?
&nbsp;If so, what? &nbsp;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) &nbsp;`mmchpolicy fsname &nbsp;-I
&nbsp;policy-rules-file test` &nbsp; 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.
&nbsp;Rules like MIGRATE and LIST that are interpreted by mmapplypolicy
will &nbsp; 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
&nbsp; -I test -L 2 &nbsp;[other options]` &nbsp;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. &nbsp;(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. &nbsp;No
mmapplypolicy is performed.<br>2) Validate the policy and enforce mmapplypolicy with -I test<br>3) Return what would be called. &nbsp;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 &amp; Development</font><font size=3 color=red face="Arial"><br></font><BR>