Re: Script question

2017-05-17 Thread Heinz Flemming
According to rou...@univ.haifa.ac.il > Hi All > > Need a little help with this script > > select cast(node_name as varchar(20)) as "Nodebane" , cast(TCP_ADDRESS as > varchar(15)) as "IP" , cast(CLIENT_OS_NAME as varchar(35)) as " OS Name" , > cast(CLIENT_SYSTEM_ARCHITECTURE as varchar(4)) as

Script question

2017-05-17 Thread rou...@univ.haifa.ac.il
Hi All Need a little help with this script select cast(node_name as varchar(20)) as "Nodebane" , cast(TCP_ADDRESS as varchar(15)) as "IP" , cast(CLIENT_OS_NAME as varchar(35)) as " OS Name" , cast(CLIENT_SYSTEM_ARCHITECTURE as varchar(4)) as "BIT" , cast(APPLICATION_VERSION as varchar(2))

Re: Script question

2015-09-08 Thread Robert Ouzen
: [ADSM-L] Script question You didn't indicate which operating system. Here is a AIX/KSH script to prompt for and change a node password. #!/usr/bin/ksh print "" print "Dialog to change a NODE password." print "" print "Please enter a node name, or p

Re: Script question

2015-09-08 Thread Meunier, Yann
e d'origine- De : ADSM: Dist Stor Manager [mailto:ADSM-L@VM.MARIST.EDU] De la part de Robert Ouzen Envoyé : mardi 8 septembre 2015 03:48 À : ADSM-L@VM.MARIST.EDU Objet : [ADSM-L] Script question Hi to all Anybody have an example for during a script , asking for a parameter. Waiting for the

Re: Script question

2015-09-08 Thread Meunier, Yann
e - Système Stockage Informatique CDC - Etablissement DPI Office : +33 1 58 50 53 01 Mobile : +33 6 62 47 88 56 -Message d'origine- De : ADSM: Dist Stor Manager [mailto:ADSM-L@VM.MARIST.EDU] De la part de Robert Ouzen Envoyé : mardi 8 septembre 2015 14:04 À : ADSM-L@VM.MARIST.EDU Objet : Re: [ADS

Re: Script question

2015-09-08 Thread Rhodes, Richard L.
tsm_scripts/run_cmd.ksh $Itsm "update node $Inode $Ipwd" print "" print "all done" else print "" print "terminating" fi -Original Message- From: ADSM: Dist Stor Manager [mailto:ADSM-L@VM.MARIST.EDU] On Behalf Of Robert Ou

Script question

2015-09-07 Thread Robert Ouzen
Hi to all Anybody have an example for during a script , asking for a parameter. Waiting for the input and after pass the parameter to a command For example something like this: “Please enter the process number $1 “ Waiting ……….. can pr $1 Best Regards Robert

Tape return script question?

2005-07-05 Thread Joni Moyer
Hello, I have created this script to create a request listing of tapes to be returned from our vault when they are empty. As you can see from the select statement that I run daily it will have duplicates within it since I have a delay of 5 days. Is there a certain way I can manipulate this

Re: Tape return script question?

2005-07-05 Thread Warren, Matthew (Retail)
, 2005 2:50 PM To: ADSM-L@VM.MARIST.EDU Subject: Tape return script question? Hello, I have created this script to create a request listing of tapes to be returned from our vault when they are empty. As you can see from the select statement that I run daily it will have duplicates within it since

Script question

2002-07-09 Thread Stephen A. Cochran
Hopefully a simple question: I have a select script that finds the tapes I want to be processed by MOV DRM, is there a way to pipe the results from the select back into that command? Here's the select: select volume_name,state from drmedia where (volume_name in (select volume_name from volumes

Re: Script question

2002-07-09 Thread Miles Purdy
In order to find a list of tapes to remove from my LTO every morning, and update their DRM status, I use a script. Here is the relevant code. The actual script is much longer and does several things. My script will creates another KSH script. Code: CHECKOUT=/tmp/update_checkout_status.`date

Script Question

2001-06-03 Thread Robert Ouzen
I run a Tivoli backup server version 3.7.4.0 on an AIX-RS/6000. My question is anyone create a script or a macro doing like: Migration from diskpool to tapepool checking the %Utilized = 0 ( or checking the query process with no migration) then doing another command as Expire inventory then