Hi, Windows TSM server 5.2.2.5.
On an idle friday afternoon... I wanted to check out q_proc_stats scipt in scripts.smp. I renamed it to scripts.mac and run 'macro scripts.mac'. It ran to: def script q_archret_gt desc='Show mgmt classes with archive retention > X days' ANR2002E Missing closing quote character. ANS8001I Return code 3. I seems like define script doesnīt work with a space before > in description field. It might not be a big deal but i didnt want to take down TSM to run 'dsmserv runfile scripts.smp' which of course most likely will fail anyway.. Now itīs time to use find & replace... //Henrik tsm: STO-W03>def script q_archret_gt desc='"Show mgmt classes with archive retention > X days"' ANR2002E Missing closing quote character. ANS8001I Return code 3. tsm: STO-W03>def script q_archret_gt desc='"Show mgmt classes with archive retention X days"' ANR1454I DEFINE SCRIPT: Command script Q_ARCHRET_GT defined. tsm: STO-W03>del scr Q_ARCHRET_GT Do you wish to proceed? (Yes (Y)/No (N)) y ANR1457I DELETE SCRIPT: Command script Q_ARCHRET_GT deleted. tsm: STO-W03>def script q_archret_gt desc='Show mgmt classes with archive retention > X days' ANR2002E Missing closing quote character. ANS8001I Return code 3. tsm: STO-W03>def script q_archret_gt desc='Show mgmt classes with archive retention X days' ANR1454I DEFINE SCRIPT: Command script Q_ARCHRET_GT defined. tsm: STO-W03>del scr Q_ARCHRET_GT Do you wish to proceed? (Yes (Y)/No (N)) y ANR1457I DELETE SCRIPT: Command script Q_ARCHRET_GT deleted. tsm: STO-W03>def scr test2 desc=">" ANR1454I DEFINE SCRIPT: Command script TEST2 defined. tsm: STO-W03>del sct test2 ANR2000E Unknown command - DELETE SCT. ANS8001I Return code 2. tsm: STO-W03>del scr test2 Do you wish to proceed? (Yes (Y)/No (N)) y ANR1457I DELETE SCRIPT: Command script TEST2 deleted. tsm: STO-W03>def scr test2 desc=" >" ANR2002E Missing closing quote character. ANS8001I Return code 3. ------------------------------------------------------------------- The information contained in this message may be CONFIDENTIAL and is intended for the addressee only. Any unauthorised use, dissemination of the information or copying of this message is prohibited. If you are not the addressee, please notify the sender immediately by return e-mail and delete this message. Thank you.