[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

RE: RCMD in Job Log



   I was just wondering if anyone knew why it would not be logging on the
   target system. I know that it runs on the source system. I thought
   maybe it was submitting the command to a batch job but that doesn't
   seem likely because a CHGJOB works so not sure why the command is not
   showing up in the logs.


   From: ftpapi-bounces@xxxxxxxxxxxxxxxxxxxxxx
   [mailto:ftpapi-bounces@xxxxxxxxxxxxxxxxxxxxxx] On Behalf Of Scott
   Klement
   Sent: Friday, March 25, 2011 11:33 AM
   To: HTTPAPI and FTPAPI Projects
   Subject: Re: RCMD in Job Log


   hi Alan,
   FTPAPI is running on your source system.
   It has no control or influence on what the FTP server on the target
   system decides to log or not log.
   On 3/24/2011 5:18 PM, Alan Campin wrote:
   >
   >     I have written an FTP of objects between our systems and if I
   have an
   >     error it displays a job log on the target system for debugging
   >     purposes but when I issue a FTP_RmtCmd and an error occurs
   nothing
   >     shows up in the target job log.
   >
   >     (Both systems AS400).
   >
   >
   >     For example, I run the following command and in this case the
   library
   >     XX1 is invalid.
   >
   >
   >     FTPOBJ OBJ((IL_DEV/TS0046 *SRVPGM XX1))
   >
   >
   >     If I display the job log on the source system I see messages
   telling
   >     me that the to library does not exist but nothing in the target
   job
   >     log.
   >
   >
   >     Is this something that FTP does for security? Not logging the
   command
   >     to be executed in the job log?
   >
   >
   >     Some other explanation? Since the command is running on the
   target
   >     system, you would think it would show up in the job log of the
   target.
   >     Everything else seems to show up.
   >
   >
   >     At the beginning of the transfer I am issuing a
   >
   >
   >     CHGJOB LOG(4 00 *SECLVL) LOGCLPGM(*YES)
   >
   >
   >     To make sure everything is being logged.
   >
   >
   >     Thanks for any help.
   >
   >
   >
   >
   >
   ----------------------------------------------------------------------
   -
   > This is the FTPAPI mailing list.  To unsubscribe, please go to:
   > [1]http://www.scottklement.com/mailman/listinfo/ftpapi
   >
   ----------------------------------------------------------------------
   -
   ----------------------------------------------------------------------
   -
   This is the FTPAPI mailing list.  To unsubscribe, please go to:
   [2]http://www.scottklement.com/mailman/listinfo/ftpapi
   ----------------------------------------------------------------------
   -
   ______________________________________________________________________

   No virus found in this message.
   Checked by AVG - [3]www.avg.com
   Version: 10.0.1204 / Virus Database: 1498/3528 - Release Date:
   03/25/11

References

   1. http://www.scottklement.com/mailman/listinfo/ftpapi
   2. http://www.scottklement.com/mailman/listinfo/ftpapi
   3. http://www.avg.com/
-----------------------------------------------------------------------
This is the FTPAPI mailing list.  To unsubscribe, please go to:
http://www.scottklement.com/mailman/listinfo/ftpapi
-----------------------------------------------------------------------