It's been a long time since I have used any DOS commands, but I think that there is a way to do what I want to do.
I have downloaded a .csv file from the AS400 to a P.C. via client access using the RTOPCB command. That works fine. What I would like to do now is to create an archive directory and copy the .csv file to it for backup purposes. That is also no problem, but I want to name the file with the filename + the date. So if I copied newfile.csv, I would want to make a copy in the archive directory of newfile09142005.csv . I think I can do this with DOS parmeters. Can anyone help?
Free Guide: Managing storage for virtual environments
Complete a brief survey to get a complimentary 70-page whitepaper featuring the best methods and solutions for your virtual environment, as well as hypervisor-specific management advice from TechTarget experts. Don’t miss out on this exclusive content!