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

RE: help - IFS



   This looks like a good way to go I tried adding it to a rpg program
   c eval p_dirent = readdir(d)
   c dow p_dirent <> *NULL
   C* ...do whatever we like with the contents
   C* of the dirent structure, here...
   c eval p_dirent = readdir(d)
   c enddo
   but I am not sure how to define "D", would you know, I tried replacing
   it with '/QDLS/GIEL'
   -----Original Message-----
   From: [1]ftpapi-bounces@xxxxxxxxxxxxxxxxxxxxxx
   [mailto:ftpapi-bounces@xxxxxxxxxxxxxxxxxxxxxx] On Behalf Of Craig
   Jacobsen
   Sent: 16 August 2012 12:47 PM
   To: HTTPAPI and FTPAPI Projects
   Subject: RE: help - IFS
   Giel,
   I would just use readdir using Scott's IFS stuff.
   Here is a reference:
   [2]http://www.scottklement.com/rpg/ifs_ebook/readdir.html
   Craig
   -----Original Message-----
   From: [3]ftpapi-bounces@xxxxxxxxxxxxxxxxxxxxxx
   [mailto:ftpapi-bounces@xxxxxxxxxxxxxxxxxxxxxx] On Behalf Of Giel van
   der Merwe
   Sent: Wednesday, August 15, 2012 3:58 PM
   To: [4]ftpapi@xxxxxxxxxxxxxxxxxxxxxx
   Subject: help - IFS
   I get sent a XML file that is placed on the IFS in a dedicated library,
   but the file name changes, what would you recommend I do to get the
   file name, so that I could process in my RPGLE program, any ideas?
   Giel van der Merwe
   #######################################################################
   ##############
   The provisions of Sections 11,12, and 13 of the Electronic
   Communications and Transactions Act, 25 of 2002, in so far as
   e-contracting is concerned is expressly excluded and contracted out by
   Barloworld South Africa (Pty) Ltd ("Barloworld") and no data message or
   electronic communication will be recognised as having legal contractual
   status as per the aforementioned provisions under any circumstances.
   All contracts concluded by Barloworld, its Business Units, Divisions
   and Subsidiaries will only be legally binding and recognised once
   reduced to physical writing and physically signed by a duly authorised
   representative of Barloworld.
   All other provisions of the Electronic Communications and Transactions
   Act, 25 of 2002 are accepted.
   #######################################################################
   ##############
   Note:
   This message is for the named person's use only. It may contain
   confidential, proprietary or legally privileged information. No
   confidentiality or privilege is waived or lost by any mistransmission.
   If you receive this message in error, please immediately delete it and
   all copies of it from your system, destroy any hard copies of it and
   notify the sender. You must not, directly or indirectly, use, disclose,
   distribute, print, or copy any part of this message if you are not the
   intended recipient. Avis and any of its subsidiaries each reserve the
   right to monitor all e-mail communications through its networks.
   Any views expressed in this message are those of the individual sender,
   except where the message states otherwise and the sender is authorized
   to state them to be the views of any such entity.
   Thank You.
   #######################################################################
   ##############
   Confidentiality Notice: This e-mail message, including any attachments,
   is for the sole use of the intended recipient(s) and may contain
   confidential and privileged information. Any unauthorized review, use,
   disclosure or distribution is prohibited. If you are not the intended
   recipient, please contact the sender by reply e-mail and destroy all
   copies of the original message. Unless expressly stated in this e-mail,
   nothing in this message or any attachment should be construed as a
   digital or electronic signature.
   -----------------------------------------------------------------------
   This is the FTPAPI mailing list. To unsubscribe, please go to:
   [5]http://www.scottklement.com/mailman/listinfo/ftpapi
   -----------------------------------------------------------------------

   [6][cid:112081613554102102@mail40.mimecast.co.za]
   _______________________________________________________________________

   The provisions of Sections 11,12, and 13 of the Electronic
   Communications and Transactions Act, 25 of 2002, in so far as
   e-contracting is concerned is expressly excluded and contracted out by
   Barloworld South Africa (Pty) Ltd ("Barloworld") and no data message or
   electronic communication will be recognised as having legal contractual
   status as per the aforementioned provisions under any circumstances.
   All contracts concluded by Barloworld, its Business Units, Divisions
   and Subsidiaries will only be legally binding and recognised once
   reduced to physical writing and physically signed by a duly authorised
   representative of Barloworld.

   All other provisions of the Electronic Communications and Transactions
   Act, 25 of 2002 are accepted.
   _______________________________________________________________________

    Note:This message is for the named person's use only.  It may contain
      confidential, proprietary or legally privileged information.  No
   confidentiality or privilege is waived or lost by any mistransmission.
   If you receive this message in error, please immediately delete it and
    all copies of it from your system, destroy any hard copies of it and
       notify the sender.  You must not, directly or indirectly, use,
    disclose, distribute, print, or copy any part of this message if you
    are not the intended recipient. Avis and any of its subsidiaries each
     reserve the right to monitor all e-mail communications through its
        networks.Any views expressed in this message are those of the
    individual sender, except where the message states otherwise and the
   sender is authorized to state them to be the views of any such entity.
                                  Thank You.
   _______________________________________________________________________

References

   1. mailto:ftpapi-bounces@xxxxxxxxxxxxxxxxxxxxxx
   2. http://www.scottklement.com/rpg/ifs_ebook/readdir.html
   3. mailto:ftpapi-bounces@xxxxxxxxxxxxxxxxxxxxxx
   4. mailto:ftpapi@xxxxxxxxxxxxxxxxxxxxxx
   5. http://www.scottklement.com/mailman/listinfo/ftpapi
   6. https://mail40.mimecast.co.za/mimecast/click?account=CSA20A3&code=d001e3a2312a9cbc299186b9131d350f

GIF image

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