how to incorporate ftp macro in jcl?



Discuss about all tools related to Mainframes but usable in a PC/Computer like Mainframe Simulators, Emulators, Abend Assist etc...

how to incorporate ftp macro in jcl?

Postby SKANDA » Wed Jan 04, 2017 7:48 pm

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
SKANDA
 
Posts: 30
Joined: Thu Aug 04, 2016 7:50 pm
Has thanked: 17 times
Been thanked: 0 time

Re: how to incorporate ftp macro in jcl?

Postby Robert Sample » Wed Jan 04, 2017 7:55 pm

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.
Robert Sample
Global moderator
 
Posts: 3720
Joined: Sat Dec 19, 2009 8:32 pm
Location: Dubuque, Iowa, USA
Has thanked: 1 time
Been thanked: 279 times

Re: how to incorporate ftp macro in jcl?

Postby NicC » Wed Jan 04, 2017 8:45 pm

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.
The problem I have is that people can explain things quickly but I can only comprehend slowly.
Regards
Nic
NicC
Global moderator
 
Posts: 3025
Joined: Sun Jul 04, 2010 12:13 am
Location: Pushing up the daisies (almost)
Has thanked: 4 times
Been thanked: 136 times

Re: how to incorporate ftp macro in jcl?

Postby SKANDA » Thu Jan 05, 2017 1:18 pm

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
SKANDA
 
Posts: 30
Joined: Thu Aug 04, 2016 7:50 pm
Has thanked: 17 times
Been thanked: 0 time


Return to Simulators & Emulators

 


  • Related topics
    Replies
    Views
    Last post