Que yo sepa no existe la posibilidad de renombrar un campo.

Yo, en estos casos, lo que hago es generar un fichero con el campo nuevo, 
hacer un cpyf con *NOCHK, borrar el anterior, renombrar el nuevo, y 
generar los logicos.

Para sacar los campos de los ficheros y de los logicos.

DSPFFD     FILE(&BIBLIOT/&FICHERO) OUTPUT(*OUTFILE) +
             OUTFILE(QTEMP/FICHEROV) 

DSPFD      FILE(&BIBLIOT/&FICHERO) TYPE(*ACCPTH)
             OUTPUT(*OUTFILE) FILEATR(*LF) + 
             OUTFILE(QTEMP/FICHCLAV) 

Pedro Pinedo Hernandez:  Analista-Programador 
Grupo Amcor Flexibles Hispania S.L. 
Departamento de Informática / IT Department 
tfno.:+34 941 28 60 90 - 941 03 01 39
fax: +34 941 03 01 39
Avd. Burgos 67-95
26006 Logroño Spain 
[email protected] 
(quitar nospam del dominio, para enviar) 




From:
[email protected]
To:
"forum.help400" <[email protected]>
Date:
18/03/2009 09:23
Subject:
Renombrar campo de una tabla desde iSeries Navigator




        Buenos días, tengo unas tablas creadas desde el entorno del 
Navigator, sin el fuente DDS. Y ahora necesito renombrar un campo que me 
da problemas con la "Ñ". Pero directamente no me deja, ¿Alguien sabe si 
hay alguna manera de hacerlo? 

Gracias. Un saludo. 
__________________________________________________
Forum.HELP400 es un servicio m&amp;#225;s de ServerNEWS.
&amp;#169; Publicaciones Help400, S.L. - Todos los derechos reservados
http://www.help400.es
_____________________________________________________

Para darte de baja visita la siguente URL:
http://listas.combios.es/mailman/listinfo/forum.help400


______________________________________________________

AMCOR FLEXIBLES - LEADING THROUGH INNOVATION
______________________________________________________

CAUTION - This message may contain privileged and confidential information 
intended only for the use of the addressee named above. If you are not the 
intended recipient of this message you are hereby notified that any use, 
dissemination, distribution or reproduction of this message is prohibited. If 
you have received this message in error please notify AMCOR FLEXIBLES 
immediately. Any views expressed in this message are those of the individual 
sender and may not necessarily reflect the views of AMCOR FLEXIBLES.
__________________________________________________
Forum.HELP400 es un servicio m&amp;#225;s de ServerNEWS.
&amp;#169; Publicaciones Help400, S.L. - Todos los derechos reservados
http://www.help400.es
_____________________________________________________

Para darte de baja visita la siguente URL:
http://listas.combios.es/mailman/listinfo/forum.help400

Responder a