Deploy > PowerCenter Tasks > Pre- and Post-Session Commands
  

Pre- and Post-Session Commands

You can include pre- and post-session commands in the session for a PowerCenter task. You can use pre- and post-session SQL or shell commands. You might use a pre- or post-session command to start FTP/SFTP scripts or stored procedures, rename or archive files, or run post-processing commands. Configure pre- and post-session commands in the PowerCenter session.
When you configure a pre- or post-session command, you can enter a single command, or you can call a batch file that contains a set of commands. To use a batch file, use the following guidelines: