View previous topic :: View next topic
|
Author |
Message |
vasanthz
Global Moderator
Joined: 28 Aug 2007 Posts: 1742 Location: Tirupur, India
|
|
|
|
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 |
|
|
expat
Global Moderator
Joined: 14 Mar 2007 Posts: 8797 Location: Welsh Wales
|
|
|
|
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 |
|
|
vasanthz
Global Moderator
Joined: 28 Aug 2007 Posts: 1742 Location: Tirupur, India
|
|
|
|
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 |
|
Back to top |
|
|
vasanthz
Global Moderator
Joined: 28 Aug 2007 Posts: 1742 Location: Tirupur, India
|
|
|
|
Also the SYSFTPD DD has the configuration,
Code: |
AUTOTAPEMOUNT TRUE ; automatic mount of TAPE volumes |
Still the same failure |
|
Back to top |
|
|
superk
Global Moderator
Joined: 26 Apr 2004 Posts: 4652 Location: Raleigh, NC, USA
|
|
|
|
Is your z/OS release level high enough to support this function? |
|
Back to top |
|
|
vasanthz
Global Moderator
Joined: 28 Aug 2007 Posts: 1742 Location: Tirupur, India
|
|
|
|
Kevin,
Thanks for responding.
We have
Code: |
ZOS390RL S N z/OS 01.09.00 |
Not sure if this is good enough though.
Is the command support related to FTP version rather than Z/OS version?
Thanks, |
|
Back to top |
|
|
Robert Sample
Global Moderator
Joined: 06 Jun 2008 Posts: 8697 Location: Dubuque, Iowa, USA
|
|
|
|
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 |
|
|
|