Try this example that is run from the MVS side... //U2MOCOPY JOB (USS2MVS),CLASS=A,MSGCLASS=X,MSGLEVEL=(1,1), // REGION=1M,NOTIFY=&SYSUID //* //* BATCH TSO: OCOPY HFS file to MVS //* //USSTMP EXEC PGM=IKJEFT01 //INHFS DD PATHOPTS=(ORDONLY),PATH='/u/userid/.profile' //INHF2 DD PATHOPTS=(ORDONLY),PATH='/etc/profile' //INHF3 DD PATHOPTS=(ORDONLY),PATH='/etc/ssh/ssh_known_hosts' //OUTMVS DD DISP=SHR,DSN=USERID.USS.$HOME(DPROFILE) //OUTMV2 DD DISP=SHR,DSN=USERID.USS.ETC(PROFILE) //OUTMV3 DD DISP=SHR,DSN=USERID.USS.ETC.SSH(SSHKHOST) //SYSTSPRT DD SYSOUT=* //SYSTSIN DD * OCOPY INDD(INHFS) OUTDD(OUTMVS) TEXT CONVERT(YES) PATHOPTS(USE) OCOPY INDD(INHF2) OUTDD(OUTMV2) TEXT CONVERT(YES) PATHOPTS(USE) OCOPY INDD(INHF3) OUTDD(OUTMV3) TEXT CONVERT(YES) PATHOPTS(USE) /*
On Tue, Oct 27, 2015 at 12:36 PM, Cameron Seay <[email protected]> wrote: > What is the correct syntax to move a file from USS to MVS? I am using: > cp file.name "//MVS_data_set(member)" but it's not working. > > I sent this to the IBM MAIN listserv but I don't think my account is > working correctly. > > ---------------------------------------------------------------------- > For LINUX-390 subscribe / signoff / archive access instructions, > send email to [email protected] with the message: INFO LINUX-390 or > visit > http://www.marist.edu/htbin/wlvindex?LINUX-390 > ---------------------------------------------------------------------- > For more information on Linux on System z, visit > http://wiki.linuxvm.org/ > ---------------------------------------------------------------------- For LINUX-390 subscribe / signoff / archive access instructions, send email to [email protected] with the message: INFO LINUX-390 or visit http://www.marist.edu/htbin/wlvindex?LINUX-390 ---------------------------------------------------------------------- For more information on Linux on System z, visit http://wiki.linuxvm.org/
