Posts

Showing posts with the label input/output flow

S) How to read different dml file to a single file ?

Image
  use red ef ine format or use read_multi ple file    

S) How to take a count of vowel present in a string ?

Image
 Solution: Redefine Format   record   string( 1) data;   end     FBE   data member [ vector "A","a","E","e","I"," i "," O","o","U","u " ]     Sort   Key –Data     Rollup     Key –Data     out : : rollup(in) =   begin     out. data : : in.data ;     out.cc : : count( in.data );   end;          

S) Rollup Accumulation Function Scenario

Image
          Solution:-     Ip - DML     Record   String( “| ”)id ;   String(“\n ”)data ;   End;     Rollup      Key :id     out : : rollup(in) =   begin     out. data : : string_join (accumulation( in.data ), "" );     out.id : : in.id;   end ;     Op- DMl     Record   String( “| ”)id ;   String(“\n ”)data ;   end