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



Hi Martin,

It's not so much that you can only pass 32 character parms, but that the 
command analyzer ASSUMES a default size of 32 bytes for character parms.  If it 
sees NON-BLANK data in a parm, it will resize the storage for that parm to 
accomodate the additional data.  However, if there are trailing blanks, you get 
clobbered.  The analyzer determines the length of the parameter data by first 
trimming off trailing blanks.

The workaround is to declare your parm with one extra byte, and force a non 
blank character into the extra byte. 

Eric DeLong
Sally Beauty Company
MIS-Project Manager (BSG)
940-297-2863 or ext. 1863



-----Original Message-----
From: rpg400-l-bounces@xxxxxxxxxxxx
[mailto:rpg400-l-bounces@xxxxxxxxxxxx]On Behalf Of Bath, Martin
Sent: Monday, October 23, 2006 2:59 AM
To: 'rpg400-l@xxxxxxxxxxxx'
Subject: RE: SBMJOB ~ RQSDTA (Ken Slaugh)



Hi Captain Jerry

One difference that I have encountered between these two statements

SBMJOB     JOB(WPC8060) RQSDTA('CALL WPC8060 ')

SBMJOB     CMD(CALL PGM(WPC8060)) JOB(WPC8060)

is that the second one is very limited in the length of parameters it can
pass (32 characters rings a bell) whereas the first one accepts much larger
ones. I think we hit a problem when passing email addresses  (circa 42
characters in length).

Regards

Martin Bath
Global IT Group
Invensys Controls 
Tel:      +44 (0) 1752 724388
Mobile: +44 (0) 7736 017318
Fax :    +44 (0) 1752 732455
Email : martin.bath@xxxxxxxxxxxxxxxxxxxx
CONFIDENTIALITY NOTICE
This e-mail and any attachments are confidential and also may be privileged.
If you are not the named recipient, or have otherwise received this
communication in error, please delete it from your inbox, notify the sender
immediately, and do not disclose its contents to any other person, use them
for any purpose, or store or copy them in any medium. Thank you for your
cooperation.






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.