Need Help with OVRDBF Commands Using Code for IBM i in VS Code #1776
-
Hello everyone, I am currently working on an IBM i project using the "Code for IBM i" extension in Visual Studio Code. I've encountered a specific problem for which I am seeking advice or solutions from the community. Problem: Questions: Is there a specific method or recommended steps for executing OVRDBF commands via "Code for IBM i" in VS Code? I had modify already the "action.js" to add : It seems to do the action but when i compiled my SQLRPGLE program, it seems the OVRDBF doesn't worked... Thank you in advance for your time and assistance! Best regards, |
Beta Was this translation helpful? Give feedback.
Replies: 1 comment
-
The Code for IBM i runs your commands stateless and in a new job. Thus your OVRDBF has no effect on the following commands. It is documented on the Action maintenance screen: One solution could be to implement the BUILD utility by Scott Klement. This can be used to store the commands used to create the object in the source of the object. I have used this for years with great success. There are probably other methods besides this, though... |
Beta Was this translation helpful? Give feedback.
Hi @antoine59910
The Code for IBM i runs your commands stateless and in a new job. Thus your OVRDBF has no effect on the following commands.
It is documented on the Action maintenance screen:
One solution could be to implement the BUILD utility by Scott Klement. This can be used to store the commands used to create the object in the source of the object. I have used this for years with great success.
There are probably other methods besides this, though...