Darn....thought I had pasted actual results for you Below is those results
, , ,>>> PASS, ,230 UKLANRX is logged on. Working directory is "UKLANRX."., ,Command:, mkdir 'uklanrx.jcl.cntlx' (like 'uklanrx.jcl.cntl' ,>>> SITE PDSTYPE=PDS RECFM=FB BLKSIZE=5680 DIRECTORY=130 LRECL=80 PRIMARY=120, , SECONDARY=0 TRACKS, ,200 SITE command was accepted, ,>>> MKD 'uklanrx.jcl.cntlx', ,257 "'UKLANRX.JCL.CNTLX'" created., ,Command:, -----Original Message----- From: IBM Mainframe Discussion List [mailto:[email protected]] On Behalf Of Hansen, Dave L - Eagan, MN Sent: Wednesday, July 24, 2013 1:09 PM To: [email protected] Subject: Help with FTP MKD using LIKE? Dear FTP Friends, I have been moving z/OS PDS datasets using FTP between two z/OS V1R13 systems. I was told I don't have to pre-allocate the datasets if I use LIKE with MKD. I tried: MKD 'VPS.PARMLIB1' - LIKE 'VPS.PARMLIB3' CD 'VPS.PARMLIB1' LCD 'VPS.PARMLIB1' MPUT * QUIT This didn't work: EZA1736I MKD 'VPS.PARMLIB1' - EZA1542I Usage: MKDIR directory .(like local_mvs_directory. EZA1735I Std Return Code = 44000, Error Code = 00007 I tried: MKD 'VPS.PARMLIB1' LIKE 'VPS.PARMLIB3' CD 'VPS.PARMLIB1' LCD 'VPS.PARMLIB1' MPUT * QUIT This didn't work: EZA1736I MKD 'VPS.PARMLIB1' LIKE 'VPS.PARMLIB3' EZA1542I Usage: MKDIR directory .(like local_mvs_directory. EZA1735I Std Return Code = 44000, Error Code = 00007 I tried: MKD "VPS.PARMLIB1" "(LIKE 'VPS.PARMLIB3'" CD "VPS.PARMLIB1" LCD "VPS.PARMLIB1" MPUT * QUIT This didn't work: EZA1736I MKD "VPS.PARMLIB1" "(LIKE 'VPS.PARMLIB3'" EZA1542I Usage: MKDIR directory .(like local_mvs_directory. EZA1735I Std Return Code = 44000, Error Code = 00007 I tried: MKD "VPS.PARMLIB1 (LIKE 'VPS.PARMLIB3'" CD "VPS.PARMLIB1" LCD "VPS.PARMLIB1" MPUT * QUIT This didn't work: EZA1736I MKD "VPS.PARMLIB1 (LIKE 'VPS.PARMLIB3'" EZA1701I >>> MKD VPS.PARMLIB1 (LIKE 'VPS.PARMLIB3' 501 A qualifier in "VPS.PARMLIB1 (LIKE 'VPS.PARMLIB3'" is more than 8 characters EZA1735I Std Return Code = 44501, Error Code = 00002 OK, What am I missing? Many thanks in advance. Dave ---------------------------------------------------------------------- For IBM-MAIN subscribe / signoff / archive access instructions, send email to [email protected] with the message: INFO IBM-MAIN ---------------------------------------------------------------------- For IBM-MAIN subscribe / signoff / archive access instructions, send email to [email protected] with the message: INFO IBM-MAIN
