Hello Nithiya,
If you are using a one step job with RMOGRW, you cannot access multiple databases.
If the goal is to gather information from multiple databases and finish with 1 dataset or sysout with all the information in it, I would suggest something like a multiple step job and use the JCL to MOD the output into one sysout/dataset. Or you could have multiple jobs that write the output to datasets and then use some other utility or program to put them all together.
Then you could print it or use other utilities against it.
As we have not seen the JCL or been able to discuss exactly what you are looking, hopefully this answers your question.
------------------------------
John Misinkavitch
CA Support
------------------------------
Original Message:
Sent: 08-08-2019 11:45 AM
From: Nithiya Nedunchezhian
Subject: Change database in between RMOGRW programs.
Hi,
How to change database name in between RMOGRW statement to Select reports etc...apart from CONTROL statement ?
Thanks,
Nithiya N