|
Thanks all! - Larry Mark Walter wrote:
You're passing a pointer to a variable that has one byte of memory allocated. The CL is allocating 8 bytes for it's parameter. How is the system to know what to use and what not to use?
________________________________
From: midrange-l-bounces@xxxxxxxxxxxx on behalf of Larry Bolhuis
Sent: Mon 1/16/2006 4:41 PM
To: Midrange Systems Technical Discussion
Subject: CL Parameter ends up fulla crud.
Two CLLE PGMs.
Called PGM has three parms 10, 8 and 8 bytes all character.
Calling pgm passes in 10, 8 and 1 byte parms, also all character.
Everything comes across but parm 3 has 7 bytes of crud after byte 1,
which is correct.
This ain't supposed ta happen, correct? We'd fix the one byte parm to 8
bytes but there are hundreds of these in the system and the crud just
appears randomly.
i5, V5R3, late 2005 CUMes and Groups.
Thoughts?
- Larry.
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.