Every FTP client uses different words for the same options. No, looks to me like you want MODE S TYPE I
Don't delete your existing files until this either works or you are sure it failed. You might be able to accomplish something similar using OPUT/OGET but I am not the least bit of an expert. The trick is to convert what you have now in "funny" records into one long stream of contiguous bytes, and then convert that to FB/1024 records. Charles -----Original Message----- From: IBM Mainframe Discussion List [mailto:IBM-MAIN@LISTSERV.UA.EDU] On Behalf Of Gadi Ben-Avi Sent: Tuesday, October 16, 2018 9:32 AM To: IBM-MAIN@LISTSERV.UA.EDU Subject: Re: fixing a tersed file. By binary stream mode do you mean using Mode B Type E -----Original Message----- From: IBM Mainframe Discussion List <IBM-MAIN@LISTSERV.UA.EDU> On Behalf Of Charles Mills Sent: Tuesday, October 16, 2018 7:21 PM To: IBM-MAIN@LISTSERV.UA.EDU Subject: Re: fixing a tersed file. Take a look at the data with an editor. You should see one of two things: - A succession of 1020 (+ LLBB) length records. - Alternating 1020 and 4 byte (+ LLBB) records. If the former then I think you are out of luck. If the latter, try FTPing binary stream mode to a UNIX or Windows platform. Then FTP back to MVS in binary stream mode, first specifying QUOTE SITE RECFM=FB LRECL=1024 Good luck! Charles -----Original Message----- From: IBM Mainframe Discussion List [mailto:IBM-MAIN@LISTSERV.UA.EDU] On Behalf Of Gadi Ben-Avi Sent: Tuesday, October 16, 2018 8:51 AM To: IBM-MAIN@LISTSERV.UA.EDU Subject: Re: fixing a tersed file. FTP didn't work -----Original Message----- From: IBM Mainframe Discussion List <IBM-MAIN@LISTSERV.UA.EDU> On Behalf Of Tom Marchant Sent: Tuesday, October 16, 2018 6:37 PM To: IBM-MAIN@LISTSERV.UA.EDU Subject: Re: fixing a tersed file. On Tue, 16 Oct 2018 14:43:02 +0000, Gadi Ben-Avi wrote: >I used FTP to transfer a bunch of tersed files from one LPAR to another. >By mistake, the destination files were created as VB1024 What do the bad data sets look like? Are they 1024 byte records? If so, then FTP probably wrote the first 1020 bytes to the first record. The remaining 4 bytes of the first source record would have become the first four bytes of the second record followed by the first 1016 bytes of the second source record.... I would probably try to FTP the bad data sets to FB1024 data sets and see if that fixes it. I can't think of an MVS program that could do it, but maybe the DFSORT wizards have an idea. -- Tom Marchant ---------------------------------------------------------------------- For IBM-MAIN subscribe / signoff / archive access instructions, send email to lists...@listserv.ua.edu with the message: INFO IBM-MAIN . הודעה זו נשלחה אליך מטעם חברה בקבוצת מלם תים וייתכן שהיא מוגנת תחת סודיות מסחרית. כל הצעה, התחייבות או מצג מטעם החברה, מחייבים מסמך נפרד וחתום על ידי מורשה החתימה של החברה. החברה רשאית לנטר כל תכתובת העוברת בשרתיה והיא לא תישא באחריות לכל נזק, ו/או אובדן, שיבוש או פגיעה במידע כלשהו שנגרם מסיבות של תקיפה חיצונית ו/או זדונית על הארגון. ---------------------------------------------------------------------- For IBM-MAIN subscribe / signoff / archive access instructions, send email to lists...@listserv.ua.edu with the message: INFO IBM-MAIN ---------------------------------------------------------------------- For IBM-MAIN subscribe / signoff / archive access instructions, send email to lists...@listserv.ua.edu with the message: INFO IBM-MAIN . הודעה זו נשלחה אליך מטעם חברה בקבוצת מלם תים וייתכן שהיא מוגנת תחת סודיות מסחרית. כל הצעה, התחייבות או מצג מטעם החברה, מחייבים מסמך נפרד וחתום על ידי מורשה החתימה של החברה. החברה רשאית לנטר כל תכתובת העוברת בשרתיה והיא לא תישא באחריות לכל נזק, ו/או אובדן, שיבוש או פגיעה במידע כלשהו שנגרם מסיבות של תקיפה חיצונית ו/או זדונית על הארגון. ---------------------------------------------------------------------- For IBM-MAIN subscribe / signoff / archive access instructions, send email to lists...@listserv.ua.edu with the message: INFO IBM-MAIN ---------------------------------------------------------------------- For IBM-MAIN subscribe / signoff / archive access instructions, send email to lists...@listserv.ua.edu with the message: INFO IBM-MAIN