Skip to main content
When you migrate an DataStage workflow to a Prophecy pipeline, the transpiler first reads uploaded files. Then, the transpiler internally maps the DataStage components to the Prophecy-supported gems to create the visual pipeline and open-source code. DataStage components are a core part of the workflow. They perform data operations such as reading data from the source table, performing transformations, and writing data into the destination table. The following tables list all the DataStage components that Prophecy supports and the corresponding Prophecy gem it maps to in a Spark project:

Pipeline Components

Below is a list of DataStage workflow components that are supported by Prophecy and have corresponding Prophecy gems. These components are core part of the workflow as they perform data operations like reading data from source table, performing transformations, and writing data into the destination table.
DataStage ComponentEquivalent Prophecy Gems
CTransformerStage (for cyclic stage variables)Script
CTransformerStage (for non-cyclic stage variables)SchemaTransform + Filter + Reformat
DB2ConnectorPXSource/Target with DB2 warehouse type
Hierarchical Data stageScript with only XML output
ODBCConnectorSource/Target with JDBC warehouse type
ODBCConnectorPXSource/Target with JDBC warehouse type
OracleConnectorPXSource/Target with the Oracle warehouse type
PxAggregatorAggregate
PxChangeCaptureScript
PxColumnExportSchemaTransform
PxColumnImportSchemaTransform
PxCopySource/Target
PxDataSetSource/Target with the CSV file type
PxExternalSourceScript to call external APIs
PxExternalTargetScript to call external APIs
PxFilterFilter
PxFunnelSetOperation
PxJoinJoin
PxLookupJoin
PxMergeJoin
PxModifyReformat
PxPeekTarget with the CSV file type
PxPivotScript
PxRemDupDeduplicate
PxRowGeneratorSource with the Seed file type
PxSequentialFileSource/Target with the CSV file type
PxSortOrder By
TeradataConnectorPX, TeradataConnectorSource/Target
UnstructuredDataConnectorPXSource with the XLSX file type
XMLInputPXReformat + Join+ Source with the XML file type
XMLOutputPXAggregate + Target gem with XML file type

Orchestration Components

The following table describes components of DataStage sequence jobs that can be migrated to Prophecy. Note that all jobs are converted into Airflow jobs in Prophecy.
DataStage ComponentEquivalent Prophecy Component
CConditionPython Branch Component
CEndLoopActivityLoop Component
CExecCommandActivityPython Component
CExceptionHandlerPython Component
CJobActivityTrigger DAG if you have a sequence job, or Pipeline Component if you have a parallel/server job
CNotificationActivityEmail Component
CSequencerDatabricks Job
CStartLoopActivityLoop Component
CTerminatorActivityPython Component
CUserVarsActivityPython Component with Airflow XComs
If you don’t see a particular component on this list, you can include custom abilities beyond custom scripting. To learn more, see Gem Builder for Spark.