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



There is a document on the Turnover Support Site that addresses ILE objects.  I don't have a link but it is "Supplement #60 - Managing ILE Programs".


Roger Harman
COMMON Certified Application Developer – ILE RPG on IBM i on Power

 
 


Date: Tue, 18 Aug 2015 12:00:00 -0400
Subject: Challenges using service programs, binding directories, etc.
From: dan27649@xxxxxxxxx
To: RPG400-L@xxxxxxxxxxxx

(A followup to my thread "External procedure call returns a value. Does it
need to be a service program?")

So, I had a bit more discussion with my supervisor about the utility I
packaged up in a service program, and the major qualms appear to be related
with maintaining either a) the service program, and/or b) the programs that
use them.

Apparently, there was a highly regarded, talented developer who is no
longer with the company and who packaged a bunch of procedures in a service
program. The service program is used fairly extensively here, but anytime
anyone needs to modify something in the service program, or modify
something in the programs that use the service program, there is a
"gnashing of teeth" because of a history of gotchas that prolonged what
should have been a simple modification/compile into "WTH isn't this
working?" trial of chasing down things related to the service program. My
supervisor did not give details on what the issues were, as they rarely
need to touch the affected applications anymore, so I don't know what the
exact issues were. But, obviously, the battle scars are still kinda raw.

I may be asked to present my case to the "group of 3" development leaders
here, and it would be nice if I can present how to overcome the typical
challenges. If anyone is aware of articles that discuss this and, as well,
the benefits to using service programs, I would appreciate links.

Other factors:
1) To my knowledge, no one here is an "expert" on service programs, binding
directories, etc.

2) We use Turnover here, and, so, there is a specific way to set up a
service program and related objects, but I haven't been able to find any
documentation that shows the details on this. I have the user guide, but
searching for guidance on their TCRTSRVPGM command was fruitless (no help
on the command itself), and I'll need to understand parameters like EXPORT:
Create command for RPGSRV type code: SOFTTURNE/TCRTSRVPGM
SRVPGM("&LI"/"&OB") EXPORT(*SRCFILE) SRCFILE(*LIBL/QSRVSRC) ACTGRP(*CALLER)
OPTION(*DUPPROC *DUPVAR) USRPRF(*OWNER)

3) We are very tight on developer resources, and have been for a long
time. There's nothing to indicate that the "group of 3" is reluctant to
move forward on doing things better, but at the end of the day, there's
work to be done, and a huge backlog waiting for them. I think if I were
able to provide a documented, proven process to handle service programs, it
might go a long way in gaining wider acceptance.

- Dan
--
This is the RPG programming on the IBM i (AS/400 and iSeries) (RPG400-L) mailing list
To post a message email: RPG400-L@xxxxxxxxxxxx
To subscribe, unsubscribe, or change list options,
visit: http://lists.midrange.com/mailman/listinfo/rpg400-l
or email: RPG400-L-request@xxxxxxxxxxxx
Before posting, please take a moment to review the archives
at http://archive.midrange.com/rpg400-l.


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.