MVSFORUMS.com Forum Index MVSFORUMS.com
A Community of and for MVS Professionals
 
 FAQFAQ   SearchSearch   Quick Manuals   RegisterRegister 
 ProfileProfile   Log in to check your private messagesLog in to check your private messages   Log inLog in 

FTP change the files type, how to solve it ?

 
Post new topic   Reply to topic   printer-friendly view    MVSFORUMS.com Forum Index -> Job Control Language(JCL)
View previous topic :: View next topic  
Author Message
ANDY
Beginner


Joined: 07 Feb 2004
Posts: 127
Topics: 67

PostPosted: Wed Dec 07, 2005 2:24 am    Post subject: FTP change the files type, how to solve it ? Reply with quote

Hello,

I dump at system A and ftp it into system B, I found the dump file type has a little change as following. It cased I can not restore the dump file at B system.

Can someone tell me how can I ftp the dump file without change the file type. I use binary when ftp files.

MYUSER.TEST.DUMP

System A:

Management class . . : STANDARD
Storage class . . . : FMSC001
Volume serial . . . : DCAE26
Device type . . . . : 3390
Data class . . . . . : **None**
Organization . . . : PS
Record format . . . : U
Record length . . . : 0
Block size . . . . : 27998
1st extent cylinders: 1
Secondary cylinders : 9
Data set name type :

Sysyem B:

Management class . . : STANDARD
Storage class . . . : BASE
Volume serial . . . : DMTP03
Device type . . . . : 3390
Data class . . . . . : **None**
Organization . . . : PS
Record format . . . : VB
Record length . . . : 256
Block size . . . . : 6233
1st extent tracks . : 1
Secondary tracks . : 1
Data set name type :
_________________
cheers,
Andy
Back to top
View user's profile Send private message
kolusu
Site Admin
Site Admin


Joined: 26 Nov 2002
Posts: 12370
Topics: 75
Location: San Jose

PostPosted: Wed Dec 07, 2005 6:18 am    Post subject: Reply with quote

ANDY,

You cannot FTP LOADLIBS as is (from the DCB info you provided, RECFM=U &LRECL=0)

Try this , Copy the system A file using TSO XMIT. XMIT will convert it FB recfm and lrecl of 80 blksize with a blksize of 3120. Now FTP this dataset using binary ftp

Hope this helps...

Cheers

Kolusu
_________________
Kolusu
www.linkedin.com/in/kolusu
Back to top
View user's profile Send private message Send e-mail Visit poster's website
Bill Dennis
Advanced


Joined: 03 Dec 2002
Posts: 579
Topics: 1
Location: Iowa, USA

PostPosted: Wed Dec 07, 2005 5:12 pm    Post subject: Reply with quote

And by the way, restore the LOADLIB on System B using TSO RECEIVE command on the FTP dataset.
_________________
Regards,
Bill Dennis

Disclaimer: My comments on this foorum are my own and do not represent the opinions or suggestions of any other person or business entity.
Back to top
View user's profile Send private message
ANDY
Beginner


Joined: 07 Feb 2004
Posts: 127
Topics: 67

PostPosted: Fri Dec 09, 2005 4:33 am    Post subject: Reply with quote

Sorry,

System A is not defined to XMIT file to system B. How to do it by using other way ?
_________________
cheers,
Andy
Back to top
View user's profile Send private message
semigeezer
Supermod


Joined: 03 Jan 2003
Posts: 1014
Topics: 13
Location: Atlantis

PostPosted: Fri Dec 09, 2005 7:57 am    Post subject: Reply with quote

Read the documentation on XMIT and RECEIVE. You can XMIT (and RECEIVE) to (from) a file instead of the network. See OUTDA() and INDA() parameters.
Back to top
View user's profile Send private message Visit poster's website
ANDY
Beginner


Joined: 07 Feb 2004
Posts: 127
Topics: 67

PostPosted: Sat Dec 10, 2005 9:56 pm    Post subject: Reply with quote

Yes, I can transfer the file into new format (FB recfm and lrecl of 80 blksize with a blksize of 3120) by XMIT used for ftp. How can I change the file back to the original file format (RECFM=U &LRECL=0) used for restore ?
_________________
cheers,
Andy
Back to top
View user's profile Send private message
Display posts from previous:   
Post new topic   Reply to topic   printer-friendly view    MVSFORUMS.com Forum Index -> Job Control Language(JCL) All times are GMT - 5 Hours
Page 1 of 1

 
Jump to:  
You cannot post new topics in this forum
You cannot reply to topics in this forum
You cannot edit your posts in this forum
You cannot delete your posts in this forum
You cannot vote in polls in this forum


MVSFORUMS
Powered by phpBB © 2001, 2005 phpBB Group