Error: the storage extent of the dummy argument exceeds that of the actual argument
Hi everybody, could someone help me,
I'm designing a spring, but I don't know where the error ocurred.
1. Look for CALL statements in your program, and select those that contain G in the argument list.
2. Now compare the declared sizes of G in the calling and called routines. The latter should not be greater than the former.
3. Locate all references to G in the subroutine(s) of which it is a dummy argument. None of those references should have a subscript value larger than the declared dimension of G in the caller.
All that you needed to do was to modify the declaration of G in CONSTR to match the declaration in the main program. I do not know why and how you changed the calls, and it is possible that doing so introduced new errors.
As to the result being "strange", I note that the program contains many READ statements; you have not shown the input data file and we do not know what the expected results should look like.