Can anyone please let me know that is there a way in the coolgen where I can copy a few lines from one procedure to another?
I mean suppose there are two procedures as A1 and A2, and I need to copy some part of code in A1 to A2.
You can copy the whole thing from A1 to A2 but not some parts
Open the procedure A1
Right click on the name of the Proc at the begening of the code (i.e. just before Imports)
click on Diagram>copy
You will get another screen with which you can continue.
Through XCOPY one can copy statements from one proc/CAB to another proc/CAB.
1: click on the place where you want to copy the lines in destination proc
2: select the part of code which you want to copy from source proc
3: click on XCOPY button.
4: Choose a destination proc
5: your code will be copied.
Cons: the code will create all the views automatically which have been used in those statements.
So be careful when you do XCOPY.