I'm sorry to hear this about the Production Facility. We will have to try and replicate and see what's going on.
In the meantime, if you have installed the Python plugin (which is standard), you could try this. I put it together kind of quickly but it should do the trick.
** GET A FILE.
get file "<insert your file here>".
begin program python3.
## Give the directory where your files are.
SPEC = ['C:/Test']
## Filter for select file(s). I'm getting all SPS files in this directory.
FILTER = ".*.sps"
import os
import re
import spss
from os.path import isfile, join
selected_files = []
for s in SPEC:
file_list=[]
for path, folders, files in os.walk(s):
for file in files:
items = re.findall(FILTER,file)
if len(items) > 0:
file_list.append(os.path.join(s, file))
selected_files=selected_files+file_list
for f in selected_files:
print(f)
spss.Submit("INSERT FILE='" + f + "'.")
end program.
The above will run all the files against the data file you started with.
------------------------------
Rick Marcantonio
Quality Assurance
IBM
------------------------------