Buenas tardes, tengo un fichero en el pc que deseo renommbralo desde el
as400, el fichero se llama por ejemplo ped455.txt y quiero renombrarlo en
455ped.txt tengo el cl siguiente:
PGM (&ped &NDO)
DCL VAR(&ped) TYPE(*CHAR) LEN(3)
DCL VAR(&NDO) TYPE(*CHAR) LEN(8)
STRPCO PCTA(*NO)
MONMSG MSGID(CPF0000)
STRPCCMD PCCMD('C:\xxxx\TRANSFER\A.BAT') +
PAUSE(*NO)
STRPCCMD PCCMD('REN C:\xxx\Ped *bcat &ndo *tcat '.txt ' *bCAT &ndo
*TCAT &ped *TCAT '.TXT') PAUSE(*NO)
ENDPGM
No me hace nada.Alguna sugerencia?.Gracias
__________________________________________________
Forum.HELP400 es un servicio más de NEWS/400.
© 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