Just don't use RQSDTA, then you don't have to worry about the differences.
Besides RQSDTA is severely limited if you are wanting to use long strings or parameters.

CMD string can be 20000 characters.
RQSDTA is limited to 3000 characters.


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 Rob Berendt
Sent: Monday, October 18, 2021 5:12 AM
To: Midrange Systems Technical Discussion <midrange-l@xxxxxxxxxxxxxxxxxx>
Subject: RE: [EXTERNAL] Re: Passing a parameter to a CLLE program in SBMJOB

I agree that using a command is the best way. However, is it different if, instead of using SBMJOB CMD(CALL PGM(MYPGM) PARM('parm1')) You do the following instead: SBMJOB RQSDTA('CALL PGM(MYPGM) PARM(

I agree that using a command is the best way.

However, is it different if, instead of using

SBMJOB CMD(CALL PGM(MYPGM) PARM('parm1'))

You do the following instead:

SBMJOB RQSDTA('CALL PGM(MYPGM) PARM(''parm1'')')





Rob Berendt

--

IBM Certified System Administrator - IBM i 6.1

Group Dekko

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.