Hello DB2 Friends!
I am trying to automate a monthly process to load a test database from a prod backup via a redirected restore. Both the backup and the restore are executed using a korn shell script. The backup job is kicked off by a scheduler application (Control M) but I can't have it kick off the restore too because I have to edit the restore script giving it the timestamp of the backup image.
Does anyone know how I can read the sysout from the backup job, get the time stamp to pass to the redirected restore as a parameter.
I've checked with our scheduler application and it doesn't seem possible, so I'm thinking I may have to script something. I can grunt through some scritpting, but I was wondering if there were any better ideas.
Thanks!!!!