Gracias a todos, ya he podido realizar el
traspase, el problema que me daba al final era que no tenia el mismo usuario. Lo
gracioso del tema es que no me daba dicho error, si no de una biblioteca que no
la encontraba.
Al final con un simple cpyf
se realiza la transferencia. Ahora montare un pequeño aplicativo para la selección
de archivos y de registros para el traspaso.
Ayer me comento un compañero del foro que
también lo que podía hacer era mediante un triggers,
puede ser interesante.
Un saludo y gracias.
-----Mensaje original-----
De: [EMAIL PROTECTED]
[mailto:[EMAIL PROTECTED] En
nombre de Pedro Pinedo
Enviado el: viernes, 02 de junio
de 2006 9:39
Para: [email protected]
Asunto: Re: Transferencias de
archivos entre iSeries por DDM
CRTDDMF FILE(&LIBPROD/&ODOBNM) +
RMTFILE(&LIBPROR/&ODOBNM) RMTLOCNAME(&IP *IP)
MONMSG MSGID(CPF0000)
ENDJRNPF FILE(&LIBPRUE/&ODOBNM)
JRN(&LIBPRUE/QSQJRN)
MONMSG MSGID(CPF0000)
CPYF
FROMFILE(&LIBPROD/&ODOBNM) +
TOFILE(&LIBPRUE/&ODOBNM) MBROPT(*REPLACE) +
FMTOPT(*MAP *DROP)
MONMSG MSGID(CPF0000)
STRJRNPF
FILE(&LIBPRUE/&ODOBNM) JRN(&LIBPRUE/QSQJRN) +
IMAGES(*BOTH)
MONMSG
MSGID(CPF0000)
Tal
vez este trozo de codigo te pueda ayudar.
Pedro
Pinedo Hernandez: Analista-Programador
Grupo Amcor Flexibles Hispania S.L.
Planta: Tobepal Logroño
Departamento de Informática / IT Department
tfno.:+34 941 28 60 90 - 941 03 01 39
fax: +34 941 20 75 43
26006 Logroño Spain
[EMAIL PROTECTED]
(quitar nospam del dominio, para enviar)
_______________________________________________ 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.