Show TOC

Function documentationParameters for the Command Line Call Locate this document in the navigation structure

 

The sapcpe program gets information about the name of the source and target directory, as well as the name of the files to be copied fromthe parameters of the command row.

The parameters are slightly different for UNIX and Windows operating systems.

  • Parameters for calling the command line in Windows, UNIX, and IBM i:

    sapcpe [<profile-parameters>] [<control-parameters>]

    profile-parameters =

    { [ nr=<nr> ]

    [ name=<SID> ]

    [ pf=<profile> ]

    }

    control-parameters =

    { [ source:<dir> ]

    [ target:<dir> ]

    [ list:<filename> ]

    [ ftable:<filename> ]

    [ all ]

    [ files ]

    [ stdoutput ]

    [ trace | trace3 ]

    [ help | -h | /h | -? ]

    }

  • The following parameters apply for UNIX and IBM:

    control-parameters = {

    ...

    [ shcp ]

    [ copy ]

    [ link ]

    [ copy_links ]

    [ link_ft ]

    [ nocm ]

    [ nock ]

    [ nochown ]

    [ chown ]

    [ size:<size> ]

    [ test:<test> ]

    }

All parameters can be divided into the following groups: