|
-
Jan 30th, 2001, 08:27 AM
#1
Thread Starter
_______
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
-
Jan 30th, 2001, 08:36 AM
#2
Fanatic Member
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...
-
Jan 30th, 2001, 11:14 AM
#3
Thread Starter
_______
<?>
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
-
Jan 30th, 2001, 12:40 PM
#4
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....
-
Jan 30th, 2001, 12:58 PM
#5
Thread Starter
_______
<?>
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
-
Jan 30th, 2001, 01:29 PM
#6
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....
-
Jan 30th, 2001, 01:51 PM
#7
Thread Starter
_______
"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
-
Forum Rules
|
Click Here to Expand Forum to Full Width
|