On Wed, 8 May 2019 15:59:08 -0400, Mike Stramba <mikestra...@gmail.com> wrote:

>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.
> 
I believe you can:
    X = BPXWDYN( 'alloc dd(INFILE) recfm(F,B) lrecl(80) 
path(''/u/mike/test.XMI'') msg(WTP)' )
    RECEIVE INDDNAME(INDD)

(Be prepared to answer the prompt)

-- gil

----------------------------------------------------------------------
For IBM-MAIN subscribe / signoff / archive access instructions,
send email to lists...@listserv.ua.edu with the message: INFO IBM-MAIN

Reply via email to