TSM5.5.5 AIX 6.1 It appears that you can define a script within a script, but cannot update a script:
tsm: TSM1950>upd scr shawntest 'def scr shawntest2 "q pr"' ANR1456I UPDATE SCRIPT: Command script SHAWNTEST updated. tsm: TSM1950>upd scr shawntest 'upd scr shawntest3 "q pr"' ANR1469E UPDATE SCRIPT: Command script SHAWNTEST, Line 10 is an INVALID command : upd scr shawntest3 "q pr". ANS8001I Return code 3. Does anyone have a workaround? My goal is the following, but it won't accept the "upd scr" lines ba node NASHOST /nasvol1 toc=y mode=full w=y if(rc_ok) goto next11 upd scr RERUN "ba node NASHOST /nasvol1 toc=y mode=full" next11: q scr cancel if(rc_ok) exit ba node NASHOST /nasvol2 toc=y mode=full w=y if(rc_ok) goto next12 upd scr TEST_RERUN "ba node NASHOST /nasvol2 toc=y mode=full" next12: q scr cancel if(rc_ok) exit Regards, Shawn ________________________________________________ Shawn Drew This message and any attachments (the "message") is intended solely for the addressees and is confidential. If you receive this message in error, please delete it and immediately notify the sender. Any use not in accord with its purpose, any dissemination or disclosure, either whole or partial, is prohibited except formal approval. The internet can not guarantee the integrity of this message. BNP PARIBAS (and its subsidiaries) shall (will) not therefore be liable for the message if modified. Please note that certain functions and services for BNP Paribas may be performed by BNP Paribas RCC, Inc.