Wednesday, August 30, 2017

LOADING DATA FROM MULTIPLE FLAT FILES TO SINGLE TARGET TABLE

Implementing the steps for loading the data from multiple flat files to
 single oracle table

Source:
  • Let us consider the Flat files(txt files) namely
            1) flatfile1.txt
            2) flatfile2.txt
            3) flatfile3.txt
            4) flatfile4.txt
            5) flatfile5.txt
keep all these files in a folder and save it in a Local Drive.

  • These flat files are having same structure with unique data and to be considered as the source.

  • In oracle DB, create a new schema as source and grant DBA permissions to it. In this schema, create a table(KC) with the columns as FID, FILENAME, STATUS and insert the values as follows

FID             FILENAME              STATUS
-----            ---------------            ------------
  1                flatfile1                    N
  2                flatfile2                    N
  3                flatfile3                    N
  4                flatfile4                    N
  5                flatfile5                    N

  • This table could be called by refreshing variable at ODI level.

Target:

  • In Oracle DB, in the same schema create a table (CL) with columns similar to the flat files structure (i.e., the columns present in the flat files are to be taken).

  • Data is to be loaded after executing the ETL process.

Loading data from Source to Target:

  • In ODI, login to work repository. We have the source as Flat file. So in Physical Architecture select the Technology as File Technology.

  • File Technology -->New Data Server --> Name: Give any name.


  • Go to  JDBC ,
JDBC Driver: Click on search icon, keep the JDBC Driver as appears and
                        click ok.
JDBC Url      : Click on search icon, keep the Url up to jdbc:snps:dbfile and
                        delete the   remaining and click ok.


  • Data Server for source is created.
  • Now create Physical Schema for this Source Data Server.
  • Right click on the Data Server select Physical Schema.
  • In the Physical Schema (Definition), select
                 Directory (schema)          : Place the path were the flat files are saved
                 Directory (work schema): Place the same path as above


  • Now move to context and set the logical schema. Select context as Global & set Logical Schema with any name ending with “_LS”.


  • Hence, the process completed for file technology.
  • Now select the Oracle Technology in Physical Architecture for the Target.
  • Oracle Technology -->New Data Server --> Name: Give any name.
  • Give the User name & Password as the Schema and password created for the Target.


  • Move to JDBC,
          JDBC Driver: Click on search icon, keep the JDBC Driver as it appears and click ok.
          JDBC URL    : Click on Search icon, set
                                    Hostname as localhost, Port number as 1521, SID as orcl


  • Data Server is created for Target.

  • Now create Physical Schema for the Target Data Server.
  • Right click on the Data Server, select Physical Schema.
  • In the Physical Schema (Definition), select
Directory (schema)           : Point out the Schema which was created
                                           for target.
Directory (work schema) : Same as above



  • Now move to context and set the logical schema.


  • Hence, the process completed for the Oracle Technology.

  • Now go to Designer component and create a new Model folder


  • Now create a new model for source (i.e., for flat files) as follows


  • Here, the source is Flat file. So for this we have to create Datastore.
  • Right click on the source model and select New Datastore. It displays a window.


  • In this, for Resource Name: Point out the flat file name with “.txt”  extension as below


  • Now create a model for Target


  • Move to selective Reverse-Engineering and  follow as below


  • Reverse Engineering for target is completed.

  • Create a Global Variable as below


  • Move to Refreshing, set the Schema and for Select Query write the query as follows


  • Create a New Project


  • In this Project, Create a Project Variable as below


  • Move to Refreshing, set the Logical Schema and Select Query as below—


  • Now create an Interface


Now change your resource name as the global variable name .
Note: change resource name before using them in the mappings.


  • Now go for Mappings


  • Import the Knowledge Modules as per the requirement
For LKM select FILE TO SQL
For IKM select SQL CONTROL APPEND
  • Set  Flow Control as TRUE
  • Set Truncate as False


  • Create a Procedure as follows


  • Go to Execution and make as follows


  • Create a Package in this Project and arrange as below
  1. v_filecount as refresh variable
  2. v_filecount as evaluate variable and remaining variables as
  3. refresh variables

  • The arrangements should appear like below


  • Now save and execute it.
  • Check the status in Operator Component.
  • Hence, the data loaded into Target Oracle Table.

  • Also check the KC table in DB. Observe that the status was updated to “Y”.

              FID              FILENAME              STATUS
-----             ---------------            -----------
     1                  flatfile1                       Y
     2                  flatfile2                       y
     3                  flatfile3                       y
     4                  flatfile4                       y
     5                  flatfile5                       y

Thursday, July 13, 2017

Digital Marketing

C:\Users\SSS2014037\Desktop\digi2.PNG


Digital Marketing is Next Big thing. People nowadays are understanding that Digital Marketing is in high demand. some people might also think that it is just a hype and it will not last long. After looking and understanding the customer behavior the brand and marketing strategies which we are following can benefit the changing times It is proven that Digital Marketing is going to rule the world.

C:\Users\SSS2014037\Desktop\digi.PNG
During the past three to five years the customer behaviour has changed a lot. We can find more than 400 million internet users in India and they are the boss for every business. Each and every business activity should synchronize their needs and behaviour as according to latest trends to overcome competitors in their respective fields. This change has brought a huge need for online advertising for brands. Brand Promotion and Online Reputation Management helps to advertise their products or services

                       C:\Users\SSS2014037\Desktop\image 200.PNG


C:\Users\SSS2014037\Desktop\digi3.PNG

The growth of Digital Marketing resembles the growth of Small Start-ups, businesses, and Internet users in India. Finding the Right Digital Marketer with good talent is a major bottleneck in India. As per one survey report Demand exceeds supply for Digital Marketing Jobs. There is a huge demand for Digital Marketing Jobs. A Candidate with 2-3 years of experience in Digital Marketing is earning 5-10 Lakhs per annum. The Real-time data report shows that an Average salary for a Digital Marketer with few years of experience will earn around 7.2 Lakhs Per Annum. As per latest survey report there are 8 Lakhs Digital Marketing Jobs that are there available in India alone. If we see in global perspective the number of jobs available are pretty high.
                 

C:\Users\SSS2014037\Desktop\digi4.PNG

People who want to start their career in Digital Marketing should possess the skills along with    personal branding. Basically, for a fresher, they need to focus on learning and practicing things with good analysing power and develop a passion for Digital Marketing. There are several career options for a Digital Marketer to focus like Content Writer, Designer, Conversion Rate Optimizer, Copy writer, Content Marketing Manager, Inbound Marketing Manager, Search Engine Marketer, SEO Specialist, Social Media Manager, Analytics Expert and several higher positions. The roles vary from company to company and if the company is start up multiple roles will be handled by one digital marketer.
   
                                    
                        










































Monday, June 19, 2017

Article on Digital Marketing


 C:\Users\vijju\AppData\Local\Microsoft\Windows\INetCache\Content.Word\01.png

                 


 F:\0000000000000\2017\06-2017\19-06-2017\digital_online_marketing_1_comapny_agency_advertising_gurgaon_delhi_noida.jpg
Throughout Centuries, Marketing is a basic fundamental to any business success and it is primarily Customer centric. Promoting a product or service to reach right audience in a compelling way is the primary goal of any successful business. In order to promotion often entrepreneurs or small business owners don’t know where to start and how to start, whether it is online or offline to make their promotional campaigns more effective.  Promotional campaigns are of mainly two types offline and online.

C:\Users\vijju\AppData\Local\Microsoft\Windows\INetCache\Content.Word\02.png
  
 F:\0000000000000\2017\06-2017\19-06-2017\Reach-your-target-audience-graphic.gif

Effective online campaigns with powerful Digital Marketing strategies will take businesses to next level. Having Websites helps businesses of all kinds to connect people who are searching online. Most of the people are doing research before buying decisions online. Unlike Traditional marketing.

  
C:\Users\vijju\AppData\Local\Microsoft\Windows\INetCache\Content.Word\03.png
 F:\0000000000000\2017\06-2017\19-06-2017\socialmedia.jpg
There is an explosion in terms of number of people joining various Digital Media Networks such as Facebook, LinkedIn etc. Digital Marketing is the most sought after skill for any professional who has role to play in marketing. Understanding Target market beyond traditional marketing strategies with specific analysis, analytics & search that yields best user experience is possible with Digital Marketing Strategies. Often several Business work with a motto " We are not in the business of supporting a media industry, we are in the business of connecting with customers"
  
C:\Users\vijju\AppData\Local\Microsoft\Windows\INetCache\Content.Word\04.png
  
 

  
 C:\Users\vijju\AppData\Local\Microsoft\Windows\INetCache\Content.Word\05.png
F:\0000000000000\2017\06-2017\19-06-2017\Digital-Marketing-2.jpg


Evaluation of Tactics for effectively driving traffic that converts leads to customers in any business with changing Mindset along with the rise of Social Media irrespective of any industry. Understanding Day to Day challenges in building online brand reputation management for local and global companies that strikes a balance between Research and practical hands on experience that tie to real world considerations.
  
 C:\Users\vijju\AppData\Local\Microsoft\Windows\INetCache\Content.Word\06.png

 

The Revolution of social media and Smart phone usage have ensured that everything is setting up for building tomorrow’s brand today. Today’s Digital Marketers are upending Massive markets that brings great experience to test various marketing analytics assumptions that needs to built for a user centric approach with remarkable experiences.

 C:\Users\vijju\AppData\Local\Microsoft\Windows\INetCache\Content.Word\07.png

 F:\0000000000000\2017\06-2017\19-06-2017\news_sample_2060_1159_60_s.jpg

The major timeline innovations of Digital Marketing always found a space to grab the attention of Targeted audiences. The Major in demand skills for Digital Marketing are Content Marketing, Social Media Marketing, Search Engine Optimization and Mobile Marketing. Digital Marketing careers are not only in demand but they could also be the key to having a life outside of work

 C:\Users\vijju\AppData\Local\Microsoft\Windows\INetCache\Content.Word\08.png


 

Digital Marketing is a massive field with wide variety of career options. It is not only the future. It is the need of today. The Opportunities for a Digital Marketing are huge in India. A fresh graduate can get close to 25k per month to 6 Lakhs per annum where in an experienced can command remunerations in the range of 20 Lakhs to 75 Lakhs per annum.


For any Services in Digital Marketing, Please Contact :SSSBI