|
Booth
Trivia questions;
What's the default length and Dec of a Numeric Parm?
What's the default length of a Alpha Parm?
1 = 15,5
2= 32
Why is 32 important? Well if (like you did with parms 1,2,3,5) have a
parm that is defined less than 32, OS/400 will pad the rest with blanks.
If it is defined longer than 32(like parm 4) , You on your own. You
have to pass the thing correctly. Sooooo.
For parm four you should have said 'a
' That's 59 blank spaces before the quote.
John Carr
-------------------------
Some days I feel stupid, other days I look stupid.
Here's the code:
C *ENTRY PList
C Parm Parm1 6
C Parm Parm2 27
C Parm Parm3 5
C Parm Parm4 60
C Parm Parm5 5
Then we run debug on the program with Call Prog ('ABC' 'DEFGHI' '12345'
'a' 'b')
Parms 1,2,3, & 5 are just fine but parm4 will have the "a" in position 1
and "b" at about position 34. Several of us have looked at this and
checked everything we can think of.
What say ye? Simple to solve?
+---
| This is the RPG/400 Mailing List!
| To submit a new message, send your mail to RPG400-L@midrange.com.
| To subscribe to this list send email to RPG400-L-SUB@midrange.com.
| To unsubscribe from this list send email to RPG400-L-UNSUB@midrange.com.
| Questions should be directed to the list owner/operator: david@midrange.com
+---
As an Amazon Associate we earn from qualifying purchases.
This mailing list archive is Copyright 1997-2025 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.