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



Mostly at the moment to how one would put COBOL-coded routines into
service programs.

Yo ca do it like this:

1) Create module from the COBOL coded routine MYFOO:
CRTCBLMOD MODULE(QGPL/MYFOO) SRCFILE(MYLIB/MYSRCFILE) DBGVIEW(*NONE)
OPTIMIZE(*FULL)

2) create service program:
CRTSRVPGM SRVPGM(MYLIB/MYSRVPGM) MODULE(MYLIB/MYFOO) EXPORT(*ALL)

If you need to make changes to your module MYFOO, then you have to generate
the module again as in 1) and update your service program like here:
3) UPDSRVPGM SRVPGM(MYLIB//MYSRVPGM) MODULE(MYFOO/MYFOO) EXPORT(*ALL)

On Mon, Aug 29, 2022 at 2:57 AM Jack Woehr via COBOL400-L <
cobol400-l@xxxxxxxxxxxxxxxxxx> wrote:

On Sun, Aug 28, 2022 at 5:55 PM Jon Paris <jon.paris@xxxxxxxxxxxxxx>
wrote:

Anything in particular you are looking for Jack?

I'm sure I've got several hanging around but what in particular are you
trying to achieve?


Mostly at the moment to how one would put COBOL-coded routines into service
programs.

--

*JACK WOEHR, IBM Champion 2021-2022
<https://www.credly.com/users/jack-woehr/badges>*

*SENIOR IBM i ENGINEER*

303.847.8442
jwoehr@xxxxxxxxxxxxxxxxxxxxxxxx
stay connected
<https://www.linkedin.com/company/absolute-performance-inc./>

<https://www.absolute-performance.com/>
www.absolute-performance.com

NON-DISCLOSURE NOTICE: This communication including any and all
attachments is for the intended recipient(s) only and may contain

confidential and privileged information. If you are not the intended
recipient of this communication, any disclosure, copying further

distribution or use of this communication is prohibited. If you received
this communication in error, please contact the sender and

delete/destroy all copies of this communication immediately.
--
This is the COBOL Programming on the IBM i (AS/400 and iSeries)
(COBOL400-L) mailing list
To post a message email: COBOL400-L@xxxxxxxxxxxxxxxxxx
To subscribe, unsubscribe, or change list options,
visit: https://lists.midrange.com/mailman/listinfo/cobol400-l
or email: COBOL400-L-request@xxxxxxxxxxxxxxxxxx
Before posting, please take a moment to review the archives
at https://archive.midrange.com/cobol400-l.



As an Amazon Associate we earn from qualifying purchases.

This thread ...

Follow-Ups:
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.