> -----Original Message-----
> From: IBM Mainframe Discussion List 
> [mailto:[EMAIL PROTECTED] On Behalf Of thirumurugan
> Sent: Wednesday, November 30, 2005 2:50 PM
> To: [email protected]
> Subject: FTP issues
> 
> 
> Hi all kind help pls
> 
> I wanted to transfer SYS1.SIEALNKE dataset from one
> Z/OS to another.. Let me state it as from MVSA to MVSB
>  following are the steps I followed
>    1. Created a dump of the dataset SYS1.SIEALNKE
> (which is in MVSA) in the name of THIRU.SIEALNKE using
> the utility ADRDSSU.
>    2. FTPied MVSA from MVSB and using the  parameter 
>         LOCSITE PRI=50 SEC=20 CY BLOCKSIZE=27998 REC=U
> 
>         BIN
>         GET SIEALNKE
>   
>       The file was successfully transfered.
>    3. Now i tried to restore the dataset SIEALNKE
> using the utility ADRDSSU in MVSB, but i facing the
> below error
> ADR389E (001)-IORT (01), INVALID INPUT ON DDNAME DASD,
> INPUT DATA SET NOT PRODUCED BY DFDSS OR DFSMSDSS
> ADR415W (001)-TDDS (02), NO DATA SETS WERE COPIED,
> DUMPED, OR RESTORED FROM ANY VOLUME
> 
> kindly help me to correct this issue 

Recfm=U doesn't transfer very well. What I've done in the past, when
going from MVS to MVS, is include the command:

STRU R

before the PUT or GET which does the transfer. This command seems to be
unique to MVS and it will properly transfer physical blocks, maintaing
the blocks.

====

Another possibility is to use the XMIT command to create an FB/80 unload
of the library, transmit that in BINary mode to another FB/80 at the
other end, then doing a RECEIVE.

XMIT (node,id) DSN('SYS1.SIEALNKE') OUTDSN(THIRU.SIEALNKE) NOLOG
NONOTIFY SYSOUT(Z)

replace "node" with your system's SMF id. Replace "id" with your TSO id.

Now, ftp that file, in binary, to another sequential file with

FTP other.mvs
USER
PASSWORD
BIN
QUOTE SITE LRECL=80 RECFM=FB PRI=nn SEC=nn CYLINDERS
PUT THIRU.SIEALNKE
QUIT

Now, on the other MVS under TSO, issue the command:

RECEIVE INDATASET(THIRU.SIEALNKE)
RESTORE DSN('SYS1.SIEALNKE')

--
John McKown
Senior Systems Programmer
UICI Insurance Center
Information Technology

This message (including any attachments) contains confidential
information intended for a specific individual and purpose, and its'
content is protected by law.  If you are not the intended recipient, you
should delete this message and are hereby notified that any disclosure,
copying, or distribution of this transmission, or taking any action
based on it, is strictly prohibited.
 

----------------------------------------------------------------------
For IBM-MAIN subscribe / signoff / archive access instructions,
send email to [EMAIL PROTECTED] with the message: GET IBM-MAIN INFO
Search the archives at http://bama.ua.edu/archives/ibm-main.html

Reply via email to