分析IBM datastage job 构建过程
来源:互联网 发布:上古卷轴5低配优化 编辑:程序博客网 时间:2024/05/16 08:35
在IBM datastage job 中我们知道共有三种类型,在此简单阐述下
1.server job ,运行在server 服务器端,简单用于逻辑控制的job 可以采用这种方法实现
2.parallel job ,并行运行的job,对于大多数的job develop 采用这种方法来实现
3.sequence job,主要是作流程控制用的。
简单举例说明:
现在有一个parallel job which named edw_dss_dm_dang.这个job 可能不是很复杂,是用来进行数据加载或是备份的我们称之为(ETL过程)。
现在要把这个job 加入到一个单元 sequence中,也就说这个sequence 是专门为dang类job 操作的。we call this sequence as dang_sequence.before we added this dang job into dang sequence need to decide when the job should be run ,so 在这里我们添加一个参数 run_time to decide which dang job can run named dang_can_ run_time which setted to boolean type。when the parameter is Y then dang_job can run,but the parameter is set to default value N.SO when we run dang_sequence ,Have to manutal 。
but,as all we know ,there is a totally sequence ,which we called totally_sequence ,so the parameter in this job are good ,its mean every time we run the job ,each job in it
can run unless we do something .so there a parameter should be called dang_can_ run_time,and the parameter default valued not be set to N OR Y but default。 because we should sett it use program 。so we may use server job .
有一个sql 能够很好的说明这一点 :
礼拜一可以处理
select 'dang_can_ run_time' as pk, case when dayofweek(CURRENT DATE) in (2) then 'Y'
else 'N' end as run_flag
from SYSIBM.SYSDUMMY1 d
这个数值被保存到hashed failed (named sns_run_flag_hash)中。in this failed there is only two columns named pk,run_flag。
but how can we get the values
use a user variables activity just like this
if dang_can_ run_time='DEFAULT' then UtilityHashLookup('sns_run_flag_hash', 'sns_run_flag_hash', 1) else sns_run_flag_hash.
then can user nested condition to decided run the job or not ,just so eary.
- 分析IBM datastage job 构建过程
- IBM Datastage job 一直在running状态
- IBM InfoSphere DataStage 8.1 DataStage Job 开发详解
- DataStage Job Monitor problems
- Datastage JOB导入导出
- IBM MB,MQ, Datastage
- IBM WebSphere DataStage 教程
- datastage server job之java调用datastage job
- datastage server job之前言
- DataStage Job优化指导原则
- DataStage Job优化指导原则
- Datastage处理锁定的JOB
- IBM-DB2, Datastage, Cognos, SPSS
- IBM 官方datastage文档链接
- DataStage通过分析日志获取Job插入目标表的记录数
- datastage(IBM InfoSphere Information Server )日志的获取和分析
- Android构建过程分析
- Android构建过程分析
- 不同变量类型在32位和64位机器上的长度
- Linux设备驱动学习(0)搭建LDD3实验环境
- java 内存管理
- 正则表达式中的特殊字符---转载(http://www.blogjava.net/onejavaer/)
- iphone UIView layer frame transform 动画细节
- 分析IBM datastage job 构建过程
- 【经典】用栈和堆来理解 String。好文章:String 必须要理解!!!
- cxf调用.net中的接口遇到的两个问题
- 关于javascript function对象那些迷惑
- 基本数值类型和final关键字
- dede笔记
- java初学者的忠告
- 在Android模拟器中模拟GPS、打电话、发短信……
- eclipse 开发 android 快捷键