Hi,
In MF COBOL Unix Environment , we used Call SYSTEM to execute Unix Commands from COBOL program.( Mostly used to move files )
In Visual COBOL on Windows ( Oracle DataBase and Powershell scripts ) , how will i execute above commands by using Call SYSTEM.
string 'move ' delimited by size 'D:\\DataFiles\\*' delimited by size 'D:\\OutDataFiles' delimited by size X"00" delimited by size
into WS-SHELL-CMD
end-string.
call 'system' using WS-SHELL-CMD.
We will be using Windows command prompt commands to execute instead of Unix commands ?
Please advise if there is something incorrect or missing.