AlexHarley666
Programmer
Hello my friends:
I have the next code:
Var_Archivo Utl_File.File_Type;
Var_Ubicacion VarChar2(100):='/usr/tango/v10/pp/bdpfile/';
Var_Existe Boolean;
Var_Largo_Archivo Number(8);
Var_TamañoBloque Number(8);
Var_Linea VarChar2(10000):=Null;
Var_Largo Number(4):=64;
Var_NombArchivo VarChar2(50):=Null;
...
Begin
...
Var_NombArchivo := 'aaa'
Utl_File.FGetAttr(Var_Ubicacion, Var_NombArchivo, Var_Existe, Var_Largo_Archivo, Var_TamañoBloque);
If Var_Existe Then
Var_Archivo := Utl_File.FOpen(Var_Ubicacion,Var_NombArchivo,'r');
Begin
Utl_File.Get_Line(Var_Archivo,Var_Linea,Var_Largo);
...
I got problems at "Utl_File.Get_Line(Var_Archivo,Var_Linea,Var_Largo)"
with ORA-29284 error, but, only for 1000 bytes or more file size.
Please, I need your help for this problem...
Thanks in advance,
ALEX
I have the next code:
Var_Archivo Utl_File.File_Type;
Var_Ubicacion VarChar2(100):='/usr/tango/v10/pp/bdpfile/';
Var_Existe Boolean;
Var_Largo_Archivo Number(8);
Var_TamañoBloque Number(8);
Var_Linea VarChar2(10000):=Null;
Var_Largo Number(4):=64;
Var_NombArchivo VarChar2(50):=Null;
...
Begin
...
Var_NombArchivo := 'aaa'
Utl_File.FGetAttr(Var_Ubicacion, Var_NombArchivo, Var_Existe, Var_Largo_Archivo, Var_TamañoBloque);
If Var_Existe Then
Var_Archivo := Utl_File.FOpen(Var_Ubicacion,Var_NombArchivo,'r');
Begin
Utl_File.Get_Line(Var_Archivo,Var_Linea,Var_Largo);
...
I got problems at "Utl_File.Get_Line(Var_Archivo,Var_Linea,Var_Largo)"
with ORA-29284 error, but, only for 1000 bytes or more file size.
Please, I need your help for this problem...
Thanks in advance,
ALEX