- Community Home
- >
- Servers and Operating Systems
- >
- Operating Systems
- >
- Operating System - HP-UX
- >
- scripting help
Categories
Company
Local Language
Forums
Discussions
Forums
- Data Protection and Retention
- Entry Storage Systems
- Legacy
- Midrange and Enterprise Storage
- Storage Networking
- HPE Nimble Storage
Discussions
Discussions
Discussions
Forums
Forums
Discussions
Discussion Boards
Discussion Boards
Discussion Boards
Discussion Boards
- BladeSystem Infrastructure and Application Solutions
- Appliance Servers
- Alpha Servers
- BackOffice Products
- Internet Products
- HPE 9000 and HPE e3000 Servers
- Networking
- Netservers
- Secure OS Software for Linux
- Server Management (Insight Manager 7)
- Windows Server 2003
- Operating System - Tru64 Unix
- ProLiant Deployment and Provisioning
- Linux-Based Community / Regional
- Microsoft System Center Integration
Discussion Boards
Discussion Boards
Discussion Boards
Discussion Boards
Discussion Boards
Discussion Boards
Discussion Boards
Discussion Boards
Discussion Boards
Discussion Boards
Discussion Boards
Discussion Boards
Discussion Boards
Discussion Boards
Discussion Boards
Discussion Boards
Discussion Boards
Discussion Boards
Discussion Boards
Discussion Boards
Discussion Boards
Discussion Boards
Community
Resources
Forums
Blogs
- Subscribe to RSS Feed
- Mark Topic as New
- Mark Topic as Read
- Float this Topic for Current User
- Bookmark
- Subscribe
- Printer Friendly Page
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
тАО04-23-2003 03:29 PM
тАО04-23-2003 03:29 PM
I inherit the script from my past collegue.But couldn't fully understand the script.Hope you guy's can give some light.It seems dark and gloomy :-)
1) set orasmp_TmpArgv $argv
2) set strinifile [lindex $argv 0]
3) set orasmp_OrigArgs [lrange $argv 4 end]
3) foreach orasmp_Param $orasmp_OrigArgs {
set orasmp_tmp ""
set orasmp_tmp1 ""
set orasmp_tmp2 ""
set orasmp_x [eval set orasmp_tmp [eval set orasmp_tmp1 $orasmp_
Param]]
lappend orasmp_NewArgs [eval set orasmp_tmp2 "{$orasmp_x}"]
set orasmp_x [eval set orasmp_tmp [eval set orasmp_tmp1 $orasmp_
Param]]
}
4)[ catch { set initget [eval gets $fileini strLine] } strERR ]
5)if {[regsub user= $strLine "" strtmp] != 0 } {
set SMP_USER $strtmp }
6)set initget [eval gets $fileini strLine]
7)set argv [lrange $orasmp_NewArgs 0 0]
8)set argc [llength $argv]
9)set status_0 [catch {
# ORASMP V2 TCL TASK CODE SNIPPET ** BEGIN
# For setting up the parameters as argv
if {$argc == 1} {
set argv [lindex $argv 0]
set argc [llength $argv]
}
orajob /oracle/rdbms/backup/backup_hot
} output ]
:-) It seems like the whole script I paste it here.
Solved! Go to Solution.
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
тАО04-23-2003 09:59 PM
тАО04-23-2003 09:59 PM
Re: scripting help
its written in oratclsh and seems to me to prepare some arguments for oracle backup.
I'm not really expert for oratclsh, but could you give me an example of arguments ? It should be clear.
Radim
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
тАО04-24-2003 05:17 PM
тАО04-24-2003 05:17 PM
Re: scripting help
regards
mB
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
тАО04-24-2003 08:40 PM
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
тАО04-27-2003 06:26 PM
тАО04-27-2003 06:26 PM
Re: scripting help
Curtis you are the man for the scripting.Do you know where can I get the documentation on oratclsh.
regards
arman a.rahim