I need to get info from tables in database X, which the COBOL program is connected to, and insert info from them to a table in database Y, which the program is not connected to. Is there a way to do this in one program? If yes, how do I reference the copybook for the table in database Y. If I need to connect to Y, what does that do to the connection with X? Thanks.