问题描述
作为RPGLE和Java编码器,PASE的用途是什么.
What use is PASE to me as an RPGLE and Java coder.
如果我是Java编码器,那么在IBMi上对我来说PASE有什么用.您在职业生涯中所做的任何示例性实际事情都会有所帮助吗?
If I am a Java coder what use is PASE to me on IBMi. Any example practical things that you have done in your professional life would help?
因此,如果我是节点开发人员,则可以将其安装在PASE容器中,并调用rpgle进行DB2访问,我知道您可以直接从节点使用SQL吗?
So if I was a node developer would I install in the PASE container, and call rpgle to do DB2 access, I know you could use SQL directly from node?
关于,Jemrug
Regards,Jemrug
推荐答案
这是我关于PASE的注释(来自 https://github.com/MandyShaw/iPerimeter/blob/master/IBMi/CallPASE/ILEtoPASEProofOfConcept.pptx )
Here are my notes on PASE (from https://github.com/MandyShaw/iPerimeter/blob/master/IBMi/CallPASE/ILEtoPASEProofOfConcept.pptx)
AIX代码的运行方式与AIX完全相同,但是在维护IBM i及其存储对象的完整性方面受到限制.
AIX code running exactly as it would on AIX, though with limitations to maintain the integrity of IBM i and of its stored objects
/QOpenSys/bin等中的Unix(AIX)工件.
Unix (AIX) artefacts in /QOpenSys/bin, etc.
CALL QP2TERM或CALL QP2SHELL
CALL QP2TERM or CALL QP2SHELL
尽管接口很复杂,也可以直接从ILE程序中调用它.无法通过ILE访问PASE内存,除非通过特定的 IBM API和相关文档稀疏
Can also be called direct from an ILE program, although interfacing is complex [see my ppt]; PASE memory is not accessible from ILE except via specific IBM APIs, and relevant documentation is sparse
PASE被IBM i及其许可程序广泛使用
PASE is used extensively by IBM i and its licensed programs
从V6R1开始,IBM i Java使用PASE
From V6R1 onwards, IBM i Java uses PASE
也被某些第三方IBM i产品使用
Also used by some third party IBM i products
免费的IBM i开发人员工具5799-PTL提供了一些重要的基于PASE的工具,特别是PERL,以及一些基于Posix的工具
Free-of-charge IBM i Developer Tools, 5799-PTL, deliver several important PASE-based tools, specifically PERL, plus some Posix-based tools
通过CLI或JDBC的IBM i数据库–无需特殊处理
IBM i database via CLI or JDBC – no special treatment
在IBM i上创建PASE程序需要安装AIX C编译器-开源gcc,或由IBM提供(收费). 5799-PTL需要后者
Creation of PASE programs on IBM i requires AIX C compiler installed - open source gcc, or IBM supplied (chargeable). 5799-PTL requires the latter
您应该能够从PASE内部使用常规的Java Toolbox jt400.jar JDBC驱动程序,尽管我不清楚,为什么当您可以从IBM i内部运行相同的Java时,为什么还要打扰.
You should be able to use the usual Java Toolbox jt400.jar JDBC driver from inside PASE, though I'm honestly unclear why you would bother when you could run the same Java from inside IBM i.
我必须在ppt中进行接口才能使RPG程序与运行在PASE中的第三方产品进行通信.我使用ILE C而不是ILE RPG进行实际的接口连接,因为网络上没有足够可用的RPG示例.然后,我通过ILE RPG程序中的服务程序调用运行ILE C模块(我记得,由于必要的teraspace编译选项,我无法将其链接到程序中.)
I had to do the interfacing in the ppt to make an RPG program talk to a third party product running in PASE. I used ILE C rather than ILE RPG for the actual interfacing because there were no sufficiently usable RPG examples on the web. I then ran the ILE C module via a service program call from the ILE RPG program (as I recall, I couldn't link it into the program because of the necessary teraspace compilation option).
PASE不是容器",它只是与IBM i一起隐藏的AIX实例.
PASE isn't a 'container', it's just an AIX instance hiding alongside IBM i.
这篇关于IBM i PASE的用途是什么的文章就介绍到这了,希望我们推荐的答案对大家有所帮助,也希望大家多多支持!