You can also specify -W and seqparms= on the cp command to specify DCB and space--and not have to pre-allocate the dataset.
First Tennessee Bank Mainframe Technical Support -----Original Message----- From: IBM Mainframe Discussion List <IBM-MAIN@LISTSERV.UA.EDU> On Behalf Of Seymour J Metz Sent: Wednesday, May 08, 2019 4:40 PM To: IBM-MAIN@LISTSERV.UA.EDU Subject: Re: ind$file - omvs copy equivalent [External Email] Yes, but you can FTP to an MVS file, which you can allocate with attributes. -- Shmuel (Seymour J.) Metz http://mason.gmu.edu/~smetz3 ________________________________________ From: IBM Mainframe Discussion List <IBM-MAIN@LISTSERV.UA.EDU> on behalf of Paul Gilmartin <0000000433f07816-dmarc-requ...@listserv.ua.edu> Sent: Wednesday, May 8, 2019 4:36 PM To: IBM-MAIN@LISTSERV.UA.EDU Subject: Re: ind$file - omvs copy equivalent On Wed, 8 May 2019 20:09:29 +0000, Seymour J Metz wrote: >What happens if you pre-allocate the file as FB 80 and do a binary FTP? > You can't pre-allocate a UNIX file with attributes. >________________________________________ >From: Mike Stramba >Sent: Wednesday, May 8, 2019 3:59 PM >Is there is an OMVS "copy-to-mvs-fb80" equivalent to an "ind$file" upload ? > >Scenario : > >1) While in OMVS : ftp (receive) an XMI file to the z/os system. (z/os 2.3) > >2) Now copy (cp ?) to a FB80 file. > >I've tried "cp test.XMI '//user.FB80', but am getting an empty >user.FB80 file. > >3) then issue RECEIVE against the FB80 file. > >If I do an IND$FILE transfer directly to the FB80 dataset, then >RECEIVE INDA(FB80) .. is working. -- gil ---------------------------------------------------------------------- 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 FIRST TENNESSEE Confidentiality notice: This e-mail message, including any attachments, may contain legally privileged and/or confidential information. If you are not the intended recipient(s), or the employee or agent responsible for delivery of this message to the intended recipient(s), you are hereby notified that any dissemination, distribution, or copying of this e-mail message is strictly prohibited. If you have received this message in error, please immediately notify the sender and delete this e-mail message from your computer. ---------------------------------------------------------------------- For IBM-MAIN subscribe / signoff / archive access instructions, send email to lists...@listserv.ua.edu with the message: INFO IBM-MAIN