Good morning, I’m not a SYNON expert but from COBOL there is something you must see:
COBOL creates an executable package does not need the environment for running, ?does SYNON the same?.
In COBOL all variables are predefined and allocated during the compilation time. ?Does SYNON the same?.
A COBOL program is almost 80% pure machine code, is the second fastest in execution (FORTRAN is #1) and all operations and routines are loaded “before” execution (are included in the execution package” not during execution, maybe there is the difference.
COBOL works with packed decimal not binary coded there is no need for conversion, just think on that.
COBOL is for writing programs. Synon is for writing entire applications.
Synon is an “application generator”. Applications generated by Synon can consist of COBOL or RPG programs plus all of the files of all types that make up an application. The purpose is to design an application model and then have Synon generate the application.
Once the model exists, all future maintenance is done by altering the model and regenerating the app. All descriptive aspects of the app are automatically kept in sync with the app itself. The value is in the future maintenance.
As an application generator, it is reasonable to expect performance to be reduced out of the generated code. I don’t quite get the “8 minutes vs. 35 minutes” description though. It’s rare that anyone ever has any way to say how long an “application” runs. Usually the best that can be done is to say how long a specific functional component might run.
So, you must have one COBOL program that you diagrammed (in an action diagrammer) in Synon and then generated. The original and the generated copies take the two different run times to complete.
How much experience do you have? Is the entire application finished in Synon? Or is just an isolated function done? Was the function “redesigned” or did you bend Synon to accommodate existing structures? Did you know which functions to include from Synon or did you have to make a lot of guesses? Do you know yet if the Synon specs are appropriate?
Most importantly, are you intending to do the whole thing in the same way or are you going to use Synon as it’s intended?
If this is going to be a program by program conversion, it’s a definite waste of time and money. You’d be better off with a product such as ProGen. Although that’s also referred to as an application generator, it is well suited to being a “program” generator. However, IIRC, it only generates RPG.
But if you intend to go with a generator, the language shouldn’t make any difference. You shouldn’t look at generated code anyway. Work with the specs instead.
Anyway, I obviously can’t answer your question because there’s nowhere near enough info to say why run times would be so different. I hope I said enough to help you think about the situation and to make some tentative plans.