EBCDIC file with \307 delimeter
Posted: Sat Sep 22, 2007 5:38 am
Hi,
We are migrating the code from Ab Initio to DataStage EE 7.5.2. We have got following metadata from Abi and the file format is EBCDIC:
string("\307") aml_tran_cat;
string("\307") aml_tran_type; /* NUMBER*/
decimal("\307") sor_tran_type;
decimal("\307") R_COST_CENTER;
decimal("\307") co_id; /* NUMBER NOT NULL*/
string("\307") hard_code_product_code = 'DDA';
decimal("\307") acct_num; /* NUMBER NOT NULL*/
date("YYYYMMDD")("\307") post_dt; /* DATE*/
string("\307") tran_stmt_desc; /* VARCHAR2(100)*/
decimal("\307") tran_amt; /* NUMBER(14,2)*/
decimal("\307") led_bal; /* NUMBER(16,2)*/
decimal("\307") tran_seq_num; /* NUMBER NOT NULL*/
decimal("\307") check_serial_num; /* NUMBER*/
string("\307") dep_wd_cd; /* VARCHAR2(1)*/
decimal("\307") intern_gen_in; /* NUMBER*/
string("\307") operator_id; /* VARCHAR2(20)*/
decimal("\307") paper_in; /* NUMBER*/
string("\307") pcode; /* VARCHAR2(2)*/
string("\307") pd_into_od_cd; /* VARCHAR2(1)*/
string("\307") trace_id; /* VARCHAR2(20)*/
string("\307") sor_tran_cat; /* VARCHAR2(1)*/
string("\307") gli_source_cd;
string(1) newline;
Can anyone help me in selecting a proper metadata in DataStage in Sequential file stage?
I need to understand field and record delimeter from the given metadata which I can set in DS Sequential file stage.
Thanks in advance.
-Amit
We are migrating the code from Ab Initio to DataStage EE 7.5.2. We have got following metadata from Abi and the file format is EBCDIC:
string("\307") aml_tran_cat;
string("\307") aml_tran_type; /* NUMBER*/
decimal("\307") sor_tran_type;
decimal("\307") R_COST_CENTER;
decimal("\307") co_id; /* NUMBER NOT NULL*/
string("\307") hard_code_product_code = 'DDA';
decimal("\307") acct_num; /* NUMBER NOT NULL*/
date("YYYYMMDD")("\307") post_dt; /* DATE*/
string("\307") tran_stmt_desc; /* VARCHAR2(100)*/
decimal("\307") tran_amt; /* NUMBER(14,2)*/
decimal("\307") led_bal; /* NUMBER(16,2)*/
decimal("\307") tran_seq_num; /* NUMBER NOT NULL*/
decimal("\307") check_serial_num; /* NUMBER*/
string("\307") dep_wd_cd; /* VARCHAR2(1)*/
decimal("\307") intern_gen_in; /* NUMBER*/
string("\307") operator_id; /* VARCHAR2(20)*/
decimal("\307") paper_in; /* NUMBER*/
string("\307") pcode; /* VARCHAR2(2)*/
string("\307") pd_into_od_cd; /* VARCHAR2(1)*/
string("\307") trace_id; /* VARCHAR2(20)*/
string("\307") sor_tran_cat; /* VARCHAR2(1)*/
string("\307") gli_source_cd;
string(1) newline;
Can anyone help me in selecting a proper metadata in DataStage in Sequential file stage?
I need to understand field and record delimeter from the given metadata which I can set in DS Sequential file stage.
Thanks in advance.
-Amit