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



Hhmmm.  I don't think that is the problem.  

1) Remember that in my CL program I declared the parm field as 510 in
length.  
2) Depending on condition, the last non blank byte in the above parm
field could be at say byte 410. 
3) When #2 happened and CL does the SBMJOB CMD(CALL PGMB(MYPARM)), the
actual command being subbmitted looks like this
CALL PGMB('PARM DATA.....................  .... ....') ==> this ending '
end at 410.  


-----Original Message-----
From: midrange-l-bounces@xxxxxxxxxxxx
[mailto:midrange-l-bounces@xxxxxxxxxxxx] On Behalf Of Vernon Hamberg
Sent: Tuesday, November 15, 2005 8:09 AM
To: Midrange Systems Technical Discussion
Subject: RE: RE: SBMJOB is trimming the tailing blanks

<clip>
 One major issue, as I understand it, is that parameters are passed to
programs by reference. (Procedures can be a different story, I believe.)
That being the case, how do you know how much memory is to be used at
each pointer that is passed? Certain assumptions have been established -
32 characters for strings, 15,5 packed for numbers.
</clip>


As an Amazon Associate we earn from qualifying purchases.

This thread ...


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.