[Migrated content. Thread originally posted on 26 October 2010]
Is it possible to edit code in the .prd file and not have acubench generate and delete my code? I would like to perform an IF... ELSE... END-IF type of logic in one of the procedures in the .prd file. I'm thinking that since there are no {bench} tags in there I do not think it is possible.I know I can override the PERFORM Acu-MAIN-Routine in the .cbl file but it would be better to override only the one procedure in the .prd file.
Ultimately what we would like to do is before the window is displayed/created, set the MODALITY based on linkage. The majority of the time I open the window MODELESS, but there are some cases where I need to open it as MODAL, and the least amount of code (and code maintenance) to get it done is preferable.
Maybe what I want is impossible and I just need to create two versions of my program, one MODAL and one MODELESS...



