× The internal search function is temporarily non-functional. The current search engine is no longer viable and we are researching alternatives.
As a stop gap measure, we are using Google's custom search engine service.
If you know of an easy to use, open source, search engine ... please contact support@midrange.com.



John

A program on the i (a *PGM object type) is an executable - it has the low-level assembly instructions in it. There is a tool called System Service Tools, where you can actually disassemble programs. Other object also have some executable code, but we never deal with it at a developer or any other level.

I just went into an ILE program in SST and here are some representative lines

MI PROGRAM SUBTYPE: 01 NAME: BITTESTR RISC INSTRUCTIONS (HANDLEINTEGRATORERROR ADDRESS LOCATION OBJECT TEXT SOURCE STATEMENT
***** ENTRY POINT ***** 302A459005 001FD0 000000 FA41FEF3 STMD 18,0XFEF0(1)
302A459005 001FD4 000004 7C0802A6 MFSPR 0,8 302A459005 001FD8 000008 F8010028 STD 0,0X28(1) 302A459005 001FDC 00000C F821FE01 STDU 1,0XFE00(1)
302A459005 001FE0 000010 605C0000 ORI 28,2,0 302A459005 001FE4 000014 F8410020 STD 2,0X20(1) 302A459005 001FE8 000018 3C004413 ADDIS 0,0,17427 302A459005 001FEC 00001C F8010008 STD 0,0X8(1) 302A459005 001FF0 000020 33FF0D00 ADDIC 31,31,3328
302A459005 001FF4 000024 7C2001C8 TXER 1,0,35 302A459005 001FF8 000028 419D8003 BCLA 12,29,0X8000
302A459005 001FFC 00002C EB620068 LD 27,0X68(2) 302A459005 002000 000030 607D0000 ORI 29,3,0 302A459005 002004 000034 EB5C0020 LD 26,0X20(28) 302A459005 002008 000038 635E0000 ORI 30,26,0
Note that is says RISC instructions - RISC is the chip, so this is assembly language.

In ILE there are linkages happening at different times - early or late - early is at compile time, late is at run-time. Late is like DLLs in Windows - the linkage is established as needed, not when the program is created.

So service programs (like DLLs) and programs both will have true machine-executable code - not interpretation.

HTH
Vern

McKown, John wrote:
-----Original Message-----
From: midrange-l-bounces@xxxxxxxxxxxx [mailto:midrange-l-bounces@xxxxxxxxxxxx] On Behalf Of Charles Wilt
Sent: Friday, December 12, 2008 11:27 AM
To: Midrange Systems Technical Discussion
Subject: Re: Question on TIMI implementation.

John,

Note that the pSeries doesn't support any of this. Its an iSeries only
thing. In fact, its one of the things that makes the System i so cool.
I'll assume the pSeries in your message was a typo, but don't do it again!
<grin>

The Inside the AS/400 book mentioned before will have more details, but
basically when you compile a ILE or OPM program, the intermediate form of
the program is stored in the actual program object along with the executable
form that uses actual hardware instructions. This allows the system to
re-translate (convert) the program when nescessary. This usually occurs
during SAVE/RESTORE of the program, first use of the program, or when you
explictly as for it to occur.


I was kind-of going on the fact that the iSeries and pSeries are
actually on the identical architecture, hardware-wise. I.e. both are on
Power. I just didn't say it very well.

Supposedly my copy of "Inside the AS/400" will be arriving on Monday.

--
John McKown Systems Engineer IV
IT

Administrative Services Group

HealthMarkets(r)
Administrative Services Group
9151 Boulevard 26 * N. Richland Hills * TX 76010
(817) 255-3225 phone * (817)-961-6183 cell
john.mckown@xxxxxxxxxxxxxxxxx * www.HealthMarkets.com

Confidentiality Notice: This e-mail message, including any attachments,
is for the sole use of the intended recipient(s) and may contain
confidential or proprietary information. Any unauthorized review, use,
disclosure or distribution is prohibited. If you are not the intended
recipient, please contact the sender by reply e-mail and destroy all
copies of the original message.


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-2024 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.