I want to copy a mvs file to my PC.. I have tried with the below code.
//JOBNAME JOB NOTIFY=&SYSUID,CLASS=A,MSGCLASS=X,MSGLEVEL=(1,1),
// REGION=0M
//STEP01 EXEC PGM=FTP
//OUTPUT DD SYSOUT=*
//SYSPRINT DD SYSOUT=*
//INPUT DD *
MVS IP ADDRESS
USER.ID(MVS)
PASSWORD
PUT 'USERID.NEW1.TXT' C:\MYPATH\DATA.TXT
QUIT
/*
spool output shows
'Invalid data set name "c:\mypath\data.txt". Use MVS Dsname conventions.'
But it is working fine with MVS to MVS dataset but not with PC. Can anyone suggest me what has to be done further.