View previous topic :: View next topic |
Author |
Message |
ANDY Beginner
Joined: 07 Feb 2004 Posts: 127 Topics: 67
|
Posted: Wed Dec 07, 2005 2:24 am Post subject: FTP change the files type, how to solve it ? |
|
|
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 |
|
|
kolusu Site Admin
Joined: 26 Nov 2002 Posts: 12370 Topics: 75 Location: San Jose
|
Posted: Wed Dec 07, 2005 6:18 am Post subject: |
|
|
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 |
|
|
Bill Dennis Advanced
Joined: 03 Dec 2002 Posts: 579 Topics: 1 Location: Iowa, USA
|
Posted: Wed Dec 07, 2005 5:12 pm Post subject: |
|
|
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 |
|
|
ANDY Beginner
Joined: 07 Feb 2004 Posts: 127 Topics: 67
|
Posted: Fri Dec 09, 2005 4:33 am Post subject: |
|
|
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 |
|
|
semigeezer Supermod
Joined: 03 Jan 2003 Posts: 1014 Topics: 13 Location: Atlantis
|
Posted: Fri Dec 09, 2005 7:57 am Post subject: |
|
|
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 |
|
|
ANDY Beginner
Joined: 07 Feb 2004 Posts: 127 Topics: 67
|
Posted: Sat Dec 10, 2005 9:56 pm Post subject: |
|
|
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 |
|
|
|
|