How to copy DATA files from an AREVTEST Folder to AREVPROD (AREV Specific)
At 15 NOV 2010 11:21:25PM Paul Vallario wrote:
I am currently running AREV 2.1. I had to create several new "entry Windows" and Data Files. I copied the entire AREV folder to AREVTEST. Ran my tests and created an new data file. How can I copy that DATA file from my TEST folder into my AREVPROD folder. I can copy my templates fine. But my Data and Dictionaries I can't seem to copy into my AREVPROD. I store my data files in "SYSPROG".
Any help would be appreciated. Otherwise I have to have the user re-enter all the work we did on the Test Folder.
Thank you.
Paul
At 16 NOV 2010 03:27AM Warren Auyong wrote:
SETFILE
COPY
At 16 NOV 2010 09:57AM Michael Slack wrote:
I work with AREV 3.16 so the commands I use may be slightly different. This method is probably the simplest. Assuming that both your AREVPROD and AREVTEST are under the same AREV directory, then use the SETFILE or SETALIAS command to make a temporary link from one application to the other for a given file. Then use the COPYROW or COPY command to copy the rows from one file to the other.
The SETFILE or SETALIAS command most likely can be done from either application to link to the table in the other application. I've found that in some cases if there is an MFS on one of the tables and the system complains about it, that I just go to the other application and link from there.
Once you've created an alias file name, you can basically treat the file as if it was in your current application. So you can use things like the COPY or COPYROW command to copy rows from one table to another.
If that doesn't work, there are other things you can do but they are a bit more hands on.
I hope this helps.
Michael Slack
At 18 NOV 2010 01:14AM Eric wrote:
AREV 3.16?
Nice. When was that released?