Comprueba el fichero del script la longitud de registro que tiene.
CRTSRCPF FILE(QTEMP/FTPENV) RCDLEN(152) MBR(ENTRADA)
y asi mismo comprueba el miembro de salida donde estan las sentencias
ejecutadas y los errores dados.
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:
<[email protected]>
Date:
11/11/2008 20:56
Subject:
CONSULTA SOBRE FTP
Estimados, Disculpas por esta pregunta, desde un 520 me conecto via FTP a
un
820, los dos con V5R4. Estoy utilizando un script donde tengo que ejecutar
una sentencia muuuuy larga en el 820.
Por ejemplo (el comando es un ejemplo, pero me pasa lo mismo):
QUOTE RCMD WRKSPLF SELECT(MAURICIO *ALL *ALL *ALL *ALL *ALL) JOB(*ALL)
PERIOD((*AVAIL *BEGIN)) OUTPUT(*PRINT)
Pero el sistema solo ve la primera linea, en la salida encuentro esto:
Entre un submandato FTP.
> QUOTE RCMD WRKSPLF SELECT(MAURICIO *ALL *ALL *ALL *ALL *ALL) JOB(*ALL)
250 Command WRKSPLF SELECT(MAURICIO *ALL *ALL *ALL *ALL *ALL) JOB(*ALL)
successful.
Entre un submandato FTP.
> PERIOD((*AVAIL ******** **************
Submandato 'PERIOD((*AVA' no válido.
Como puedo hacer para que entienda el sistema que la sentencia abarca
hasta
el siguiente renglon.
En la OCL se continuaba abajo, pero aqui no se que hacer.
Similar problema tengo con SYSCMD...
Gracias por su ayuda.
MAURICIO HERRERA
__________________________________________________
Forum.HELP400 es un servicio m&#225;s de NEWS/400.
&#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&#225;s de NEWS/400.
&#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