Don't get us wrong: We see so much bad code that uses obsolete stuff and bad practice that it sometimes drives us mad. Even more so when somebody starts to learn Progress and tries to learn from bad practice and/or bad examples. Unfortunately Progress is notorious for providing so many bad practices/examples in their documentation that one shouldn't wonder. What are you using to learn Progress? Do you have an experienced mentor?
Nevertheless, if you want to run a procedure, anwhere in you code just:
Code:
run pathToYourProcedure.p.
Have a look at the help for the run statement to see how you can provide parameters - and please, pleas, don't use shared variables.
OpenEdge 11.6 Documentation
Heavy Regards, RealHeavyDude.