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.
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.

Comentario