Creo que para ejecutar el mandato remoto desde ftp se usaba

QUOTE RCMD mandato  



Saludos
Jesus Busquets
Grespania, SA

Dario Heinze escribió:
en la pagina del foro hay documentos sobre los exit points... yo no he
realizado nada al respecto... solo se que se puede...

para denegar acceso a usuarios, registrar lo que hacen... entre otras
cosas... y todo esto lo maneja un programa...


  
-----Mensaje original-----
De:	gerardo.santillana [SMTP:[EMAIL PROTECTED]]
Enviado el:	Lunes, 06 de Junio de 2005 16:43
Para:	[email protected]
Asunto:	RE: obtener el nombre de un archivo en el IFS


tendras algun ejemplo,  no he usado los exit point

Gracias

Gerardo Santillana
IT Department
Delphi Mechatronic Systems
Phone USA  (956) 554 5832
Phone MX  01868 8128163   x.5832


-----Original Message-----
From: [EMAIL PROTECTED]
[mailto:[EMAIL PROTECTED]]On Behalf Of Dario Heinze
Sent: Monday, June 06, 2005 2:30 PM
To: [email protected]
Subject: RE: obtener el nombre de un archivo en el IFS


se me ocurre que agregando un exit point al FTP y controlando lo realizado
por el usuario podras disparte un programa en el as

Saludos,

Dario.-

    
-----Mensaje original-----
De:	gerardo.santillana [SMTP:[EMAIL PROTECTED]]
Enviado el:	Lunes, 06 de Junio de 2005 15:58
Para:	[email protected]
Asunto:	RE: obtener el nombre de un archivo en el IFS


Me contesto a mi mismo y por si a alguien le interesa asi fue como le
hice, lo unico que me falta es ver como ejecutar el programa
automaticamente al recibir el archivo por FTP, si alguien tiene una idea
se lo agradeceria.

CRTPF FILE(LIBGSTEST/IFSLIST)
      RCDLEN(50)             
      MBR(IFSMBR)            
      TEXT('IFS List of files')


STRQSH     CMD('LS -L /AIRROAD > +                      
             /QSYS.LIB/LIBGSTEST.LIB/IFSLIST.FILE/IFSMBR+
             .MBR')                                     

RCVF       RCDFMT(IFSLIST)                         
MONMSG     MSGID(CPF0864) EXEC(GOTO CMDLBL(END))   

CHGVAR     VAR(&PPATH) VALUE('/AIRROAD/' *TCAT &IFSLIST)   

CPYFRMSTMF FROMSTMF(&PPATH) +                            
             TOMBR('/QSYS.LIB/LIBGSTEST.LIB/AIRROADTMP.F+
             ILE/AIRROADTMP.MBR') MBROPT(*REPLACE) +     
             ENDLINFMT(*CRLF) TABEXPN(*NO)               

etc....


Saludos



Gerardo Santillana
IT Department
Delphi Mechatronic Systems
Phone USA  (956) 554 5832
Phone MX  01868 8128163   x.5832


-----Original Message-----
From: [EMAIL PROTECTED]
[mailto:[EMAIL PROTECTED]]On Behalf Of gerardo.santillana
Sent: Monday, June 06, 2005 11:40 AM
To: [email protected]
Subject: obtener el nombre de un archivo en el IFS



Saludos a todos

  de antemano agradezo la ayuda o idea que me puedan dar,  un cliente
      
nos
    
va a estar enviando por FTP un archivo y lo va a copiar a un directorio
del IFS,  despues un programa va a copiar este archivo a un archivo
fisico, quisiera saber si hay algun comando o API que me permita obtener
el nombre de ese archivo ya que va a estar variando y como le puedo
      
hacer
    
para que el programa se ejecute automaticamente al momento de recibir el
archivo

Gracias

Gerardo Santillana



      
**************************************************************************
    
**************

Note: The information contained in this message may be privileged and
confidential and thus protected from disclosure. If the reader of this
message is not the intended recipient, or an employee or agent
      
responsible
    
for delivering this message to the intended recipient, you are hereby
notified that any dissemination, distribution or copying of this
communication is strictly prohibited. If you have received this
communication in error, please notify us immediately by replying to the
message and deleting it from your computer. Thank you.


      
**************************************************************************
    
**************

__________________________________________________
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://coyote.combios.es/mailman/listinfo/forum.help400


      
**************************************************************************
    
**************

Note: The information contained in this message may be privileged and
confidential and thus protected from disclosure. If the reader of this
message is not the intended recipient, or an employee or agent
      
responsible
    
for delivering this message to the intended recipient, you are hereby
notified that any dissemination, distribution or copying of this
communication is strictly prohibited. If you have received this
communication in error, please notify us immediately by replying to the
message and deleting it from your computer. Thank you.


      
**************************************************************************
    
**************

__________________________________________________
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://coyote.combios.es/mailman/listinfo/forum.help400
      
__________________________________________________
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://coyote.combios.es/mailman/listinfo/forum.help400

**************************************************************************
**************

Note: The information contained in this message may be privileged and
confidential and thus protected from disclosure. If the reader of this
message is not the intended recipient, or an employee or agent responsible
for delivering this message to the intended recipient, you are hereby
notified that any dissemination, distribution or copying of this
communication is strictly prohibited. If you have received this
communication in error, please notify us immediately by replying to the
message and deleting it from your computer. Thank you.

**************************************************************************
**************

__________________________________________________
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://coyote.combios.es/mailman/listinfo/forum.help400
    
__________________________________________________
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://coyote.combios.es/mailman/listinfo/forum.help400
  

Responder a