Table of Contents

Search

  1. Preface
  2. Understanding Pipeline Partitioning
  3. Partition Points
  4. Partition Types
  5. Pushdown Optimization
  6. Pushdown Optimization and Transformations
  7. Real-time Processing
  8. Commit Points
  9. Row Error Logging
  10. Workflow Recovery
  11. Stopping and Aborting
  12. Concurrent Workflows
  13. Grid Processing
  14. Load Balancer
  15. Workflow Variables
  16. Parameters and Variables in Sessions
  17. Parameter Files
  18. FastExport
  19. External Loading
  20. FTP
  21. Session Caches
  22. Incremental Aggregation
  23. Session Log Interface
  24. Understanding Buffer Memory
  25. High Precision Data

Advanced Workflow Guide

Advanced Workflow Guide

Getting Run-Time Information

Getting Run-Time Information

Use built-in session parameters to get run-time information such as folder name, Integration Service name, and source and target table name. You can use built-in session parameters in post-session shell commands, SQL commands, and email messages. You can also use them in input fields in the Designer and Workflow Manager that accept session parameters.
For example, you want to send a post-session email after session “s_UpdateCustInfo” completes that includes session run statistics for Source Qualifier “SQ_Customers” and target “T_CustInfo.” Enter the following text in the body of the email message:
Statistics for session $PMSessionName Integration service: $PMIntegrationServiceName Source number of affected rows: $PMSQ_Customers@numAffectedRows Source number of dropped rows: $PMSQ_Customers@numRejectedRows Target number of affected rows: $PMT_CustInfo@numAffectedRows Target number of applied rows: $PMT_CustInfo@numAppliedRows Target number of rejected rows: $PMT_CustInfo@numRejectedRows
You can also use email variables to get the session name, Integration Service name, number of rows loaded, and number of rows rejected.

0 COMMENTS

We’d like to hear from you!