Re: AW: Automatic script start at server startup?

2003-11-10 Thread Richard Sims
>Is it possible to have a TSM script kick off automatically when the server >starts? ... Probably the simplest arrangement is to add a delayed dsmadmc to the server start Ksh script to do your bidding. Richard Sims, BU

AW: Automatic script start at server startup?

2003-11-10 Thread Peter Schulze
Make a little userexit program with following code inserted: strScript = getenv( "TSM-EVENTS-Script" ); if (strScript != NULL) { cmdstr[MAX_MSGTEXT_LENGTH] = '\0'; sprintf( cmdstr, "%s %d \"%s\"", strScript, eventData->eventNum, eventData->event ); if ((errval = system( cmdstr