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
 

 

FTP: Tape to Tape

 
Post new topic   Reply to topic    IBMMAINFRAMES.com Support Forums -> IBM Tools
View previous topic :: :: View next topic  
Author Message
vasanthz

Global Moderator


Joined: 28 Aug 2007
Posts: 1458
Location: Azeroth

PostPosted: Thu Apr 22, 2010 2:34 pm    Post subject: FTP: Tape to Tape
Reply with quote

Hi,

I am trying to FTP a tape file to a Tape.
I used the below FTP job.

Code:
//XXXXX    EXEC PGM=FTP,REGION=2M,PARM='(EXIT TIMEOUT 900'       
//SYSFTPD  DD DISP=SHR,DSN=some dataset   
//SYSTCPD  DD DISP=SHR,DSN=another dataset
//FILEIN   DD DSN=XXXXX.YYYYY.ZXZZZ,DISP=SHR                             
//SYSPRINT  DD SYSOUT=*                                         
//OUTPUT   DD  SYSOUT=*                                         
//SYSPRINT DD  SYSOUT=*                                         
//INPUT    DD  *                                                 
DESTINATION ADDRESS                                 
USER ID                                                         
PASSWORD                                                         
LOCSTAT                                                         
STAT                                                             
SITE RECFM=VB LRECL=512 BLKSIZE=0                               
SITE UNIT=CART                                                   
SITE DATAC=TAPEVTS STOR=TAPEVTS                                 
BINARY                                                           
PUT //DD:FILEIN 'DESTINATION TAPE'             
CL                                                               
QUIT                                                             
/*                                                               

But the job gives an error
Code:
.EZA1736I PUT //DD:FILEIN 'DESTINATION TAPE'
.EZA1685W Invalid local file identifier



The JCL DD statement excuted fine and there was no DATASET NOT FOUND JCL ERROR. But the FTP was unable to recognise the dataset.

When tried PUT 'XXXXX.YYYYY.ZXZZZ' 'DESTINATION TAPE' the error message was

Code:
.EZA2324I 'XXXXX.YYYYY.ZXZZZ' is not on a direct access volume.
.EZA1684W Local file not found.


How can the FTP be asked to refer tape volumes.?

Could you please shed some light on this.

P.S - The input tape cannot be copied to DASD as its a pretty big dataset.
Thanks,
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: Thu Apr 22, 2010 4:11 pm    Post subject:
Reply with quote

I vaguely, and I do mean a few years ago recall that the AUTOMOUNT parameter was needed for a tape input file.

Although things may well have changed, it is the only thing that I can think of.
Back to top
View user's profile Send private message
vasanthz

Global Moderator


Joined: 28 Aug 2007
Posts: 1458
Location: Azeroth

PostPosted: Thu Apr 22, 2010 4:29 pm    Post subject:
Reply with quote

Thanks for responding.

The STAT command has the below log output,

Code:
.EZA1701I >>>STAT                                                       
.211-Server FTP talking to host ::ffff:xxxxxxxxx, port 19923         
.211-User: yyyyyyy  Working directory: yyyyyyy.                         
.211-The control connection has transferred 122 bytes                   
.211-There is no current data connection.                               
.211-The next data connection will be actively opened                   
.211-to host ::ffff:xxxxxxx, port 19923,                           
.211-using Mode Stream, Structure File, type ASCII, byte-size 8         
.211-Automatic recall of migrated data sets.                           
.211-Automatic mount of direct access volumes.                         
.211-Auto tape mount is allowed.                                       
.211-Inactivity timer is set to 300                                     
.211-Timer FTPKEEPALIVE is set to 60                                   
.211-Timer FIFOOPENTIME is set to 60                                   
.211-Timer FIFOIOTIME is set to 20



The log says Automatic tape mount is allowed though icon_eek.gif
Back to top
View user's profile Send private message
vasanthz

Global Moderator


Joined: 28 Aug 2007
Posts: 1458
Location: Azeroth

PostPosted: Thu Apr 22, 2010 4:55 pm    Post subject:
Reply with quote

Also the SYSFTPD DD has the configuration,

Code:
AUTOTAPEMOUNT TRUE            ; automatic mount of TAPE volumes   


Still the same failure sterb050.gif
Back to top
View user's profile Send private message
superk

Moderator Team Head


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

PostPosted: Thu Apr 22, 2010 4:59 pm    Post subject: Reply to: FTP: Tape to Tape
Reply with quote

Code:
PUT //DD:


Is your z/OS release level high enough to support this function?
Back to top
View user's profile Send private message
vasanthz

Global Moderator


Joined: 28 Aug 2007
Posts: 1458
Location: Azeroth

PostPosted: Thu Apr 22, 2010 5:21 pm    Post subject:
Reply with quote

Kevin,
Thanks for responding.

We have
Code:
ZOS390RL S N z/OS   01.09.00


Not sure if this is good enough though. icon_confused.gif

Is the command support related to FTP version rather than Z/OS version?


Thanks,
Back to top
View user's profile Send private message
Robert Sample

Global Moderator


Joined: 06 Jun 2008
Posts: 7932
Location: Bellevue, IA

PostPosted: Thu Apr 22, 2010 5:46 pm    Post subject:
Reply with quote

You need to consult with your site support group -- there may be a security problem preventing FTP from accessing tape drives, or the issue may be something else entirely. I've done FTP from a tape before so I know it can be done.
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 -> IBM Tools All times are GMT + 6 Hours
Page 1 of 1

 

Search our Forum:

Similar Topics
Topic Author Forum Replies Posted
No new posts TAPE VERIFY utility?? MrExtraordinare JCL & VSAM 3 Fri Dec 09, 2016 10:57 pm
No new posts stacking files on a tape Pedro JCL & VSAM 7 Wed Aug 17, 2016 11:11 pm
No new posts Reading selected volumes of a multi-v... RickBig JCL & VSAM 6 Wed Jul 13, 2016 7:26 pm
No new posts How to copy Tape dataset to unix main... chaky All Other Mainframe Topics 4 Fri Jul 08, 2016 2:52 am
No new posts TABLE vs TAPE pshongal DB2 3 Tue Mar 08, 2016 1:02 pm


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