Latest

09:04 AM BookMyShow Bilaspur

👇 Search Here Everything & Get Smart Results instantly

How to debug a batch job in AS400 step by step : Trick to debug a batch job by using ILE debugger


Q.Your "RPG for RPG Programmers" presentation covered the ILE debugger for interactive jobs. But I need to debug a batch program. Do I need a different debugger?

A. No. You can use the same ILE debugger to debug interactive or batch jobs, written in ILE or OPM languages. But there are a few extra steps to get the debugger started. Here's a cheat sheet:

  1. SBMJOB ... HOLD(*YES)
  2. STRSRVJOB JOB(jobnbr/user/jobnam)
  3. STRDBG
    • When source is displayed, press F12
  4. RLSJOB JOB(jobnbr/user/jobnam)
    • When Start Serviced Job display appears, press F10
  5. When command entry display is shown, DSPMODSRC
    • When source is displayed, set a breakpoint, then press F12
    • When command entry display is shown, press F12
  6. When Start Serviced Job display reappears, press Enter
    • Program will stop at breakpoint, and can be debugged interactively
  7. After serviced job ends
    • ENDDBG
    • ENDSRVJOB

Jobklix provides you recruitment notifications only you should refer official website of related department. Subscribe Free!!  for upcoming exams, job notifications, study material, latest walk-ins, latest job fairs and more...


07 May 2014

0 comments:

Post a Comment

:) :)) ;(( :-) =)) ;( ;-( :d :-d @-) :p :o :>) (o) [-( :-? (p) :-s (m) 8-) :-t :-b b-( :-# =p~ $-) (b) (f) x-) (k) (h) (c) cheer
Click to see the code!
To insert emoticon you must added at least one space before the code.

 
Top