All information displayed by the Rebuild utility can be redirected to a text file using standard operating system redirection:
For example:
rebuild oldms001.dat,ms001.dat -k:1+20<N> -i >> rebuild.prt
redirects the output from Rebuild to the existing file rebuild.prt.