Portal | Manuals | References | Downloads | Info | Programs | JCLs | Master the Mainframes
IBM Mainframe Computers Forums Index
 
Register
 
IBM Mainframe Computers Forums Index Mainframe: Search IBM Mainframe Forum: FAQ Memberlist Usergroups Profile Log in to check your private messages Log in
 

 

jcl for file transfer

 
Post new topic   Reply to topic    IBMMAINFRAMES.com Support Forums -> JCL & VSAM
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    Post subject: jcl for file transfer
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: 8593
Location: Back in jolly old England

PostPosted: Tue Aug 31, 2010 12:32 pm    Post subject:
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    Post subject: Following is the message I am getting in spool
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    Post subject:
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: 8593
Location: Back in jolly old England

PostPosted: Tue Aug 31, 2010 2:23 pm    Post subject:
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    Post subject:
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    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 SORTJOIN - Copy Matched and Unmatched... Steve Ironmonger DFSORT/ICETOOL 5 Tue Jan 17, 2017 4:26 pm
No new posts Copy RECFM =VB TO FB file with RECL =... sahil41352 DFSORT/ICETOOL 3 Wed Dec 28, 2016 11:29 pm
No new posts Add PD field from 2nd file to PD in 1st Sushant Garje DFSORT/ICETOOL 6 Thu Dec 01, 2016 4:32 pm
No new posts File Aid to File Manager conversion murali3955 IBM Tools 4 Thu Nov 24, 2016 3:41 pm
No new posts How to convert the VBM file to VB or... Sulabh Agrawal JCL & VSAM 4 Fri Nov 18, 2016 1:04 pm


Facebook
Back to Top
 
Mainframe Wiki | Forum Rules | Bookmarks | Subscriptions | FAQ | Tutorials | Contact Us