Page 1 of 1

how to incorporate ftp macro in jcl?

PostPosted: Wed Jan 04, 2017 7:48 pm
by SKANDA
Hi all,

I have tried macro for doing FTP from mainframe to pc ,using start recording and stop recording options.But it doesn't work.
In the first step of my jcl wil have three dataset , in the second step i want to incorporate the macro for doing FTP.
Please give your ideas.

Thanks,
Skanda

Re: how to incorporate ftp macro in jcl?

PostPosted: Wed Jan 04, 2017 7:55 pm
by Robert Sample
Your post is missing almost everything needed to provide you an answer.

Is the macro running on your 3270 emulator? If so, you are not going to be able to invoke it from the mainframe.

Furthermore, having FTP on a mainframe going to a PC works if -- AND ONLY IF -- the PC is a server, not a desktop as servers run software that most desktops do not even have installed.

Re: how to incorporate ftp macro in jcl?

PostPosted: Wed Jan 04, 2017 8:45 pm
by NicC
You keep posting but not answering questions raised i.e. the last paragraph of Robert's reply, above. Failure to answer this question means that any suggestion given on the forum is pure speculation.

Saying something does not work is meaningless unless you show how it does not work.

Re: how to incorporate ftp macro in jcl?

PostPosted: Thu Jan 05, 2017 1:18 pm
by SKANDA
Hi all,

Actually the macro is running in pcomm.
Actions-->start recording macro --> given a name for macro --> option 6 in ispf panel --> actions -->file receive from host--> giving destination file name and all
--> after transfer completed --> stop recording.
Now if I want to run that macro again I couldn't. I guess it because of the file name collapsed while running for the second time.
This is the issue I have faced.

please let me know if you required any other details.

Many Thanks,
Skanda