Unstructured Stage (Excel) in Datastage

Unstructured Stage (Excel) in Datastage

The unstructured data stage in DataStage allows to read and write Excel files in DataStage. It was added in the latest version of DataStage. Earlier the Excel files were required to convert into CSV or delimited files but that not any more.

Supported Formats:

  • Excel 97-2003 OLE2 (.xls),
  • Excel 2007-2010 OOXML (.xlsx)

Designing Job with Unstructured stage:

To Create Excel file:

  1. double-click the Unstructured Data stage.
  2. Stage type > Document type >Excel
  3. Set write mode to create file
  4. Click configure
  5. Set write method to Specific File and File Update mode to Overwrites
unstructred Excel Stage properties
unstructured data( Excel) Stage properties


  1. In the properties section, define column header = column name and adjust width: yes
  2. Click OK and Compile the job.

To read Excel sheet as a source:

  1. Design the job as Sequential stage ? substructure stage
  2. Double-click Unstructured Data stage.
  3. Specify the full path of Excel sheet
  4. set the Range Expression field like Sheet1!A6: K8
  5. configure the column header to the first row of the data range
  6. .Click import and then OK
  7. In the Output -> column specify the data type for columns

Share this post

Leave a Reply