IBM Support

DataStage parallel job external filter fails when argument contains special characters such as square brackets '['

Troubleshooting


Problem

DataStage parallel job External filter fails with fatal error message: Error in "xx" operator: Expected IO redirectin, pipe, semicolon or end, got '['

Symptom

Datastage fatal error message: Error in "xx" operator: Expected IO redirection, pipe, semicolon, or end, got: [

Cause

External Filter stage cannot process special characters such as square brackets.

Diagnosing The Problem

Examine the arguments of the External Filter stage for special characters such as brackets.

Resolving The Problem

Steps to use special characters in the argument of an External Filter.

  1. Create a text file on the Unix or Windows system (e.g. /tmp/a1) with the content of the argument.
  2. Open the External Filter stage properties.
  3. On the Stage >Properties tab set Argument to "cat" the file created above.

For example :

`cat /tmp/a1`




Note: Be sure to use back ticks (above the tilda on the keyboard) in the argument above. The back tick tells Unix to execute the statement between the back ticks.

[{"Product":{"code":"SSVSEF","label":"IBM InfoSphere DataStage"},"Business Unit":{"code":"BU059","label":"IBM Software w\/o TPS"},"Component":"--","Platform":[{"code":"PF002","label":"AIX"},{"code":"PF010","label":"HP-UX"},{"code":"PF016","label":"Linux"},{"code":"PF027","label":"Solaris"},{"code":"PF033","label":"Windows"}],"Version":"8.7;8.5;8.1;7.5.3","Edition":"","Line of Business":{"code":"LOB10","label":"Data and AI"}}]

Document Information

Modified date:
16 June 2018

UID

swg21597213