×
The internal search function is temporarily non-functional. The current search engine is no longer viable and we are researching alternatives.
As a stop gap measure, we are using Google's custom search engine service.
If you know of an easy to use, open source, search engine ... please contact support@midrange.com.
On 6-May-08, at 5:23 AM, Riyadi, Agus wrote:
So, it is like if we define as character. Because program A will
receive the
data justify left, even we define as numeric.
Thank's a lots for your help.
You still seem to be missing the point. The program does not
"receive the data". Only a pointer to the data. The _only_
information the called program receives about the parameter is where
it starts in memory. Period - end of story. Nothing about its size
or data type or anything else.
Consequently interpretation of the data is _entirely_ based on the
definition in the called program.
Note that all processing of the parameter within the called program,
actually happens in the memory "owned" by the calling program - that
is why it is critical to match the definitions in order to avoid
corrupting memory.
Again this is not a COBOL thing or an AS/400 thing - it occurs with
any language that passes parameters by reference which includes (for
example) the C language.
Jon Paris
www.Partner400.com
www.SystemiDeveloper.com
As an Amazon Associate we earn from qualifying purchases.
This mailing list archive is Copyright 1997-2025 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.