I'm guessing that you have an array dimensioned in the common?
Pick flavor default to $OPTIONS STATIC.DIM, while Information flavor defaults 
to $OPTIONS -STATIC.DIM. With STATIC.DIM, each array A(n) takes up n slots in 
common, but with -STATIC.DIM, the entire array takes one slot.

On Jun 24, 2011, at 12:33 PM, Tony Gravagno wrote:

> I'll ask a simple question and only expand if really necessary.
> 
> Compile a subroutine in a Pick flavor Universe account.
> That subroutine has a Named Common statement.
> Now F-point to that code file from an Information flavor account.
> Compile another program that calls the first.  (This can be in a
> file local to the Information account or through the pointer into
> the Pick account.)
> At runtime we see error "COMMON size mismatch".
> 
> CLEARCOMMON doesn't help
> UPDATE.ACCOUNT INFORMATION on the subroutine account doesn't
> help.
> 
> It seems the subroutine must be compiled with the same flavor as
> any program which calls it.
> 
> Is that accurate?
> 
> If that's the case, I would suggest that the error is incorrect
> to describe the problem.  I'd hope to see something more like
> "Flavor mismatch between caller and called subroutine".  Anyone
> here agree?
> 
> Thanks.
> T
> 
> _______________________________________________
> U2-Users mailing list
> [email protected]
> http://listserver.u2ug.org/mailman/listinfo/u2-users

_______________________________________________
U2-Users mailing list
[email protected]
http://listserver.u2ug.org/mailman/listinfo/u2-users

Reply via email to