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



Press send too quick.

If the field is declared as 510 in length, the ending ' should always
end at 510 not the last non blank byte.  The program did not ask the
system to trimr :). 

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

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.  


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.