Search found 112 matches

by vazquezrosariop
Fri Dec 15, 2017 6:14 pm
Forum: CloverETL Support
Topic: CTL function example
Replies: 1
Views: 12

Re: CTL function example

Hi hewills, Creating a .ctl file and importing into transforms/reformats is still possible in newer versions of CloverETL Designer. That being said I have created a simple .ctl function that takes parameters and returns a value: //#CTL2 function string handle_null(string data) { return data==null ? ...
by vazquezrosariop
Thu Dec 07, 2017 6:17 pm
Forum: IBM InfoSphere MDM
Topic: Write SUCCESS flag to Database After Successful DB Output
Replies: 3
Views: 49

Re: Write SUCCESS flag to Database After Successful DB Output

Hi listsos, The output port you are utilizing to set the flag is only returns rejected records, which works well for the Failure Flag. Now to set the Success flag, I would recommend using the second output port and set a returning statement to output a record inserted. It's also imported to note tha...
by vazquezrosariop
Thu Dec 07, 2017 4:49 pm
Forum: CloverETL Support
Topic: Using dictionary variable in the query
Replies: 5
Views: 1358

Re: Using dictionary variable in the query

Hi Paul, This is still true in the current version of CloverETL, unfortunately, dictionaries are not supported in DBInputTable. On a side note, if you are using CloverETL 4.7 we introduced an improved version of Launch Services called Data Services. If you would like to know more I have added a few ...
by vazquezrosariop
Mon Dec 04, 2017 7:53 pm
Forum: CloverETL Support
Topic: Removing random "|" characters from DBInputTable
Replies: 2
Views: 54

Re: Removing random "|" characters from DBInputTable

Hi Jesse,

I replied to a similar question on how to replace on all fields without having to go one by one. I used the reformat and a code I created to accomplish this:

http://forum.cloveretl.com/viewtopic.php?f=4&t=7306&hilit=replace#p12426
by vazquezrosariop
Fri Dec 01, 2017 2:27 pm
Forum: CloverETL Support
Topic: UniversalDataReader SFTP issue
Replies: 8
Views: 233

Re: UniversalDataReader SFTP issue

I'm attaching a graph with CustomJavaComponent, which will print out the supported key exchange schemes of the SFTP. When the graph runs, it will enable verbose SFTP logging at DEBUG log level on the Server, until restarted. Afterwards, you should execute your graph that reads from SFTP with DEBUG l...
by vazquezrosariop
Thu Nov 16, 2017 9:02 pm
Forum: CloverETL Support
Topic: UniversalDataReader SFTP issue
Replies: 8
Views: 233

Re: UniversalDataReader SFTP issue

Hi gch,

I spoke with our developers and they strongly feel they can find a solution to this problem, but they need more details first. Could you please answer the following questions:

  • Java version
  • CloverETL version
by vazquezrosariop
Thu Nov 16, 2017 3:43 pm
Forum: CloverETL Support
Topic: Overwrite File After Reformat
Replies: 4
Views: 119

Re: Overwrite File After Reformat

Hi rickymartin06, Each graph can be divided into several phases by setting the phase numbers on the components, which is located on the upper right corner. At the moment all your components are in phase 0, please change the UniversalDataWriter to phase 1. You can accomplish in one of two ways, by se...
by vazquezrosariop
Wed Nov 15, 2017 5:00 pm
Forum: CloverETL Support
Topic: zeroDate returning 12/31/1969
Replies: 2
Views: 68

Re: zeroDate returning 12/31/1969

Hi hewills,

The reason the date value is outputting 12/31/1969 is that zeroDate() is GMT locale. The data being outputted is represented based on the settings in your metadata. I would recommend changing the locale in your metadata to UTC.
by vazquezrosariop
Wed Nov 15, 2017 4:45 pm
Forum: CloverETL Support
Topic: Different results using str2date
Replies: 1
Views: 45

Re: Different results using str2date

Hi hewills,

The reason the output is a different date has to do with the capital Y. In Java, the capital Y stands for week year, which is different for y (Year). To resolve the issue just minimize the Y on the second str2date and it will output the correct date value.
by vazquezrosariop
Tue Nov 14, 2017 7:31 pm
Forum: CloverETL Support
Topic: Overwrite File After Reformat
Replies: 4
Views: 119

Re: Overwrite File After Reformat

Hi rickymartin06

From the screenshot you sent me and the issue you described, I would recommend putting the UniversalDataWriter in a higher phase, thus resolving the issue. With the UniversalDataWriter being in the phase the file is being prepared as soon as the process starts to be written.
by vazquezrosariop
Tue Nov 14, 2017 6:10 pm
Forum: CloverETL Support
Topic: Optimizing for ExtSort with very large file
Replies: 3
Views: 112

Re: Optimizing for ExtSort with very large file

Hi anyeone, That is quite a strange issue, in most cases, the ExtSort should be able to handle that amount of records without causing CG out memory. I would recommend at the moment to put the ExtSort in a different phase, which should force Disk Swapping does allow some of the memory to be released....
by vazquezrosariop
Mon Oct 09, 2017 2:26 pm
Forum: CloverETL Support
Topic: Dynamic Join/Sort keys
Replies: 4
Views: 289

Re: Dynamic Join/Sort keys

The question was answered on the following forum thread:

http://forum.cloveretl.com/viewtopic.php?f=4&t=7505
by vazquezrosariop
Fri Oct 06, 2017 5:20 pm
Forum: CloverETL Support
Topic: Reference dynamic metadata in CTL
Replies: 2
Views: 170

Re: Reference dynamic metadata in CTL

Hi jblythe99, In the case of Dynamic Metadata, it works a bit differently when referencing in CTL. The code to reference the dynamic metadata is: <tablename> mymetadata; TableName being the name of the table in the SQL query you are referencing. I would recommend having to parameters one for the SQL...
by vazquezrosariop
Thu Sep 14, 2017 4:59 pm
Forum: CloverETL Support
Topic: Realocation of CloverBuffer failed error with FlatFileReader reading multiple text files within zip file
Replies: 2
Views: 206

Re: Realocation of CloverBuffer failed error with FlatFileReader reading multiple text files within zip file

Hi Heather, This type of error is misleading, and there are two possibilities that might have cause this: ⋅ CloverBuffer fails because the data stored in the field exceeds the maximum capacity (in which case the property on the engine configuration will need to changed) ⋅ There i...
by vazquezrosariop
Wed Aug 30, 2017 3:10 pm
Forum: Cookbook
Topic: Pulling Content from a Node (XML files)
Replies: 1
Views: 388

Re: Pulling Content from a Node (XML files)

Hi leefate If I understand your question correctly, you want to extract a particular Element from multiple XML Files. If that's the case, you can accomplish this using the XMLExtract component and use a wild card in the URL . Assuming that all the XML files are the same structure, you will need to c...