Introdução 

 SQL Scripts 

 Packages 
 pkg_nkw_exc 
 pkg_nkw_env 
 pkg_nkw_rpl 
 pkg_nkw_std 
 pkg_nkw_app 
 pkg_nkw_spm 
 pkg_nkw_hfs 
 pkg_nkw_sdv 
 pkg_nkw_sys 
 pkg_nkw_obj 
 pkg_nkw_grv 
 pkg_nkw_usr 
 pkg_nkw_cmm 
 pkg_nkw_hlp 
 pkg_nkw_dvp 
 pkg_nkw_dnt_std 
 pkg_nkw_dnt_dvies 
 pkg_nkw_dnt_ccvies 
 pkg_nkw_dnt_logies 
 pkg_nkw_dnt_eppc 
 pkg_nkw_dnt_eapb 
 pkg_nkw_dnt_drmies 
 pkg_nkw_dnt 
 pkg_nkw_drm 
 pkg_nkw_oim 
 pkg_nkw_aud 
 pkg_nkw_dpl 
 pkg_nkw_srw 

 Packages Body 

 Forms 6i 

 Reports 6i 

Linux

 Downloads 
PKG_NKW_HFS.SPS
Source Package Specification
Interface p/ UTL_FILE.
create or replace package pkg_nkw_hfs
timestamp '2006-07-07:10:10:10'
is
   ------------------------------------------------------------------
   -- 2006 DataPRO Developers - m@urelio
   ------------------------------------------------------------------
   -- Version: 2.0.2
   ------------------------------------------------------------------
   -- Collections, Records, Variables, Constants, Exceptions, Cursors
   ------------------------------------------------------------------
   gv_string  pkg_nkw_env.gv_char%TYPE;
   type tab_string is table of gv_string%TYPE index by binary_integer;
   gt_string  tab_string;
   gv_path    pkg_nkw_env.gv_hfspath%TYPE := pkg_nkw_env.gv_hfspath;
   gv_file    pkg_nkw_env.gv_hfsfile%TYPE := pkg_nkw_env.gv_hfsfile;
   gv_buffer  pkg_nkw_env.gv_plchar%TYPE;
   gv_lines   integer := 4096;
   gv_bytes   integer := 131072;
   ge_hfs     exception;
   gv_message pkg_nkw_env.gv_char%TYPE;
   ------------------------------------------------------------------
   -- FAPPEND
   ------------------------------------------------------------------
   procedure fappend(ft_string in gt_string%TYPE,
		     fv_file   in gv_file%TYPE	:= gv_file,
		     fv_path   in gv_path%TYPE	:= gv_path,
		     fv_lines  in gv_lines%TYPE := gv_lines,
		     fv_bytes  in gv_bytes%TYPE := gv_bytes);
   procedure fappend(fv_buffer in gv_buffer%TYPE,
		     fv_file   in gv_file%TYPE	:= gv_file,
		     fv_path   in gv_path%TYPE	:= gv_path);
   ------------------------------------------------------------------
   -- FWRITE
   ------------------------------------------------------------------
   procedure fwrite(ft_string in gt_string%TYPE,
		    fv_file   in gv_file%TYPE  := gv_file,
		    fv_path   in gv_path%TYPE  := gv_path,
		    fv_lines  in gv_lines%TYPE := gv_lines,
		    fv_bytes  in gv_bytes%TYPE := gv_bytes);
   procedure fwrite(fv_buffer in gv_buffer%TYPE,
		    fv_file   in gv_file%TYPE  := gv_file,
		    fv_path   in gv_path%TYPE  := gv_path);
   ------------------------------------------------------------------
   -- FREAD
   ------------------------------------------------------------------
   procedure fread(fv_file   in  gv_file%TYPE  := gv_file,
		   fv_path   in  gv_path%TYPE  := gv_path,
		   fv_lines  in  gv_lines%TYPE := gv_lines,
		   fv_bytes  in  gv_bytes%TYPE := gv_bytes,
		   ft_string out gt_string%TYPE);
end pkg_nkw_hfs;
© 2017 DataPRO Developers