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



If you're using them as formal CL-style params have you tried enclosing
them in single quotes (inside the quotes you are already using while
passing the args via Python)?

On Tue, Dec 18, 2018 at 4:21 PM John Yeung <gallium.arsenide@xxxxxxxxx>
wrote:

OK, good news first: My workplace finally upgraded to 7.3, which means
I now have a working yum! It goes without saying that I immediately
installed Python 3 and started kicking the tires.

Now, in trying to figure out how to call ILE programs and service
programs from Python 3 in PASE, I've come across a stumbling block.

It looks like dates are supposed to be passed in with data type "10A"
and all the examples show 10-character ISO strings, like '2018-12-25'.
But that isn't working for me. The error message says I've got an
invalid date (RNX0112), and offers the hint that '1994/02/31' is an
impossible date, so I tried '2018/12/25' with no better result. The
default date format on our system is *MDY so I tried '12/25/2018' and
'12/25/18', then both of those with hyphens instead of slashes, then
both of those with no separators. Nothing is working.

Any ideas?

John Y.
--
This is the IBMi Open Source Roundtable (OpenSource) mailing list
To post a message email: OpenSource@xxxxxxxxxxxx
To subscribe, unsubscribe, or change list options,
visit: https://lists.midrange.com/mailman/listinfo/opensource
or email: OpenSource-request@xxxxxxxxxxxx
Before posting, please take a moment to review the archives
at https://archive.midrange.com/opensource.

Help support midrange.com by shopping at amazon.com with our affiliate
link: https://amazon.midrange.com




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