convert major and newmajor to indir and outdir in *prepare_files and set DPRCINST/DPDATE