Charles > The underlying problem is that FTP has the world's worst RECFM and LRECL defaults, something like RECFM=U, LRECL=1024 (LRECL from recollection).
The FTP LRECL default is 256 for both client and server. http://publibz.boulder.ibm.com/cgi- bin/bookmgr_OS390/BOOKS/F1A1B4A0/18.77 The FTP RECFM default is VB for both client and server. http://publibz.boulder.ibm.com/cgi- bin/bookmgr_OS390/BOOKS/F1A1B4A0/18.100 > Did somebody say use LOCSITE? Unfortunately LOCSITE is not effective with //DD: Not unless you have been receiving private communications which the rest of us have not seen or it's a contributor whose post hasn't appeared in the IBM- MAIN archives. - If your problem concerns the way z/OS Communications Server FTP behaves, you may find the expertise you need in the IBMTCP-L list. For IBMTCP-L subscribe / signoff / archive access instructions, send email to lists...@vm.marist.edu with the message: INFO IBMTCP-L Chris Mason On Sat, 5 Mar 2011 14:49:20 -0800, Charles Mills <charl...@mcn.org> wrote: >> want to support what your customers do > >You got it! > >> issue an OPEN TYPE=J > >Unfortunately I'm not doing the OPEN, FTP is. > >The problem is not with the DISP per se. The underlying problem is that FTP >has the world's worst RECFM and LRECL defaults, something like RECFM=U, >LRECL=1024 (LRECL from recollection). > >I have several strategies for dealing with the problem and the strategy I >choose depends on among other things whether we are in a PDS member >DISP=NEW/MOD situation. The bug was in choosing the wrong strategy due to >the logic error I described. My strategies are good -- I was just choosing >the wrong one. > >Did somebody say use LOCSITE? Unfortunately LOCSITE is not effective with >//DD: > >As the FTP is z/OS to z/OS a clever FTP client would pick up the dataset >attributes from the server but z/OS FTP is not that clever. > >I am contemplating instead the use of IEFQMREQ to modify the JFCB to add >LRECL and RECFM but I have not yet committed to that route. > >Charles ---------------------------------------------------------------------- For IBM-MAIN subscribe / signoff / archive access instructions, send email to lists...@bama.ua.edu with the message: GET IBM-MAIN INFO Search the archives at http://bama.ua.edu/archives/ibm-main.html