Creat ethe following as a script
extract_db2_columns_names:
ARG header_line
curr = header_line + 1
line = get_current_line(curr)
db2_columns = ','
DO WHILE line <> ' '
PARSE VAR line next_column '!' line
db2_columns = db2_columns',',next_column
END
db2_columns = SUBSTR(db2_columns,2)
RETURN db2_columns
and then run debug, check script for errors. RPC crashes. Note the comment above about the extra comma |