If you use the local field that is one longer, and load the "X" to that field.
Then use that field on the sbmjob.

Then the input parameter field remains the correct length.
Then you don't have to Strip it off later, but it gets padded correctly.


Chris Hiebert
Senior Programmer/Analyst
Disclaimer: Any views or opinions presented are solely those of the author and do not necessarily represent those of the company.

From: MIDRANGE-L <midrange-l-bounces@xxxxxxxxxxxxxxxxxx> On Behalf Of Brad Stone
Sent: Friday, October 15, 2021 3:22 PM
To: Midrange Systems Technical Discussion <midrange-l@xxxxxxxxxxxxxxxxxx>
Subject: Re: [EXTERNAL] Re: Passing a parameter to a CLLE program in SBMJOB

What I do is put a * or X in the last character of the parameter, then strip it out when I process it. Been doing that for over 25 years. On Fri, Oct 15, 2021 at 3:16 PM Alan Campin <="" div="">
External (bvstone@xxxxxxxxx<mailto:bvstone@xxxxxxxxx>)

Report This Email<https://shared.outlook.inky.com/report?id=d2luY29mb29kcy9jaHJpcy5oaWViZXJ0QHdpbmNvZm9vZHMuY29tLzIwMmYwZmQ5ZWJjMzc3YWRiYTZkNTA0OWM5YjhjMzk1LzE2MzQzMzI5NzguODQ=#key=b70bcdd552899be0080eba8a1aa65cb3>


What I do is put a * or X in the last character of the parameter, then

strip it out when I process it. Been doing that for over 25 years.



As an Amazon Associate we earn from qualifying purchases.

This thread ...

Follow-Ups:
Replies:

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

This mailing list archive is Copyright 1997-2022 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.