|
<snip> If you find it difficult to re-create service programs, consider writing a script to do it for you. I use CL, but ReXX or RPG works great too. Create the service program by hand, and when you get it working properly, copy/paste the create command(s) into your script. Put a comment in one or all of the service program modules to CALL MYSRVPGMCRT to recreate the service program. </snip> Have you looked at my Make tool at www.think400.dk/downloads.htm? It is a free download under Compile. You can put the following in your modules: *_> CNLLSTSPLF SRCFILE(@2/@1) SRCMBR(@3) *_> DLTMOD MODULE(@5/@4) *_> CRTRPGMOD MODULE(@5/@4) SRCFILE(@2/@1) SRCMBR(@3) + *_> OPTION(*EVENTF) DBGVIEW(@9) OPTIMIZE(@8) and put the following in a header: *_> DLTSRVPGM SRVPGM(@5/@4) *_> CRTSRVPGM SRVPGM(@5/@4) MODULE(XVIFSX_M01) + *_> SRCFILE(@2/@1) SRCMBR(XVIFSX_B) BNDSRVPGM(XVERRH) + *_> TEXT('Integrated File System-Common Functions.') + *_> ACTGRP(QILE) BNDDIR(QC2LE) Or you can just combine in one header. I use a standard of: XVIFSX - Header XVIFSX_M01 - First module XVIFSX_PR - Prototype XVIFSX_B - Bindary Etc. When you run the Compile command, the commands are extracted, variables are inserted and the commands are executed. Complete instructions are included in a RTF doc. Source code is included and a compiled version at V5R1. I don't see how it is possible to create ILE objects without some from of make tool. Two many options to remember each time. This, also, make WDSC practical.
As an Amazon Associate we earn from qualifying purchases.
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.