Integrate Python into CL and RPG on IBM i

python trainingPython has been gaining momentum for building utility applications on IBM i, such as creating/reading Excel files, data transfer, process automation, calling REST APIs such as Salesforce and ServiceNow, and application monitoring.

Although some have said that Python would become the “new CL,” one limitation remains. While Python can easily call CL, RPG, and COBOL programs, calls in the other direction—from CL, RPG or COBOL to Python—required extra effort.

In this post we will introduce you to the PYRUN command, from Richard Schoen’s open source PythonOniLibrary (https://github.com/richardschoen/PythonOniLibrary), which makes it easy for traditional CL and RPG programs to call Python utilities and use their output. Read more

Python Training from Seiden Group

Python training Seiden GroupAs big fans of Python, Seiden Group now offers Python training for IBM i developers. Our training covers not only the popular Python language, but all the pieces necessary to succeed on IBM i, including how to use the Python toolkit to call RPG and COBOL business logic as well as best practices for accessing Db2 and SQL from web applications with Python.

Read more