Group,
I have two files -
file#1 is member of a PF (FILE A) keyed by donor#, (an alias has been created to point to the specified member)
file# 2 is a SQL TABLE (FILE B) - no key order.
FILE B is a temporary work table, after FILE B is built with the data, the following statement runs: insert into mylib/FILEA (select * from mmalib/FILEB). When the statement runs, I need it to copy the data from FILEB into FILEA, leaving it in the order of FILEB, instead when the script runs, FILE A has the data in donor# order, not sequence order as seen in FILE B. I'm looking for a comparable statement such as the COPYF command that allows me to copy the data into a keyed file by record#1 to end, thus overriding the keyed order.
Any suggestions or links would be helpful.
I have two files -
file#1 is member of a PF (FILE A) keyed by donor#, (an alias has been created to point to the specified member)
file# 2 is a SQL TABLE (FILE B) - no key order.
FILE B is a temporary work table, after FILE B is built with the data, the following statement runs: insert into mylib/FILEA (select * from mmalib/FILEB). When the statement runs, I need it to copy the data from FILEB into FILEA, leaving it in the order of FILEB, instead when the script runs, FILE A has the data in donor# order, not sequence order as seen in FILE B. I'm looking for a comparable statement such as the COPYF command that allows me to copy the data into a keyed file by record#1 to end, thus overriding the keyed order.
Any suggestions or links would be helpful.
Comment