IBM Support

DataStage: DSSetServerParams requires additional argument

Troubleshooting


Problem

The IBM® InfoSphere™ DataStage® API command DSSetServerParams requires a domain argument in addition to the arguments specified in the documentation.

Symptom

The command fails.

Cause

The command needs a domain argument to be specified.

Resolving The Problem

Use the correct syntax. The correct syntax is:

void DSSetServerParams( char *DomainName, char *UserName, char *Password, char *ServerName)

DomainName is a pointer to a null-terminated character string specifying the name of the domain machine. This parameter cannot be NULL.

For example:

DSSetServerParams( "myDomain:9080", "myUserName", "myPassword", "myServer" )

[{"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.1","Edition":"","Line of Business":{"code":"LOB10","label":"Data and AI"}},{"Product":{"code":"SSZJPZ","label":"IBM InfoSphere Information Server"},"Business Unit":{"code":"BU059","label":"IBM Software w\/o TPS"},"Component":" ","Platform":[{"code":"","label":""}],"Version":"","Edition":"","Line of Business":{"code":"LOB10","label":"Data and AI"}}]

Document Information

Modified date:
16 June 2018

UID

swg21318251