on 11-09-2016 7:19 AM
Hi All,
The data in ETL_USER_* tables is loaded from a spreadsheet and these tables are created in Oracle Database.
END_EXTRACT_DATE - timestamp(6)
A custom function is created which uses the data in ETL_TABLES and stores them in a Local Variable of type datetime.
$LV_ReturnDate = lookup_ext([ODS_DS.ODS.ETL_EXTRACT_CONTROL_PARM,'PRE_LOAD_CACHE','MAX'], [END_EXTRACT_DATE],[NULL],[CONFIG,'=',current_system_configuration(),SOURCE_SYSTEM,'=',$PV_SourceSystem]) SET ("run_as_separate_process"='no', "output_cols_info"='<?xml version="1.0" encoding="UTF-8"?><output_cols_info><col index="1" expression="no"/> </output_cols_info>' ) ; RETURN $LV_ReturnDate;
The value stored in Local variable is as such- 2000.??.?? ??:??:??.000000000
Attached-
Screenshot of Table Desc in Oracle,
Custom Function, Warning on Job Execution
warning.pnglocal-variable.pngcustom-function.pngetl-user-extract-entity.png
User | Count |
---|---|
86 | |
10 | |
10 | |
9 | |
6 | |
6 | |
6 | |
5 | |
4 | |
3 |
You must be a registered user to add a comment. If you've already registered, sign in. Otherwise, register and sign in.