I get this error:
Ý02.873¨ Couldn't create directory: Failure
Here is the job output:
cozsftp> lzopts servercp=IBM-1047,clientcp=IBM-1047
clientcp=IBM-1047 servercp=IBM-1047
cozsftp> lzopts mode=binary
mode=binary
cozsftp> ls /+mode=binary
/+mode=binary
cozsftp> ls /+recfm=FB,lrecl=80,blksize=0
/+recfm=FB,lrecl=80,blksize=0
cozsftp> ls /+dsntype=library
/+dsntype=library
cozsftp> ls /+space=cyl.13.5,dir=219
/+space=cyl.13.5,dir=219
cozsftp> mkdir //USERID.IVP.TEST.PDS5
Co:Z SFTP version: 2.2.0 (5.0p1) 2012-09-01
Copyright (C) Dovetailed Technologies, LLC. 2011. All rights reserved.
Ý02.873¨ Couldn't create directory: Failure
ZosUtilÝI¨: SSH process times: elapsed=2 secs, user cpu=0.100000 secs,
Here is the end of the error.log info:
Ý37.486¨ lstat name "/+space=cyl.13.5,dir=219"
Ý37.486¨ debug1: request 11: sent attrib have 0x0
Ý37.487¨ debug3: request 12: mkdir
Ý37.487¨ mkdir name "//USERID.IVP.TEST.PDS5" mode 0777
ZosExitInterfaceÝT¨: -> checkCommandWithFileArg(MKD //USERID.IVP.TEST.PDS5)
ZosExitInterfaceÝT¨: <- checkCommandWithFileArg(true (module not available))
Ý37.492¨ debug3: request 12: sent status 4
Ý37.492¨ sent status Failure
Ý37.513¨ debug1: read eof
Ý37.513¨ session closed for local user USERID from...
Unable to create a PDS with mkdir
Re: Unable to create a PDS with mkdir
mkdir doesn't currently support creation of a PDS or PDS/E.
But, you can create a PDS or PDS/E by setting up the dynamic allocation parameters as you have and then put a put for dsn(member).
Creating the first member will create the PDS.
But, you can create a PDS or PDS/E by setting up the dynamic allocation parameters as you have and then put a put for dsn(member).
Creating the first member will create the PDS.
Re: Unable to create a PDS with mkdir
Thanks for the reply. The put is a workaround and does allocate the file as you mentioned. Any plans to add mkdir and rmdir as commands in a future release?