乌托邦博客

You see? Even death has a heart

« 该页无法显示怎么办?今天一脚踢飞了一个孩子,我并不觉得过分(转) »

DataStage Compiler

      通常安装好DataStage后,需要设置Compiler以便顺利编译Transformer Stage,以下是我收集的AIX和Linux下的设置:

       AIX:
comilper option  -O -c -qspill=32704
compiler /usr/vacpp/bin/xlC_r
linker   /usr/vacpp/bin/xlC_r
linker option   -G

Linux:

comilper option  -O -fPIC -Wno-deprecated -c
compiler gcc32
linker   gcc32
linker option  -shared -Wl,-Bsymbolic,--allow-shlib-undefined
        

       以下为8.1版本的设置,其实是一样的,以上这些参数的设置其实是存放在DSParams文件内的,路径为\ibm\InformationServer\Server\Projects\Projects Name\DSParams

AIX:

APT_COMPILEOPT\Parallel/Compiler\3\String\-O -q64 -c\3\Project\Compiler options\Compiler options for Parallel transformer\
APT_COMPILER\Parallel/Compiler\3\String\/usracpp/bin/xlC_r\3\Project\Compiler\Compiler for Parallel transformer\
APT_LINKER\Parallel/Compiler\3\String\/usracpp/bin/xlC_r\3\Project\Linker\Linker for Parallel transformer\
APT_LINKOPT\Parallel/Compiler\3\String\-G -q64\3\Project\Linker options\Linker options for Parallel transformer\

Linux:

APT_COMPILEOPT\Parallel/Compiler\3\String\-O -fPIC -Wno-deprecated -c\3\Project\Compiler options\Compiler options for Parallel trans
former\
APT_COMPILER\Parallel/Compiler\3\String\g++\3\Project\Compiler\Compiler for Parallel transformer\
APT_LINKER\Parallel/Compiler\3\String\g++\3\Project\Linker\Linker for Parallel transformer\
APT_LINKOPT\Parallel/Compiler\3\String\-shared -Wl,-Bsymbolic,--allow-shlib-undefined\3\Project\Linker options\Linker options for Pa
rallel transformer\

         如果哪位同学再有Transformer Stage编译不过的,可以参考以上设置。另外,如果操作系统少打了一些包,也会导致该问题出现,我有空再整理一下所需要的包。

  • quote 2.yst
  • 能不能把linux下的必要包列一下,我用的是centos5.3 安装的datastage7.5.2 编译器是G++,其他选项和你一样。但是transform stage不能编译通过。谢谢!
    utopian 于 2011-7-9 15:43:25 回复
    请详细列出DataStage版本和操作系统版本,在RedHat 4和5上,包略有不同,因为有些包被废弃了。
    yst 于 2011-7-11 20:40:46 回复
    你好,操作系统是CentOS-5.5-x86_64 (这个是基于redhat5的); datastage7.5.2,谢谢!
  • 2011-7-6 20:39:26 [Report Spam]  回复该留言

发表评论:

◎欢迎参与讨论,请在这里发表您的看法、交流您的观点。

日历

最新评论及回复

最近发表

Powered By Z-Blog 1.8 Spirit Build 80710 Code detection by Codefense

Copyright 2005-2007 Bootad.cn. Some Rights Reserved
.粤ICP备07062332号 QQ:94424751