pgm

635 pts.
Tags:
AS/400
PGM
How to create a simple PGM program and please tell me the difference between PGM and MODULE "type"
ASKED: February 25, 2008  6:41 AM
UPDATED: February 27, 2008  2:33 PM

Answer Wiki

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

If you wanted to create a very simple program and you have SEU then:

1. From the command line
2. Type in STRSEU QCLSRC SIMPLE CLLE
3. Type in PGM on the first line following ‘Beginning of data’
4. Press F3
5. Type in CRTBNDCL SIMPLE

You now have created a simple program. To call it from the command line type in CALL SIMPLE

I’m not sure what you mean by MODULE “type” (it’s the ‘type’ that’s confusing me). But for a general discussion of *PGMs, *SRVPGMs, and *MODULEs I would recommend starting with <a href=”http://publib.boulder.ibm.com/infocenter/iseries/v5r4/topic/books/sc415606.pdf”>Chapter 2 ILE Basic Concepts</a>.

Bruce Vining
<a href=”http://www.brucevining.com/”>http://www.brucevining.com/</a>

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
  • Vids
    I take into consideration that by saying Module you are refering to ILE concepts. Module is a group of code which you want to use in many programs so for this you bind this module into a program which is created using command CRTPGM. to call module within a program you can use command CALLB Module_Name. Hope it help you to understand what is Module
    295 pointsBadges:
    report
  • bvining
    Actually you call the procedure or function that is within the *MODULE. You don't actually call *MODULEs (though in many cases the *MODULE name is the same as the procedure name).
    6,240 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