Seiden Group
Modern Development & Open Source for IBM i
  • Link to LinkedIn
  • Link to Mail
  • Home
  • Seiden PHP+
    • Seiden PHP+
    • Install & Learn
    • SmartSupport
    • PHP Migrations & Upgrades
    • Success Stories
    • Free PHP Assessment
    • Documentation
    • What’s New (Changelog)
  • IBM i Services
    • Development
    • Training & Mentoring
    • Open Source Setup & Upgrades
    • SSL/TLS Install & Learn
    • Performance
  • Support
    • Open Source & PHP
    • VS Code for i
    • Developer Support
    • Support Success Stories
  • VS Code for i
    • Support
    • Training
    • Code for i Resource Guide
    • Getting Started Videos
    • Code for IBM i Fridays
  • Free Stuff
    • IBM i Strategy & Tips
    • PHP Upgrade Assessment
    • CNX Valence Assessment
    • VS Code for IBM i Resources
    • Code for IBM i Fridays
    • QCachegrind Download
    • PHP Toolkit for IBM i Resources
    • Qshell on i Library
  • Blog
  • About
    • About Our Team
    • About Alan Seiden
    • Speakers & Sessions
    • In the News
  • Contact
  • 201.447.2437
  • Search
  • Menu Menu

Tag Archive for: pase

Richard Schoen

New QSHONI Commands: Integrate Python, PHP, Java with CL & RPG

February 14, 2025/0 Comments/in Open Source /by Richard Schoen

QSHONI integration for IBM i RPG, CL and open sourceA few years ago I introduced you to my QShell on i utility – QSHONI. QSHONI makes it easy for traditional CL, RPG, and COBOL programs to call Python utilities and other QShell/PASE utility programs (PHP, Node, Java, etc.) and directly use their output. QSHONI opened up a whole new world of integrations to open-source apps from traditional IBM i applications.

I keep thinking I will run out of interesting things to add to the library, but the ideas keep on flowing.

Read more →

https://www.seidengroup.com/wp-content/uploads/2017/03/SeidenLogo-180.png 0 0 Richard Schoen https://www.seidengroup.com/wp-content/uploads/2017/03/SeidenLogo-180.png Richard Schoen2025-02-14 12:40:462025-02-14 12:40:46New QSHONI Commands: Integrate Python, PHP, Java with CL & RPG
Alan Seiden

What’s in Your ODBC Driver? A 2024 Update

December 2, 2024/0 Comments/in IBM i, ODBC, Open Source /by Alan Seiden

ODBC with Db2 for IBM iSince IBM announced Yum support for installing the IBM i Db2 ODBC driver, as documented in our 2022 tutorial, users can update their driver more easily.

To help users determine what’s changed, IBM maintains a list of fixes and enhancements for each IBM i ODBC driver release.

Read more →

https://www.seidengroup.com/wp-content/uploads/2017/03/SeidenLogo-180.png 0 0 Alan Seiden https://www.seidengroup.com/wp-content/uploads/2017/03/SeidenLogo-180.png Alan Seiden2024-12-02 14:44:202024-12-02 14:44:20What’s in Your ODBC Driver? A 2024 Update
Richard Schoen

Call/Parm Your Open Source Apps from RPG and CL with QSHCALL

July 25, 2024/2 Comments/in Open Source, PHP, Python, RPG /by Richard Schoen

QSHONI integration for IBM i RPG, CL and open sourceA few years back I created the QShell on IBM i (QshOni) project to allow QShell/PASE (open source) apps to be more easily integrated and used with traditional IBM i job streams written in RPG and CL. Since then, many developers have adopted QshOni to utilize their open source apps in conjunction with their classic traditional apps.

Recently I added several new commands to QshOni to make living the PASE life even easier for RPG developers. Today’s focus will be on the QSHCALL command.

Read more →

https://www.seidengroup.com/wp-content/uploads/2017/03/SeidenLogo-180.png 0 0 Richard Schoen https://www.seidengroup.com/wp-content/uploads/2017/03/SeidenLogo-180.png Richard Schoen2024-07-25 07:16:322024-07-24 21:18:25Call/Parm Your Open Source Apps from RPG and CL with QSHCALL
Alan Seiden

Older 32-Bit PHP & PASE Apps Can Break in IBM i 7.5

October 27, 2023/0 Comments/in Open Source /by Alan Seiden

This alert was originally published in Seiden Group’s July 2023 Support Bulletin.
Upgrade to Seiden PHP+ Server for full support of IBM i 7.5 and 7.6.

IBM i 7.5 includes OpenSSL 1.1.1, an upgrade that can disable older PASE applications that were tied to 1.0.2 or earlier.

Read more →

https://www.seidengroup.com/wp-content/uploads/2017/03/SeidenLogo-180.png 0 0 Alan Seiden https://www.seidengroup.com/wp-content/uploads/2017/03/SeidenLogo-180.png Alan Seiden2023-10-27 12:07:572026-03-17 09:59:11Older 32-Bit PHP & PASE Apps Can Break in IBM i 7.5
Jack Woehr

Automate SFTP Transfers Using ‘expect’

December 27, 2022/5 Comments/in IBM i, Open Source /by Jack Woehr

IBM iA programmer asked recently how to automate their password-based SFTP transfer. How does one automate SFTP or any task that typically requires user interaction?
Read more →

https://www.seidengroup.com/wp-content/uploads/2017/03/SeidenLogo-180.png 0 0 Jack Woehr https://www.seidengroup.com/wp-content/uploads/2017/03/SeidenLogo-180.png Jack Woehr2022-12-27 23:21:232022-12-28 14:27:18Automate SFTP Transfers Using ‘expect’
Alan Seiden

What’s in Your ODBC Driver?

July 19, 2022/0 Comments/in IBM i, ODBC, Open Source /by Alan Seiden

ODBC with Db2 for IBM iSince IBM announced Yum support for installing the IBM i Db2 ODBC driver, as documented in our recent tutorial, users can update their driver more easily.

To help users determine what’s changed, IBM maintains a list of fixes and enhancements for each IBM i ODBC driver release.

Read more →

https://www.seidengroup.com/wp-content/uploads/2017/03/SeidenLogo-180.png 0 0 Alan Seiden https://www.seidengroup.com/wp-content/uploads/2017/03/SeidenLogo-180.png Alan Seiden2022-07-19 13:06:562023-02-13 16:29:03What’s in Your ODBC Driver?
Calvin Buckley

Reading and Writing Physical Files in a Shell using Rfile

February 25, 2021/4 Comments/in IBM i /by Calvin Buckley

Want to read source member data from within an IBM i shell environment, such as SSH, QShell, or QP2TERM? Need to copy records from a text file to a physical file? Want a quick way to upload a save file without needing FTP?

IBM i’s Rfile command can do all these things easily. Rfile is designed to be easy to integrate into scripts, so it’s a great tool to have at hand.

Read more →

https://www.seidengroup.com/wp-content/uploads/2017/03/SeidenLogo-180.png 0 0 Calvin Buckley https://www.seidengroup.com/wp-content/uploads/2017/03/SeidenLogo-180.png Calvin Buckley2021-02-25 23:32:102022-06-16 23:25:51Reading and Writing Physical Files in a Shell using Rfile
Stephanie Rabbani

Installing Composer on IBM i

April 2, 2018/2 Comments/in PHP /by Stephanie Rabbani

Composer, a tool to manage dependencies in PHP applicationsThe open source Composer tool, which manages PHP project dependencies, has become standard equipment for modern PHP. New to this tool? I recommend this introduction to Composer.

Composer automatically installs or updates required components, known as dependencies, and any others required by those initial components. The required components are defined by the developer in an easy-to-read JSON-formatted text file.

Read more →

https://www.seidengroup.com/wp-content/uploads/2017/03/SeidenLogo-180.png 0 0 Stephanie Rabbani https://www.seidengroup.com/wp-content/uploads/2017/03/SeidenLogo-180.png Stephanie Rabbani2018-04-02 10:00:362025-12-15 11:27:06Installing Composer on IBM i
Alan Seiden

Save your fingers when using PHP-CLI

September 12, 2014/1 Comment/in IBM i, PHP /by Alan Seiden

2021 Update

The instructions in this blog post contain outdated paths and file names.

To learn the modern way to “save your fingers”—plus additional tips for setting up PHP on IBM i—refer to these two articles in our Open Source Documentation library.

  • How to Call PHP from CL or RPG
    With the Seiden CommunityPlus+ PHP binary, which is php, not php-cli.
  • How to Set the PATH to Open Source Packages on IBM i
    After you set the path, you can use php myscript.php

In Batch PHP I showed how to call PHP from a command line. For example, with Zend Server 6 or 7 on IBM i, one would launch a PASE command line using the command CALL QP2TERM, or launch QShell using QSH, then type a command such as this:

1
/usr/local/zendsvr6/bin/php-cli myscript.php

For those of us who use PHP-CLI often, the above command can be a finger-buster. Let’s shorten the path by creating a symbolic link:

1
2
cd /usr/bin
ln -s /usr/local/zendsvr6/bin/php-cli phpc

I created the symbolic link in /usr/bin, a directory that is likely to be in any user’s path.

Now try the shortened command:

1
phpc myscript.php

To test the shortcut without a PHP script, use the -v switch, which requests version information (‘v’ for version) about your PHP installation.

1
phpc -v

The above command will return version information that starts out something like this:

1
2
3
4
5
6
7
8
9
10
11
PHP 5.3.6 (cli) (built: Apr  7 2011 09:37:14)                                
Copyright (c) 1997-2011 The PHP Group                                        
Zend Engine v2.3.0, Copyright (c) 1998-2011 Zend Technologies                
    with Zend Extension Manager v5.1, Copyright (c) 2003-2010, by Zend Techno
logies                                                                       
    - with Zend Data Cache v4.0, Copyright (c) 2004-2010, by Zend Technologie
s [loaded] [licensed] [disabled]                                             
    - with Zend Guard Loader v3.3, Copyright (c) 1998-2010, by Zend Technolog
ies [loaded] [licensed] [enabled]                                            
    - with Zend Job Queue v4.0, Copyright (c) 2004-2010, by Zend Technologies
 [loaded] [not licensed] [disabled]

By creating a symbolic link to the PHP-CLI binary, practitioners of PHP can speed their work while saving their fingers.

For more about symbolic links, see my article Link up with QShell.

https://www.seidengroup.com/wp-content/uploads/2017/03/SeidenLogo-180.png 0 0 Alan Seiden https://www.seidengroup.com/wp-content/uploads/2017/03/SeidenLogo-180.png Alan Seiden2014-09-12 03:57:112023-04-26 12:58:18Save your fingers when using PHP-CLI
SUBSCRIBE
Open Thinking
Monthly IBM i Strategy & Tips
  • This field is for validation purposes and should be left unchanged.

IBM i Development

  • RPG, COBOL, SQL, Node,
    PHP, Python, Valance, etc.
  • Modernization. Integration.
  • Web and API Solutions
  • Legacy Maintenance
    ...
LET'S GET IT DONE!

Recent Posts

  • PHP Security Updates for November 2026
  • Still Running Net.Data on IBM i? We Can Help
  • Mitigating the eMudhra Intermediate CA Compromise with IBM i
  • Critical php2shell Security Update Available in Seiden PHP+ Server
  • Moving to IBM i 7.6? An SDA Alternative with VS Code and IBM Bob
  • What’s New with Mapepire Database Connector for IBM i
  • Do You Need IBM i Observability?
  • PHP 8.6 is Coming Soon to IBM i
  • Safer npm installation is on the way for Node.js (and all JavaScript)
  • Protecting IBM i and Web Applications from Modern Threats

SEIDEN GROUP: Modern Development & Open Source for IBM i

Home   |   Seiden PHP+   |   IBM i Services  |   Support   |   VS Code for i   |   Free Stuff   |   Blog  |   Privacy Policy  |   Contact         201.447.2437

© 2026 Seiden Group, LLC
  • Link to LinkedIn
  • Link to Mail
Scroll to top Scroll to top Scroll to top