<Vendor>

[1]https://msd.net.au/applications/admin4i/
Admin/4i is a comprehensive system administration tool, providing Menus,
Backups, Scheduler Management and Network Management, designed and written
specifically for the IBM i Server, (Formerly AS/400, iSeries).
Admin/4i supports both the S36 environment and IBM i native seamlessly.

</vendor>

 

Don Brown

Senior Consultant
 
[2]OneTeam IT Pty Ltd
P: 1300 088 400

-----Original Message-----
From: RPG400-L <rpg400-l-bounces@xxxxxxxxxxxxxxxxxx> On Behalf Of
konsult@xxxxxxxxxxxxxxx
Sent: Friday, 30 January 2026 12:57 AM
To: rpg400-l <rpg400-l@xxxxxxxxxxxxxxxxxx>
Subject: Calling S/36 OCL procedures from api SYSTEM or QCMDEXC

I have a client that runs most of their applications in the S/36
environment.

This means that on their regular manus each menu item runs a OCL/36
script.

They also have more and more funktions that are in IBM i native functions.

I am now trying to install a dynamic menu system that uses either
(selectable) the "system" or "qcmdexc" API-s to call functions based on
menu settings.

This works fine for calling programs or using system commands. However it
does not work at all for calling the S/36 OCL scripts.

Does anyone know of a work around?

Both "system" and "qcmdexc" api-s assume that the name of the OCL/36
script is a command object. Unfortunately.

--
This is the RPG programming on IBM i (RPG400-L) mailing list To post a
message email: RPG400-L@xxxxxxxxxxxxxxxxxx To subscribe, unsubscribe, or
change list options,
visit: [3]https://lists.midrange.com/mailman/listinfo/rpg400-l
or email: RPG400-L-request@xxxxxxxxxxxxxxxxxx
Before posting, please take a moment to review the archives at
[4]https://archive.midrange.com/rpg400-l.

Please contact support@xxxxxxxxxxxxxxxxxxxx for any subscription related
questions.

--
Message protected by MailGuard: e-mail anti-virus, anti-spam and content
filtering.
[5]https://www.mailguard.com.au

Click here to report this message as spam:
[6]https://console.mailguard.com.au/ras/2bYXWSjYDu/1VCnOKoW7eRBoyW5QrfmcJ/0.1

References

Visible links
1. https://msd.net.au/applications/admin4i/
2. https://www.oneteamit.com.au/
3. https://lists.midrange.com/mailman/listinfo/rpg400-l
4. https://archive.midrange.com/rpg400-l.
5. https://www.mailguard.com.au/
6. https://console.mailguard.com.au/ras/2bYXWSjYDu/1VCnOKoW7eRBoyW5QrfmcJ/0.1

As an Amazon Associate we earn from qualifying purchases.

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.