cancel
Showing results for 
Search instead for 
Did you mean: 

Client Copy

Former Member
0 Kudos

I want to do a client copy from autosys. I need to know how to run a client copy from the command line instead of through the application. It'd be something like - "sapbjob -r RSCLXCOP -v Variant". How do I create a variant and what do i put in it? Is rsclxcop the program that I should run?

Thanks,

Dan

Accepted Solutions (0)

Answers (1)

Answers (1)

former_member66264
Contributor
0 Kudos

that will not work since that screen does not have a selection, you have to create a "wrapper" and submit the jobs with parameters

something like this ( had to cut out some properitary stuff)


report z_client_copy_autosys no standard page heading.
tables: t000.

*$*$* Selection screen *************************************************
parameters: copycli like cccflow-mandt.
parameters: appl    like strmpar-ccappldata as checkbox
                    default 'X'.
parameters: susr    like strmpar-ccsusr as checkbox
                    default 'X'.
parameters: prof like strmpar-ccprof as checkbox
                    default 'X'.
parameters: modus   like strmpar-ccmodus
                    default 'C'.
parameters: profil  like ccprof-profil
                    default space.
parameters: usercli like ccprof-user_mandt
                    default space.
parameters: varcop  like ccprof-ccvarcop default 'X'.

*$*$* Macros ***********************************************************

*$*$* initialization ***************************************************
initialization.

*$*$* start-of-selection ***********************************************
start-of-selection.

  submit rsclxcop and return
    with copycli = copycli
    with appl    = appl
    with susr    = susr
    with prof    = prof
    with modus   = modus
    with profil  = profil
    with usercli = usercli
    with varcop  = varcop
    with altinp  = 'A'.