Hi Robert

How are you calling it? In a program or from a command line?

If from a program, are you using a variable or a literal?

What does INPUTDAYS have for its value?

Thanks
Vern

----- Original Message -----
This is really weird.

I'm creating a new SQLRPGLE program and it needs two entry parms. I set
up the entry procedure PR and PI like this:

d Main PR ExtPgm('MYPROG')
d 255
d 3

d Main PI
d InputDir 255
d InputDays 3

Walking it thru debug, with parm values '/home' and '3', InputDir shows
this:

EVAL InputDir
INPUTDIR =
....5...10...15...20...25...30...35...40...45...50...55...60
1 '/home 3 '
61 ' '
121 ' '
181 ' '
241 ' '

Why are both parameters being passed in a single parm?

Are there limits to the length of input parms? I've searched but I can
find no reference to any limits. I'd guess that there are some. I've
changed InputDir to be as small as 10 (which won't work in practice) but
I still get the combined values being passed in together.

This is V6R1M0 with all current PTFs.

I've signed out and back in with no joy.

The PR/PI are last, just before the first free-form C-spec.

Creating the Main PR/PI like this has worked in the past but I'm stumped
as to why it isn't working this time.

Any ideas?

Thanks,
Robert


This thread ...

Replies:

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

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