Portal | Manuals | References | Downloads | Info | Programs | JCLs | Mainframe wiki | Quick Ref
IBM Mainframe Computers Forums Index
 
Register
 
IBM Mainframe Computers Forums Index Mainframe: Search IBM Mainframe Forum: FAQ Memberlist Profile Log in to check your private messages Log in
 
JCL to transfer GDG thru FTP

 
Post new topic   Reply to topic    IBMMAINFRAMES.com Support Forums -> JCL & VSAM
View previous topic :: :: View next topic  
Author Message
khamarutheen

Active Member


Joined: 23 Aug 2005
Posts: 680
Location: NJ

PostPosted: Tue May 29, 2007 4:53 pm    Post subject: JCL to transfer GDG thru FTP
Reply with quote

Hi all,

I have a scenario as follows:

We have two servers named rh and wp . I have been asked to write a JCL to transfer the currently created GDG from rh to wp after i receive a mail ... I wrote the JCL but when i execute it , it is throwing an error saying as

Code:
EZA1450I IBM FTP CS V1R7                     
EZA1772I FTP: EXIT has been set.             
EZA1456I Connect to ?                       
EZA1736I   RH
EZA1553E Invalid port number. Open fails.   


So I dont see any error with my JCL ... To copy within the same server it's working fine ... I dont know what might be the error with that .. Can any one help me out in this?

Below is the JCL for your reference ...
Code:

//C5723GD JOB (834,9234,7),'WP56-756',CLASS=I,NOTIFY=&SYSUID     
//F5714001 EXEC PGM=FTP,PARM='(EXIT=08)'                           
//OUTPUT   DD SYSOUT=*                                             
//SYSPRINT DD SYSOUT=*                                             
//INPUT    DD *                                                   
  RY
  USERNAME
  ******                                                     
  TYPE E                                                           
  MODE B                                                           
  SITE CYL PRI=100 SEC=25 UNIT=CTAPE                               
  PUT 'MXT.MBY.C34ET.P000.MULTI.CXFILE(0)' +                       
      'MXT.MBY.C34ET.P000.MULTI.CXFILE(+1)'                       
  PUT 'MXT.MBY.C34ET.P000.MULTI.VTFILE(0) +                       
      'MXT.MBY.C34ET.P000.MULTI.VTFILE(+1)                         
Back to top
View user's profile Send private message

Devzee

Active Member


Joined: 20 Jan 2007
Posts: 684
Location: Hollywood

PostPosted: Tue May 29, 2007 6:32 pm    Post subject:
Reply with quote

Code:
EZA1450I IBM FTP CS V1R7                     
EZA1772I FTP: EXIT has been set.             
EZA1456I Connect to ?                       
EZA1736I   RH
EZA1553E Invalid port number. Open fails.


Connect to RH failing. Is your new FTP Server RH configured?
Back to top
View user's profile Send private message
khamarutheen

Active Member


Joined: 23 Aug 2005
Posts: 680
Location: NJ

PostPosted: Tue May 29, 2007 6:57 pm    Post subject: JCL to transfer GDG thru FTP
Reply with quote

Hi Dev,

It's configured and i am able to do FTP in RH & WP indivudually .. But to transfer between this both i am facing the problem !!!
Back to top
View user's profile Send private message
superk

Moderator Team Head


Joined: 26 Apr 2004
Posts: 4650
Location: Raleigh, NC, USA

PostPosted: Tue May 29, 2007 7:08 pm    Post subject: Re: JCL to transfer GDG thru FTP
Reply with quote

Quote:
Invalid port number


Have you tried specifying the proper port number?
Back to top
View user's profile Send private message
Devzee

Active Member


Joined: 20 Jan 2007
Posts: 684
Location: Hollywood

PostPosted: Tue May 29, 2007 7:08 pm    Post subject:
Reply with quote

You are doing FTP from RH to WP? Is this configured?

Also your JCL shows FTP to RY and your error message connect to RH.
Back to top
View user's profile Send private message
khamarutheen

Active Member


Joined: 23 Aug 2005
Posts: 680
Location: NJ

PostPosted: Tue May 29, 2007 7:11 pm    Post subject: JCL to transfer GDG thru FTP
Reply with quote

Superk,

Quote:

Have you tried specifying the proper port number?


Where should i need to specify ..

Devzee,
Code:
You are doing FTP from RH to WP? Is this configured?


Yes.

Quote:
Also your JCL shows FTP to RY and your error message connect to RH.
.

i am sorry it's RH only .. It's my mistake ...
Back to top
View user's profile Send private message
Devzee

Active Member


Joined: 20 Jan 2007
Posts: 684
Location: Hollywood

PostPosted: Tue May 29, 2007 7:15 pm    Post subject:
Reply with quote

How did you checked that the FTP configuration is setup ?
Back to top
View user's profile Send private message
khamarutheen

Active Member


Joined: 23 Aug 2005
Posts: 680
Location: NJ

PostPosted: Tue May 29, 2007 8:26 pm    Post subject: JCL to transfer GDG thru FTP
Reply with quote

Hi Dev,

No error with FTP configurations .. I am saying you that individual server FTP is running fine ...
Back to top
View user's profile Send private message
Devzee

Active Member


Joined: 20 Jan 2007
Posts: 684
Location: Hollywood

PostPosted: Wed May 30, 2007 7:42 am    Post subject:
Reply with quote

Quote:
No error with FTP configurations .. I am saying you that individual server FTP is running fine ...


Individual FTP server is running doesnt mean that they are connected.

Have you verified the FTP connection?
Back to top
View user's profile Send private message
GlobalGyan

New User


Joined: 31 Jan 2006
Posts: 28

PostPosted: Wed May 30, 2007 10:01 am    Post subject:
Reply with quote

I am not sure if 'RH' will work, you can try putting the IP address instead of RH.

Port number will be 21 by default. If your server is configured on a different port number then you need specify the port number after IP.

qw FTP for more

-GG
Back to top
View user's profile Send private message
View previous topic :: :: View next topic  
Post new topic   Reply to topic    IBMMAINFRAMES.com Support Forums -> JCL & VSAM All times are GMT + 6 Hours
Page 1 of 1

 

Search our Forum:

Similar Topics
Topic Author Forum Replies Posted
No new posts FTP data transfer from PC to Mainfram... AJAYREDDY All Other Mainframe Topics 8 Wed Aug 23, 2017 9:59 pm
No new posts How to transfer file password protect... chetanambi TSO/ISPF 8 Thu Apr 30, 2015 10:05 am
No new posts Using FTP Pro to transfer files to ma... Jay Villaverde TSO/ISPF 1 Thu May 01, 2014 8:05 pm
No new posts Question on using WS_FTP to transfer ... Jay Villaverde All Other Mainframe Topics 6 Mon Mar 10, 2014 6:51 pm
No new posts Transfer Mainframe files ( PS & P... Ed Goodman JCL & VSAM 11 Fri Mar 07, 2014 4:55 pm

Facebook
Back to Top
 
Job Vacancies | Forum Rules | Bookmarks | Subscriptions | FAQ | Polls | Contact Us