Chinaunix首页 | 论坛 | 博客
  • 博客访问: 72756
  • 博文数量: 56
  • 博客积分: 2010
  • 博客等级: 大尉
  • 技术积分: 585
  • 用 户 组: 普通用户
  • 注册时间: 2006-08-11 10:09
个人简介

混混日子

文章分类

全部博文(56)

文章存档

2011年(1)

2008年(9)

2007年(3)

2006年(43)

我的朋友

分类:

2006-08-16 16:39:14

1 In SM37, select a job that has not yet been started (status 'planned'
or 'released'). In addition, set a breakpoint at the point in the
source code that you want to analyze when debugging. In SM37, enter
JDBG in the OK code field, and select ENTER. The selected job is now
started in debug mode, and the debugger initially stops in a system
program. Select F8 to continue the job up to the next breakpoint.

Caution: After debugging, the job still appears in SM37 as 'planned'
or 'released', but the entire job (or, more specifically, a copy of
it) ran during debugging, and possible database changes are effective
as a result of the job.


2 You can catch a current batch job by using SM37 (Catch active job) or
SM50 (Debug program). To do this, you must be logged on to the
instance on which the job is running. The job is then stopped, and
you can keep it running in the debugger.


3 Use SM36 to create a job with two steps, step 1 with the BTCLOOP
report and step 2 with the report to be debugged. Then release the
job.

You can then debug the job in Transaction SM50. To do this, exit the
endless loop in the BTCLOOP report by changing the variable i.

阅读(441) | 评论(1) | 转发(0) |
给主人留下些什么吧!~~