on 05-19-2011 4:52 PM
All,
Can someone please tell how i can run a batch in foreground.
we have several jobs setup in sm37 to run in the background. How can i run one of the sm37 jobs in foreground?
thanks
Hi,
SM37 itself is for background job.
For running that job in foreground,goto the T.Code "SM37",Enter the batch program name.
Execute.
Select the job.Click on Step.
Get the program name.Goto the T.Code "SE38".
Pass this program name.Execute.
Here Select the variant.
Execute the program.
Regards,
Krishna.
You must be a registered user to add a comment. If you've already registered, sign in. Otherwise, register and sign in.
When you say you want to run foreground, do you mean to run the job immediately instead of a schedule time?
If the job contains only one program, then the above solution proposed should be fine. If the job contains multiple programs with multiple variants and if you dont want to change the variant, then to run a background job in foreground, in SM37, select the job, then go to menu Job->copy.Give a new name to the job and then copy.Then selec the new job, go to menu Job->change. Click on the start conditoin button on the top. Then click on the immediate button on the starttime window.Then click on the save button. Then again click on the save button on top of the screen. This will allow the job to run immediately.
Regards,
You must be a registered user to add a comment. If you've already registered, sign in. Otherwise, register and sign in.
User | Count |
---|---|
108 | |
12 | |
11 | |
6 | |
5 | |
4 | |
3 | |
3 | |
3 | |
3 |
You must be a registered user to add a comment. If you've already registered, sign in. Otherwise, register and sign in.