vgrcp input output uses batcp to copy a dataset input to dataset output until two eof are encountered. print out the number of records in each file on seterr Attempts to detect compressed file, by .Z suffix, or IBM vbs formats, by a combination of IBM or sum in path name and using a 1/2" tape. It then will set up the correct pipe.