Ver Mensaje Individual
  #1  
Viejo 29/09/09, 11:01:34
leticia_gutierrez leticia_gutierrez is offline
Junior Member
 
Fecha de Ingreso: feb 2009
Mensajes: 11
Escribir Fichero en Servidor

Hola,

Necesito escribir un fichero en el servidor. Para ello utilizo OPEN DATASET, TRANSFER, CLOSE DATASET, de la siguiente manera:
* Abrir/Crear el fichero:
open dataset l_fullpath
for output in text mode.

loop at g_t_datos_fich into g_wa_t_datos_fich.

l_linefile = g_wa_t_datos_fich.
data: l_length type i.
l_length = strlen( l_linefile ).
* Transferir datos al fichero
transfer l_linefile to l_fullpath length l_length.

clear g_wa_t_datos_fich.

endloop.

* Cerrar Fichero.
close dataset l_fullpath.

endif.

El problema que tengo es que no escribe la línea completa sino que la corta. Cada línea a escribir en el fichero consta de 768 caracteres, hay algún límite máximo que no permita escribir la línea entera?

Un saludo.
Responder Con Cita