ADDBKP – default program

270 pts.
Tags:
Batch jobs
RPG
Hi, I'm trying to debug the batch job. After releasing the job, a display screen is shown the use debug commands. When I use ADDBKP STMT(1), an error is thrown as no default program exits. How to make my program as default program?

Answer Wiki

Thanks. We'll let you know when a new response is added.

thanks tom,

I am trying to  debug CLLE program.How i can make ILE program as default program ?

Discuss This Question: 4  Replies

 
There was an error processing your information. Please try again later.
Thanks. We'll let you know when a new response is added.
Send me notifications when members answer or reply to this question.

REGISTER or login:

Forgot Password?
By submitting you agree to receive email from TechTarget and its partners. If you reside outside of the United States, you consent to having your personal data transferred to and processed in the United States. Privacy
  • TomLiotta
    You will need to explain better how you are trying to debug. You shouldn't have to release any job. You must be using the old debug methods instead of setting a service entry point.   As for a default program, you name any default program when you run the STRDBG command. (Are you debugging OPM programs?)   Tom
    125,585 pointsBadges:
    report
  • LakNar
    thanks tom, I am trying to  debug CLLE program.How i can make ILE program as default program ?
    270 pointsBadges:
    report
  • philpl1jb
    in debug you can add as many programs as you want to debug and select which to see using f14.
    51,355 pointsBadges:
    report
  • TomLiotta
    There is no need for a "default program". The only reason to specify a default program is to save a little typing whenever you run a debug command that has a PGM() parameter in a debug session. You can always just name a program in those PGM() parameters. Why are you trying to specify a "default program"? -- Tom
    125,585 pointsBadges:
    report

Forgot Password

No problem! Submit your e-mail address below. We'll send you an e-mail containing your password.

Your password has been sent to:

To follow this tag...

There was an error processing your information. Please try again later.

REGISTER or login:

Forgot Password?
By submitting you agree to receive email from TechTarget and its partners. If you reside outside of the United States, you consent to having your personal data transferred to and processed in the United States. Privacy

Thanks! We'll email you when relevant content is added and updated.

Following