Is there any way to add and use custom AEL code without having to exit CDS every time. I find it very time consuming to debug code by exiting and loading CDS everytime I need debug (which is seems is very often for me ::) )
If you have a file or a set of AEL defined functions Code, you able to run it the first time, then you are not able to run the function the second or third time? You are not able to reload? Do you get any errors when you try to reload? Can you type any thing in CDS after you have run your function? What if you change the argument and then run it again. Does it run?
Please give me more information as to what you want to accomplish, there should be not reason to leave the CDS environment every time you are loading your debug code.
I am writing custom AEL code to perform certain dataset manipulations. When I write the code, I have to exit RFDE and reload RFDE for the code to be compiled and recognized by RFDE. After that point, there is no problem using the code. However, if I need to alter the code, even for the smallest changes or debug, I have to exit RFDE and reload RFDE so that it recompiles and recognizes any of the changes. Is there a way of recompiling the AEL code without exiting RFDE like SKILL code where I just type "load('<skill>.il')" to reload the SKILL.
Example:
I have an AEL called build_matrix.ael with a function in it defined at "build_matrix". I place it in my ~/hpeesof/expressions/ael directory. If I want the data display to recognize the command "build_matrix", I must exit RFDE and reload so that the build_matrix.ael is compiled to a .atf file. If I do not, then RFDE does not see the changes. I am looking for another way to recompile the AEL code without exiting RFDE.
In ADS, you could kill the hpeesofdds (and sometimes hpeesofdss) process. Then open a new data display window and all the ael expressions would be recompiled. Maybe the same holds true for RFDE. Dont know. Haven't had a chance to play with that.
If you have a file or a set of AEL defined functions Code, you able to run it the first time, then you are not able to run the function the second or third time? You are not able to reload? Do you get any errors when you try to reload?
Can you type any thing in CDS after you have run your function? What if you change the argument and then run it again. Does it run?
Please give me more information as to what you want to accomplish, there should be not reason to leave the CDS environment every time you are loading your debug code.