• Subject: Re: Calling S/36 OCL procedures from api SYSTEM or QCMDEXC
  • From: Bruno VARON <bvaron@xxxxxxxxxxx>
  • Date: Fri, 30 Jan 2026 08:19:26 +0100
  • List-archive: <https://archive.midrange.com/rpg400-l/>
  • List-post: <mailto:rpg400-l@lists.midrange.com>
  • List-subscribe: <https://lists.midrange.com/mailman/listinfo/rpg400-l>, <mailto:rpg400-l-request@lists.midrange.com?subject=subscribe>
  • List-unsubscribe: <https://lists.midrange.com/mailman/options/rpg400-l>, <mailto:rpg400-l-request@lists.midrange.com?subject=unsubscribe>
  • Ui-outboundreport: notjunk:1;M01:P0:OQNt3F6YULM=;EcBo3XI/vwSQCB1o3LkAQgBalhb 4OfvpdWgInZEO6Eab9Wj/xtp8Q5A39SuoYLMFez3SNiBrUGCXeeCVxOEn6j4eMACMhZq3+jRR MbOYRnEe+3am94y1dW2qKGKi/epOXokbQWON0OpZT8ZP1MT9CKv4CVa//cfFyOsEs79FhBXSf YYdWWOyfrMa+mIZ+wdYsqhmx/d2BKNUNt+Sb+6agit6dUokpCpxkBBNMZaoTpWze4Vjz+cTUI 08Vxgf6uQmexhXKUmo8fj2V08b0YtbvrdODZ7O04WzIPGya6oEgRbEWSXvfpeByojWLsw29Sq fguIjSGE3+TvR2R3BS2/84XslPAYUAA7Kte461dCwJzQWbEi96NCO2bA0KNvSEa4VZU809hmI iyxfxM6ksyNKlpXw9agrUw2+AjBFX6l9eCSIFq14jpszS9+e4drG3WW9MnXhdU8HUe42MFNMu DAFrdKa/ITcIr/78n7M33gEW68PN6RbFvAQbHUFFTukZ2VnrG+w4FAkvS4kVEOVoowsVqQLWW O5zjzJCesl46xPt2wV8YCxDQd4PW7Si7jQqqQhKzdOcfASUmio8XOJuDv+8zuSuSe7YUUy4Zp hXdCNF0eJg5ZeVv+Vr0zijHpXOuk2322449stmog/3FL6unXbh/69FV0CvOWiI6qWlFxUiaYS N6pnwMwAVSXJtJoowH2uoRmHGHwcd+McZzwVMe84LwmKvBF3bjREBR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GMT+01:00, konsult@xxxxxxxxxxxxxxx a écrit :
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: 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 https://archive.midrange.com/rpg400-l.

Please contact support@xxxxxxxxxxxxxxxxxxxx for any subscription related questions.


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.