Page 1 of 1

Running Pre/Post Stage Commands

Posted: Tue Jul 19, 2005 9:51 am
by gsherry1
Is it possible to run pre or post stage commands in EE like you could in Server edition? Only stage that I am able to get this functionality to work is with the Basic Transformer.

Posted: Tue Jul 19, 2005 10:20 am
by ArndW
Since the Pre/Post commands are Uv/BASIC calls you will only be able to do this from the BASIC transformer (as you've discovered) as well as at the Pre/Post JOB level. Wouldn't it be nice to get the best of both worlds - the ease of Uv/Basic coding plus the speed of PX.

Posted: Tue Jul 19, 2005 1:46 pm
by bcarlson
You can specify a command to run before or after the job. It is not as granular as doing it before/after a given stage but it does provide some flexibility.

In the Job Properties, General Tab: Before-job subroutine and After-job subroutine. This is available for both Server and PX jobs.

The command run a DOS command, Unix Korn Shell, run a BASIC routine, etc. There are other built-in routines as well. Check out the help and documentation.