× 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.



*VARSIZE means "Allow the parameter to be shorter than I said.  _I_ will 
make sure that no corruption occurs as a result."

It is your responsibility to ensure that you do not affect data beyond the 
end of the passed parm.  

Remember - when you pass a parm by reference the ONLY information passed to 
the called program is the address of the data.  Not the length, not the data 
type, nothing but the address.

You need to control the data loaded into the parm based on the actual length 
of the parm.  If you don't want to pass the actual length of the field, then 
you will have to specify operational descriptors and retrieve the length 
information in the called routine.

Bottom line.  You probably need to use %Subst to load the data into the parm 
and control it with the length of the field. e.g. %Subst(ParmField: 1: 
LengthOfFieldPassed) = newData.


Jon Paris
Partner400
www.Partner400.com


As an Amazon Associate we earn from qualifying purchases.

This thread ...

Follow-Ups:

Follow On AppleNews
Return to Archive home page | Return to MIDRANGE.COM home page

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.