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



OK, the Python command wrapper library and source has been posted on Github as a SAVF.

PythonOniLibrary - CL Command Wrappers for Python Scripts
https://github.com/richardschoen/PythonOniLibrary

Feel free to provide any feedback. Seems to work fine, but probably needs more stress testing to make sure.

Regards,
Richard Schoen
Web: http://www.richardschoen.net
Email: richard@xxxxxxxxxxxxxxxxx
Phn: (612) 315-1745

-----Original Message-----
From: Richard Schoen
Sent: Friday, April 19, 2019 1:27 PM
To: midrange-l@xxxxxxxxxxxxxxxxxx
Subject: Re: QUSER Session Recording - Your IBM i Has Mono Now What ?

I haven't published my Python wrappers yet, but I will find them next week and place into a SAVF or code repo.

They work pretty much the same way as the Mono ones.

QP2TERM is only used if I want to quickly test a .Net call outside of any program. A SSH session would work for that too I assume. I'm just used to QP2TERM.

I believe I review both ways during the presentation. Run from QP2TERM and call the same stuff via the MONO CL command.

In the CL wrappers, Mono actually has to be called via QSHELL calling PASE because then the multi-threading will work. If you use QP2SHELL starting from a standard IBMi job threading is a no-go.

Regards,
Richard Schoen
Web: http://www.richardschoen.net
Email: richard@xxxxxxxxxxxxxxxxx
Phn: (612) 315-1745

------------------------------

message: 2
date: Fri, 19 Apr 2019 13:23:49 -0400
from: John Yeung <gallium.arsenide@xxxxxxxxx>
subject: Re: QUSER Session Recording - Your IBM i Has Mono Now What ?

Your IBM I Has Mono Now What ?
https://youtu.be/e8OXhkIuE4E

Thanks for providing this. I think there was a lot of good stuff in there.

One thing I appreciated was seeing your approach to wrapping things in a CL-friendly way. Your wrappers are much more thorough than mine, because I went with Simplest Thing That Could Possibly Work.

At the risk of sounding like a mooch, when you were experimenting with PASE Python, did you make similarly thorough wrappers? Are they published anywhere?

And is QP2TERM really part of your normal workflow, or were you just using that for the presentation? I used to muddle through it when I needed something quick and didn't feel like opening another client program, but now that it's broken, I just always open an SSH session, no matter how small the immediate need.

John Y.



As an Amazon Associate we earn from qualifying purchases.

This thread ...

Follow-Ups:

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.