CALL "C$MAKEDIR" USING directoryName GIVING returnCode |
directoryName | PIC X(n) | Specifies the name of the directory to be created. Both full and relative paths are allowed. |
0 | Operation successful. Directory has been created. |
1 | Operation failed. Directory has not been created. |
call "c$makedir" using "c:\tmp\newtemp" giving retCode if retCode = 0 display message "Directory successfully created" else display message "Wrong path" end-if. |