Datastage function

These functions can be used in a job control routine, which is defined as part of a job’s properties and allows other jobs to be run and controlled from the first job. Some of the functions can also be used for getting status information on the current job; these are useful in active stage expressions and before- and after-stage subroutines.[@more@]

To do this ...

Use this function …

Specify the job you want to control

DSAttachJob

Set parameters for the job you want to control

DSSetParam

Set limits for the job you want to control

DSSetJobLimit

Request that a job is run

DSRunJob

Wait for a called job to finish

DSWaitForJob

Gets the meta data details for the specified link

DSGetLinkMetaData

Get information about the current project

DSGetProjectInfo

Get buffer size and timeout value for an IPC or Web Service stage

DSGetIPCStageProps

Get information about the controlled job or current job

DSGetJobInfo

Get information about the metabag properties associated with the named job

DSGetJobMetaBag

Get information about a stage in the controlled job or current job

DSGetStageInfo

Get the names of the links attached to the specified stage

DSGetStageLinks

Get a list of stages of a particular type in a job.

DSGetStagesOfType

Get information about the types of stage in a job.

DSGetStageTypes

Get information about a link in a controlled job or current job

DSGetLinkInfo

Get information about a controlled job’s parameters

DSGetParamInfo

Get the log event from the job log

DSGetLogEntry

Get a number of log events on the specified subject from the job log

DSGetLogSummary

Get the newest log event, of a specified type, from the job log

DSGetNewestLogId

Log an event to the job log of a different job

DSLogEvent

Stop a controlled job

DSStopJob

Return a job handle previously obtained from DSAttachJob

DSDetachJob

Log a fatal error message in a job's log file and aborts the job.

DSLogFatal

Log an information message in a job's log file.

DSLogInfo

Put an info message in the job log of a job controlling current job.

DSLogToController

Log a warning message in a job's log file.

DSLogWarn

Generate a string describing the complete status of a valid attached job.

DSMakeJobReport

Insert arguments into the message template.

DSMakeMsg

Ensure a job is in the correct state to be run or validated.

DSPrepareJob

Interface to system send mail facility.

DSSendMail

Log a warning message to a job log file.

DSTransformError

Convert a job control status or error code into an explanatory text message.

DSTranslateCode

Suspend a job until a named file either exists or does not exist.

DSWaitForFile

Checks if a BASIC routine is cataloged, either in VOC as a callable item, or in the catalog space.

DSCheckRoutine

Execute a DOS or DataStage Engine command from a before/after subroutine.

DSExecute

Set a status message for a job to return as a termination message when it finishes

DSSetUserStatus

来自 “ ITPUB博客 ” ,链接:http://blog.itpub.net/202861/viewspace-880737/,如需转载,请注明出处,否则将追究法律责任。

转载于:http://blog.itpub.net/202861/viewspace-880737/

  • 0
    点赞
  • 0
    收藏
    觉得还不错? 一键收藏
  • 0
    评论
评论
添加红包

请填写红包祝福语或标题

红包个数最小为10个

红包金额最低5元

当前余额3.43前往充值 >
需支付:10.00
成就一亿技术人!
领取后你会自动成为博主和红包主的粉丝 规则
hope_wisdom
发出的红包
实付
使用余额支付
点击重新获取
扫码支付
钱包余额 0

抵扣说明:

1.余额是钱包充值的虚拟货币,按照1:1的比例进行支付金额的抵扣。
2.余额无法直接购买下载,可以购买VIP、付费专栏及课程。

余额充值