Logo Questions Linux Laravel Mysql Ubuntu Git Menu
 

In RDi, how do I run a debug with UPDPROD(*YES)?

In RDi,

  • right-clicked on the program to debug,
  • selected "Debug or Code Coverage"
  • then "Set Service Entry Point"

Then started the program from a command line in another session.

RDi confirms 'Debug' perspective switch. However, I didn't get an option to start debug with update production files = *yes, so I got a DBGP0003E message.

Checking thru the joblog the root cause appears to be:

Member myfile cannot be opened while UPDPROD(*NO)

like image 890
mike Avatar asked Feb 05 '23 21:02

mike


1 Answers

In Preferences (Window-->Preferences)

Run/Debug-->IBM i Debug

Make sure Update production files is checked.

enter image description here

like image 174
Charles Avatar answered Mar 27 '23 13:03

Charles