I've compiled subroutines under Information flavor, as globallly cataloged program and called them from an account that was running Reality flavor.
Not sure what you meant by F-point to the code....so that might make the difference. George Gallen Senior Programmer/Analyst Accounting/Data Division ggal...@wyanokegroup.com ph:856.848.9005 Ext 220 The Wyanoke Group http://www.wyanokegroup.com ________________________________________ From: u2-users-boun...@listserver.u2ug.org [u2-users-boun...@listserver.u2ug.org] On Behalf Of Tony Gravagno [3xk547...@sneakemail.com] Sent: Friday, June 24, 2011 12:33 PM To: u2-users@listserver.u2ug.org Subject: [U2] [UV] Cross-flavor code 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 U2-Users@listserver.u2ug.org http://listserver.u2ug.org/mailman/listinfo/u2-users _______________________________________________ U2-Users mailing list U2-Users@listserver.u2ug.org http://listserver.u2ug.org/mailman/listinfo/u2-users