Results 1 to 7 of 7

Thread: < FTP File Transfer From IBM to PC >

  1. #1

    Thread Starter
    _______ HeSaidJoe's Avatar
    Join Date
    Jun 1999
    Location
    Canada
    Posts
    3,946
    Looking for sample code on moving a file from an IBM queue to a PC and vice versa. [ FTP ]
    "A myth is not the succession of individual images,
    but an integerated meaningful entity,
    reflecting a distinct aspect of the real world."

    ___ Adolf Jensen

  2. #2
    Fanatic Member Gaffer's Avatar
    Join Date
    Nov 2000
    Location
    London
    Posts
    828
    Phew, 3 FTP posts on the forum today! I am working on a proces based on FTP at the moment (it's to and from UNIX though). The Inet control is the best (and really only bi-directional) I have found. Theres' a tutorial on this site...


  3. #3

    Thread Starter
    _______ HeSaidJoe's Avatar
    Join Date
    Jun 1999
    Location
    Canada
    Posts
    3,946

    <?>

    Thanks, but I am afraid those tutorials do not touch on carrying a conversation between and IBM Host and a PC.

    Wayne
    "A myth is not the succession of individual images,
    but an integerated meaningful entity,
    reflecting a distinct aspect of the real world."

    ___ Adolf Jensen

  4. #4
    Guest

    Hoi,

    IF the IBM host supports TCP/IP, it will certainly support FTP with any type of host...Use the FTP-client you prefer.
    or do you want to write your own app ?
    What's a queue in relation with a IBM host, the mainframe is running a FTP-server and will send the file
    you request it to send....

    Anything else you want to know ? I work at a Mainframe....





  5. #5

    Thread Starter
    _______ HeSaidJoe's Avatar
    Join Date
    Jun 1999
    Location
    Canada
    Posts
    3,946

    <?>

    Guus:

    I sent an email asking our system analysis how to get around it and this is his reply.


    I think that the current location of the file sent to the
    mainframe is in the HTF and is stripped by the batch
    application. The only way to get data into the HTF is by
    using IND$. This could be changed to use an FTP
    command to send the file to a VSE library on the host.


    I have never touched anything like this and I need to get through this so I can learn how this movement of files works. I basically don't have a clue about ftp or inet and I would really appreciate a sample of code which would move a file to the IBM and move a file from the ibm to a PC.

    If that's too much to ask, it's not a problem as I know time is not a factor that everyone has a lot of.

    Thanks,
    Wayne

    "A myth is not the succession of individual images,
    but an integerated meaningful entity,
    reflecting a distinct aspect of the real world."

    ___ Adolf Jensen

  6. #6
    Guest

    Hoi,

    Red Thread has already developed some ftp-coding, see
    http://forums.vb-world.net/showthrea...threadid=50641
    maybe he will share some coding with you....

    The mainframe i'm working on is running another OS,
    so i can't help you very much....

    But, it looks like it supports FTP.
    In general, your pc-app has to contact the system and
    supply a userid and password.
    Then, you issue FTP-commands like 'QUOTE SITE parameter' etc to setup the working environment for the VSE-system.
    (You will have to contact a mainframe specialist to get that information, at least you need a list of the FTP-subcommands it supports.)

    Finaly, you issue a GET or PUT command to activate the file-transfer.

    I have no experience (yet) with this type of coding....



  7. #7

    Thread Starter
    _______ HeSaidJoe's Avatar
    Join Date
    Jun 1999
    Location
    Canada
    Posts
    3,946

    <?>

    Thanks....
    "A myth is not the succession of individual images,
    but an integerated meaningful entity,
    reflecting a distinct aspect of the real world."

    ___ Adolf Jensen

Posting Permissions

  • You may not post new threads
  • You may not post replies
  • You may not post attachments
  • You may not edit your posts
  •  



Click Here to Expand Forum to Full Width