‎2008 Jan 08 6:16 AM
Q] `What do we mean by operating system commands
Like we use in the OPEN DATASET STATEMENT
OPEN DATASET <dsn> FILTER<filt>.
Q] What all system commands are available with M/S & Unix----or rather how to see them?
‎2008 Jan 08 6:29 AM
Check these links.
http://help.sap.com/saphelp_nw04s/helpdata/en/df/4eec39cf3d970be10000000a11402f/content.htm
Using different OS command
If you define the command for each operating system using transactions SM69 (You can test it with SM49) and then call it using SXPG_COMMAND_EXECUTE which contains a parameter defining the operating system (SY-OPSYS) then it does not matter which operating system is running, the function
module always calls the correct version of the command.
So, for example you could define a command 'OS_COMMAND' which deleted a file. This would have one version for Dos which said 'del', and a second version for unix which said 'rm'. The correct command would be specified by the call to SXPG_COMMAND_EXECUTE because the operating system
parameter differentiates between the two commands
Check this link for Unix Command from ABAP
‎2008 Jan 08 6:29 AM
Hai,
Operating system commands :
VMS Any input line that begins with a dollar sign, $, is considered to be a DCL command. These commands are executed by spawning a subprocess.
UNIX Any input line that begins with a percent sign, %, is considered to be a UNIX command and are passed on to the shell.
check beloe links.
http://www.smd.qmul.ac.uk/statgen/dcurtis/lc/how2os.html
http://help.sap.com/saphelp_46c/helpdata/EN/87/56d00722c011d2954a0000e8353423/content.htm
the below links are useful for system commands with M/S & Unix.
http://en.wikibooks.org/wiki/Guide_to_Unix/Commands/System_Information
http://en.wikipedia.org/wiki/Unix
With Regards,
Sowjanya.B.