I use the getfile() to get the file name.
code is like this:
spoolfile = getfile(.....)
when i say:
copy file spoolfile.dat to test.dat
I get an error msg saying spoolfile doesn't exist.
One more thing is there any way I can specify the location where I want to copy this file.