IBM Mainframe Forum Index
 
Log In
 
IBM Mainframe Forum Index Mainframe: Search IBM Mainframe Forum: FAQ Register
 

jcl for file transfer


IBM Mainframe Forums -> JCL & VSAM
Post new topic   Reply to topic
View previous topic :: View next topic  
Author Message
ankoo

New User


Joined: 12 Jun 2010
Posts: 31
Location: India

PostPosted: Tue Aug 31, 2010 12:11 pm
Reply with quote

I am using the following jcl to transfer file

//R9SSHC6 EXEC PGM=FTP,PARM='TN3270.IPC-SPECIFIC.ALLSTATE.COM (EXIT=8'
//SYSPRINT DD SYSOUT=*
//SYSIN DD *
userid password
PUT 'PWSX.R9SSHC6.FTP5'
GET 'PWSX.R9SSHC6.FTP4'
QUIT
/*
/*

But not able to transfer file

If any body is having a working JCL please provide the same.
Thanks and regards
Back to top
View user's profile Send private message
expat

Global Moderator


Joined: 14 Mar 2007
Posts: 8797
Location: Welsh Wales

PostPosted: Tue Aug 31, 2010 12:32 pm
Reply with quote

Rather than ask for someone elses efforts, what have you done to correct your own error.

You post no output, nothing to let people see what is happening, and then you expect us to drop everything and give you some JCL.

Engage brain - Maybe the problem will still be exactly the same with whatever JCL you use. Have you considered it may be something wrong at your site.
Back to top
View user's profile Send private message
ankoo

New User


Joined: 12 Jun 2010
Posts: 31
Location: India

PostPosted: Tue Aug 31, 2010 2:06 pm
Reply with quote

Thanks for reply expat
In spool I am getting the following msg-:
EZA1736I FTP TN3270.IPC-SPECIFIC.ALLSTATE.COM (EXIT=8
EZY2640I Using 'SYS1.TCPPARMS(FTPDATA)' for local site configuration parameters.
EZA1450I IBM FTP CS V1R10
EZA1772I FTP: EXIT has been set.
EZA1554I Connecting to: tnnbdc.ALLSTATE.COM 10.195.251.21 port: 21.
220-A2FTPIPD IBM FTP CS V1R10 at MVSCSYS.allstate.com, 06:32:58 on 2010-08-31.
220 Connection will close if idle for more than 5 minutes.
EZA1459I NAME (TN3270.IPC-SPECIFIC.ALLSTATE.COM:R9SSHC6):
EZA1701I >>> USER R9SSHC6
331 Send password please.
EZA1701I >>> PASS
230 R9SSHC6 is logged on. Working directory is "R9SSHC6.".
EZA1460I Command:
EZA1736I PUT 'PWSX.R9SSHC6.FTP4'
EZA1701I >>> SITE FIXrecfm 80 LRECL=80 RECFM=FB BLKSIZE=800
200 SITE command was accepted
EZA1701I >>> PORT 10,195,251,25,206,197
200 Port request OK.
EZA1701I >>> STOR 'PWSX.R9SSHC6.FTP4'
125-FTP Server unable to obtain EXCLUSIVE use of PWSX.R9SSHC6.FTP4 which is held
125 Data set PWSX.R9SSHC6.FTP4 is not available
450 Data set PWSX.R9SSHC6.FTP4 is allocated to another job and is unavailable fo
EZA1735I Std Return Code = 27450, Error Code = 00002
EZA1701I >>> QUIT
221 Quit command received. Goodbye.
Back to top
View user's profile Send private message
smijoss

Active User


Joined: 30 Aug 2007
Posts: 114
Location: pune

PostPosted: Tue Aug 31, 2010 2:21 pm
Reply with quote

hope you read this in your trace !!!!

125-FTP Server unable to obtain EXCLUSIVE use of PWSX.R9SSHC6.FTP4 which is held
125 Data set PWSX.R9SSHC6.FTP4 is not available
450 Data set PWSX.R9SSHC6.FTP4 is allocated to another job and is unavailable fo
EZA1735I Std Return Code = 27450, Error Code = 00002
Back to top
View user's profile Send private message
expat

Global Moderator


Joined: 14 Mar 2007
Posts: 8797
Location: Welsh Wales

PostPosted: Tue Aug 31, 2010 2:23 pm
Reply with quote

smijoss wrote:
hope you read this in your trace !!!!
Why should he, he has you to do it for him icon_biggrin.gif
Back to top
View user's profile Send private message
ankoo

New User


Joined: 12 Jun 2010
Posts: 31
Location: India

PostPosted: Tue Aug 31, 2010 2:42 pm
Reply with quote

Thanks smijoss
Back to top
View user's profile Send private message
View previous topic :: :: View next topic  
Post new topic   Reply to topic View Bookmarks
All times are GMT + 6 Hours
Forum Index -> JCL & VSAM

 


Similar Topics
Topic Forum Replies
No new posts Compare 2 files and retrive records f... DFSORT/ICETOOL 3
No new posts FTP VB File from Mainframe retaining ... JCL & VSAM 8
No new posts Extract the file name from another fi... DFSORT/ICETOOL 6
No new posts How to split large record length file... DFSORT/ICETOOL 10
No new posts Extracting Variable decimal numbers f... DFSORT/ICETOOL 17
Search our Forums:

Back to Top