Information icon IBM InfoSphere DataStage and InfoSphere QualityStage, Version 8.5
space Feedback

DSGetStageLinks

Returns a field mark delimited list containing the names of all of the input/output links of the specified stage.

Syntax

Result = DSGetStageLinks(JobName, StageName, Key)
         or
Call DSGetStageLinks(Result, JobName, StageName, Key)

JobName is the name of the job in the current project for which information is required. If the JobName does not exist in the current project, then the function will return an empty string.

StageName is the name of the stage in the specified job for which information is required. If the StageName does not exist in the specified job then the function will return an empty string.

Key depending on the value of Key the returned list will contain all of the stages links (Key=0), only the stage's input links (Key=1) or only the stage's output links (Key=2).

Result returns a field mark delimited list containing the names of the links.

Example

The following returns a list of all the input links on the stage called "join1" in the job "testjob":

linkslist = DSGetStageLinks (testjob, join1, 1)

PDFThis topic is also in the IBM InfoSphere DataStage Programmer's Guide.

Update timestamp Last updated: 2010-09-30