Meghana,
I don't know if anyone is just going to write a script for you. The backup command is simple enough and can be rolled into a simple Kornshell or Bash script if you take the time to pull the command or do some basic googling. However, I found a blog containing a simple backup script that may help you. I've never used it so I can't speak on if it works or not.
------------------------------
-----------------
Michael Krafick (Twitter: @mkrafick)
IBM Champion for Data and AI
------------------------------
Original Message:
Sent: Fri March 10, 2023 06:50 AM
From: meghana m
Subject: full online db backup script
Hi All,
Could you please provide the full online db backup script .
Totally : 8 db's :
all backup goes to disk only
If any case backup failed : we will get the mail
------------------------------
meghana m
------------------------------