|
Files cannot be defined in sub-procedures. That is procedures defined at the end of a program. Now if you mean external procedure, Yes then are local to that external procedure. Files defined at the top of a program are global to the program and all procedures coded in the same module.
If this is not so, I am really confused and other will correct me.
Christopher K. Bipes mailto:ChrisB@Cross-Check.com
Sr. Programmer/Analyst mailto:Chris_Bipes@Yahoo.com
CrossCheck, Inc. http://www.cross-check.com
6119 State Farm Drive Phone: 707 586-0551 x 1102
Rohnert Park CA 94928 Fax: 707 586-1884
If consistency is the hobgoblin of little minds, only geniuses work here. Karen Herbelin - Readers Digest 3/2000
-----Original Message-----
From: Contractor1@Parkdalemills.com
[mailto:Contractor1@Parkdalemills.com]
Sent: Thursday, January 11, 2001 12:00 PM
To: rpg400-l@midrange.com
Subject: File fields are not global?
I'm chaining to a file in a subprocedure and using values from that file as
key values to another file. But when I chain the second file I'm getting a
decimal data error because the field is not populated. Are file fields not
global?
Patrick Conner
www.ConnecTown.com
(828) 244-0822
As an Amazon Associate we earn from qualifying purchases.
This mailing list archive is Copyright 1997-2024 by midrange.com and David Gibbs as a compilation work. Use of the archive is restricted to research of a business or technical nature. Any other uses are prohibited. Full details are available on our policy page. If you have questions about this, please contact [javascript protected email address].
Operating expenses for this site are earned using the Amazon Associate program and Google Adsense.