Utility Program

75 pts.
Tags:
AS/400
can we see the code behind an utility program in as/400? I mean *date, *day... like such utilities?

Answer Wiki

Thanks. We'll let you know when a new response is added.

Hi,

Can you be a bit more specific about what you mean by utilities? *date and *day are not utilities, they’re special values used in programs.

Regards,

Martin Gilbert.

Discuss This Question: 2  Replies

 
There was an error processing your information. Please try again later.
Thanks. We'll let you know when a new response is added.
Send me notifications when members answer or reply to this question.

REGISTER or login:

Forgot Password?
By submitting you agree to receive email from TechTarget and its partners. If you reside outside of the United States, you consent to having your personal data transferred to and processed in the United States. Privacy
  • Kundankumar 83
    Hi, *date and *day are not utilities, they are system values, ...But there will be some codes at that back end , whose execution returns these system value. I am talking about these codes , can we see those codes or not. Regards, Kundan Kumar
    75 pointsBadges:
    report
  • Sloopy
    No, you can't see the code beneath the special values. However, an RPG program is put together from calls to system-supplied building blocks and to MI commands. The building-blocks are expressed as calls to compiled code written in any of a number of languages - for example, C, MI, and the internal smalltalk-like language that I believe IBM uses fo most iSeries internal code, although I may be a bit out of date on that! In non-ILE (OPM) RPG you can create the program with an option to produce a listing of the intermediate code generated by the compiler. This is actually an MI program, like assembly code. In such a listing, you can see the calls and commands that underly the built-in functions, operation codes and predefined values. However, there does not seem to be a similar option for ILE RPG programs. If you are interested in the MI, look here: http://publib.boulder.ibm.com/iseries/v5r2/ic2924/index.htm?info/apis/qmatctx.htm It is possible to use SEU to create programs written completely in MI, and there are utilities available to compile such program sources. You would have to call such programs explicitly in your RPG program; you would not be able to create a new 'BIF' or operation code. Regards, Sloopy. btw - Hi, Martin - I'm not deliberately following you around! :-D
    2,195 pointsBadges:
    report

Forgot Password

No problem! Submit your e-mail address below. We'll send you an e-mail containing your password.

Your password has been sent to:

To follow this tag...

There was an error processing your information. Please try again later.

REGISTER or login:

Forgot Password?
By submitting you agree to receive email from TechTarget and its partners. If you reside outside of the United States, you consent to having your personal data transferred to and processed in the United States. Privacy

Thanks! We'll email you when relevant content is added and updated.

Following