锘??xml version="1.0" encoding="utf-8" standalone="yes"?>
You can disable integrity constraints temporarily so that large amounts of data can be loaded without the overhead of constraint checking. When the data load is complete,you can easily enable the integrity constraints, and you can automatically report any new rows that violate integrity constraints to a separate exceptions table.
鐪嬫潵oracle榪欑偣涓婂仛鐨勬瘮杈冨畬鍠勶紝榪樺彲浠ュ皢榪濆弽瀹屾暣鎬х害鏉熺殑鏁版嵁鑷姩璁板綍鍒頒竴涓猠xception琛ㄤ腑銆?
]]>
鍦╯equential file stage涓湁涓睘鎬у彲浠gnore絎竴琛屻傚浜巉ooter錛屽鏋渇ooter浣跨敤浜嗕笌姝f枃涓嶅悓鐨勬牸寮忥紝鍙互鐢ㄤ嬌鐢╰ransformer stage鍜?@INROWNUM stage鏉ュ皢footer鍘繪帀銆?br>鏂規(guī)硶浜岋細(xì)
鍦╯equential file鐨刦ilter option涓嬌鐢╯ed -e '$d' -e '1d'鏉ヨheader鍜宖ooter鍘繪帀銆?br>鏂規(guī)硶涓夛細(xì)
鍐欎釜before job subroutine錛屽彲浠ュ厛瀵硅繖涓枃浠跺仛鍚勭澶勭悊錛屼笉榪囨垜鎯充篃鏄痵ubroutine涓皟鐢―SExecute sed -e '$d' -e '1d'銆傚綋鐒禕asic涓篃鏈変笓闂ㄥsequential file澶勭悊鐨勫嚱鏁般?br>
]]>
The general callable format is : $orchadmin [options] [descriptor file]
1. Before using orchadmin, you should make sure that either the working directory or the $APT_ORCHHOME/etc contains the file “config.apt” OR
The environment variable $APT_CONFIG_FILE should be defined for your session.
Orchadmin commands
The various commands available with orchadmin are
1. CHECK: $orchadmin check
Validates the configuration file contents like , accesibility of all nodes defined in the configuration file, scratch disk definitions and accesibility of all the nodes etc. Throws an error when config file is not found or not defined properly
2. COPY : $orchadmin copy
Makes a complete copy of the datasets of source with new destination descriptor file name. Please not that
a. You cannot use UNIX cp command as it justs copies the config file to a new name. The data is not copied.
b. The new datasets will be arranged in the form of the config file that is in use but not according to the old confing file that was in use with the source.
3. DELETE : $orchadmin <> [-f -x] descriptorfiles….
The unix rm utility cannot be used to delete the datasets. The orchadmin delete or rm command should be used to delete one or more persistent data sets.
-f options makes a force delete. If some nodes are not accesible then -f forces to delete the dataset partitions from accessible nodes and leave the other partitions in inaccesible nodes as orphans.
-x forces to use the current config file to be used while deleting than the one stored in data set.
4. DESCRIBE: $orchadmin describe [options] descriptorfile.ds
This is the single most important command.
1. Without any option lists the no.of.partitions, no.of.segments, valid segments, and preserve partitioning flag details of the persistent dataset.
-c : Print the configuration file that is written in the dataset if any
-p: Lists down the partition level information.
-f: Lists down the file level information in each partition
-e: List down the segment level information .
-s: List down the meta-data schema of the information.
-v: Lists all segemnts , valid or otherwise
-l : Long listing. Equivalent to -f -p -s -v -e
5. DUMP: $orchadmin dump [options] descriptorfile.ds
The dump command is used to dump(extract) the records from the dataset.
Without any options the dump command lists down all the records starting from first record from first partition till last record in last partition.
-delim ‘’ : Uses the given string as delimtor for fields instead of space.
-field : Lists only the given field instead of all fields.
-name : List all the values preceded by field name and a colon
-n numrecs : List only the given number of records per partition.
-p period(N) : Lists every Nth record from each partition starting from first record.
-skip N: Skip the first N records from each partition.
-x : Use the current system configuration file rather than the one stored in dataset.
6. TRUNCATE: $orchadmin truncate [options] descriptorfile.ds
Without options deletes all the data(ie Segments) from the dataset.
-f: Uses force truncate. Truncate accessible segments and leave the inaccesible ones.
-x: Uses current system config file rather than the default one stored in the dataset.
-n N: Leaves the first N segments in each partition and truncates the remaining.
7. HELP: $orchadmin -help OR $orchadmin -help
Help manual about the usage of orchadmin or orchadmin commands
+
(40503) A call to an OLE server has failed, or a runtime error occured within the ole itself.
瑙e喅鍔炴硶錛?br>1 棣栧厛榪愯鍛戒護(hù)錛欴ELETE FROM DS_JOBS WHERE NAME = 'JobName'
2 鍐嶈繍琛孌S.CHECKER 錛屾敞鎰忚榪愯DS.CHECKER蹇呴』瑕佹湁exclusive access鍒皃roject
錛岄氳繃濡備笅鍛戒護(hù)鍙互鐪嬪埌鏈夎皝榪樿繛鎺ュ埌浜嗘湇鍔″櫒錛歯etstat -a |grep dsrpc
浣跨敤DataStage Editor鎴栧叾浠栫紪杈戝櫒鍒涘緩BASIC紼嬪簭婧愮爜錛岃繖涓簮鐮佹垚涓轟綘鍒氭墠鍒涘緩鐨勬枃浠剁殑涓鏉¤褰曘?/p>
浣跨敤BASIC鍛戒護(hù)鏉ョ紪璇戜綘紼嬪簭錛岃繖灝嗗垱寤轟竴涓寘鍚洰鏍囦唬鐮佺殑鏂囦歡銆傜洰鏍囨枃浠剁殑鍚嶅瓧涓嶉噸瑕侊紝鍥犱負(fù)鎬繪槸閫氳繃婧愭枃浠跺悕鏉ュ紩鐢ㄧ▼搴忋?/p>
鍙互鐢≧UN鍛戒護(hù)鏉ユ墽琛屼綘鐨勭▼搴忥紝浣跨敤RAID鍛戒護(hù)鏉ヨ皟璇曚綘鐨勭▼搴忋?/p>
浜屻佸熀紜鐭ヨ瘑
鏁版嵁綾誨瀷銆佸彉閲忓拰鎿嶄綔絎?br>鎵鏈夋暟鎹湪鍐呴儴閮芥槸浠ュ瓧絎︿覆瀛樺偍錛屽湪榪愯鏃惰漿鎹負(fù)鍏蜂綋綾誨瀷銆?br>涓昏鏈変笁縐嶆暟鎹被鍨嬶細(xì)瀛楃涓層佹暟瀛楀瀷銆佸拰unknown錛坣ull錛?/p>
瀛楃涓?br>鍦˙ASIC婧愮爜涓紝瀛楃涓蹭駭閲忔槸ASCII瀛楃鐨勫簭鍒楋紝鎵浠ヤ笉鑳芥湁0錛坣ull錛夊拰10錛坙inefeed錛夊瓧絎︼紝鑰屾槸瑕佷嬌鐢–HAR(0)鍜孋HAR(10)
鏁板瓧鍨?br>鑼冨洿浠?0(-307)鍒?0(307)錛屾渶澶?5浣嶅皬鏁?br>unknown
null鍦ㄥ唴閮ㄦ槸鐢卞崟涓瀛楄妭CHAR(128)浠h〃鐨勶紝鏄竴涓猻tring錛屽彲浠ョ敤緋葷粺鍙橀噺@NULL.STR鏉ュ紩鐢ㄥ畠銆傚湪BASIC紼嬪簭涓彲浠ヤ嬌鐢ㄧ郴緇熷彉閲廆NULL鏉ュ紩鐢╪ull鍊箋?br>涓涓瓧絎︿覆涓巒ull榪炴帴緇撴灉涓簄ull
鏁扮粍
dimensioned array
鍦ㄥ悜閲忥紙涓緇存暟緇勶級涓紝絎竴涓厓绱犵殑index涓?
鍚戦噺鍙互鐪嬪仛絎簩浣嶄負(fù)1鐨勪簩緇存暟緇勶紙鐭╅樀錛夈?br>鐭╅樀鍜屽悜閲忕殑絎竴涓厓绱犲垎鍒敤vector.name(0)鍜宮atrix.name(0,0)琛ㄧず銆傚畠鍙互鍦∕ATPARSE銆丮ATREAD鍜孧ATWRITE璇彞涓敤鏉ュ瓨鍌ㄤ笉鍚堟牸鐨勫瓧孌點(diǎn)?/p>
鍔ㄦ佹暟緇?br>鍔ㄦ佹暟緇勭殑鏈楂樺眰鏄瓧孌碉紝鐢?F)鍒嗗壊銆傚瓧孌靛寘鍚湁(V)鍒嗗壊鐨勫肩粍鎴愩傛瘡涓煎張鍙互鍖呭惈鐢?S)鍒嗗壊鐨剆ubvalue銆?/p>
瀛楃涓茬殑姣旇緝
瀛楃涓茬殑姣旇緝鏄竴涓釜鐨勬瘮杈冩瘡涓瓧絎︾殑ASCII鐨勫箋傚鏋滀袱涓瓧絎︿覆鍙互杞崲涓烘暟瀛楋紝鎬繪槸姣旇緝涓や釜鏁板瓧鐨勬暟鍊煎ぇ灝忋備換浣曞間笌null鐩告瘮杈冪殑緇撴灉閮芥槸unknown銆傜┖涓蹭笉鏄畝鍗曠殑絳変簬0銆傜┖鏍肩湅鍋氬皬浜?銆?/p>
瀛楃涓插尮閰?br>X浠h〃浠諱綍瀛楃 A浠h〃鎵鏈夊瓧姣?N浠h〃鎵鏈夋暟瀛?鍓嶉潰鐨勬暟瀛椾唬琛ㄩ噸澶嶆鏁般傚鏋滃墠闈㈢殑鏁板瓧涓?錛屼唬琛ㄥ悗闈㈢殑瀛楃閲嶅0鍒癗嬈$殑浠繪剰嬈℃暟閮藉彲浠ャ?/p>
0鏄痜alse 絀轟覆鏄痜alse null闈瀟rue闈瀎alse
閿?浜嬪姟鍜岄殧紱葷駭鍒?br>閿?br>閿佹湁涓ょ綺掑害錛氱粏綺掑害錛堣褰曢攣瀹氾級鍜岀矖綺掑害錛堟枃浠墮攣瀹氾級
DataStage鏀寔浠ヤ笅鍑犵閿侊細(xì)
璁板綍鍏變韓閿?br>璁板綍鏇存柊閿?br>鏂囦歡鍏變韓閿?br>鏂囦歡鎰忓悜錛坕ntent錛夐攣 浠嬩簬鍏變韓涓庢帓浠栦箣闂?br>鏂囦歡鎺掍粬閿?/p>
浜嬪姟
浜嬪姟鍙互宓屽
瀛愪簨鍔″湪鐖朵簨鍔℃彁浜ゆ垨鍥炴粴涔嬪墠寮濮嬬殑璇濓紝瀛愪簨鍔″皢鍙樻垚媧誨姩浜嬪姟錛岃岀埗浜嬪姟灝嗙戶緇瓨鍦ㄤ絾鏄槸闈炴椿鍔ㄧ殑銆傚綋瀛愪簨鍔℃彁浜ゆ垨鍥炴粴涔嬪悗錛岀埗浜嬪姟灝嗗啀嬈″彉涓烘椿鍔ㄧ殑銆?br>鍦ㄦ渶楂樺眰鐨勪簨鍔℃彁浜や箣鍓嶏紝灝嗙紦瀛樻墍鏈夊瓙浜嬪姟鐨勬暟鎹簱鎿嶄綔銆傚綋榪涜涓涓鍙栨搷浣滄椂錛岄鍏堜細(xì)鍘昏鍙栫紦瀛樼殑鏁版嵁錛屽鏋滄壘涓嶅埌鎵嶄細(xì)浠庢暟鎹簱鏂囦歡涓鍙栥?br>