I'm a little shaky on service programs so I might need a little more
instructions but here is what I am finding.
This is from a program blowing up
Service
Program Library Activation Signature
CMSRV1 *LIBL *IMMED 0000000000E2B8F13A38E3DA45E0F302
QRNXIE QSYS *IMMED D8D9D5E7C9C540404040404040404040
QRNXIO QSYS *IMMED D8D9D5E7C9D640404040404040404040
QRNXUTIL QSYS *IMMED D8D9D5E7E4E3C9D34040404040404040
QLEAWI QSYS *IMMED 44F70FABA08585397BDF0CF195F82EC1
Inside CMSRV1 (service program)
Current export signature . . . . . . . . . . . . :
00000000E3C9A4274A1AF8D41CE3F302
Our CRTSRVPGM has EXPORT(*SRCFILE).
I can only find one source file with this member name.
Also, the signature on the previous version of CMSRV1 is
Current export signature . . . . . . . . . . . . :
0000000000E2B8F13A38E3DA45E0F302
Which matches what the caller is looking for.
I thought that the below from the source was what handled this.
STRPGMEXP PGMLVL(*PRV)
EXPORT SYMBOL(SCGETNVPS)
EXPORT SYMBOL(SCGETNVP)
ENDPGMEXP
-----Original Message-----
From: RPG400-L [mailto:rpg400-l-bounces@xxxxxxxxxxxx] On Behalf Of Buck
Calabro
Sent: Friday, August 12, 2016 11:22 AM
To: rpg400-l@xxxxxxxxxxxx
Subject: Re: Need help with a service program
On 8/12/2016 11:08 AM, John R. Smith, Jr. wrote:
I've done something wrong and have no clue what. We have a service
program
(CMSRV1) called by many RPGLE programs. I recently migrated a change
to it and stuff is blowing up all over with Signature Violations.
In the BND source, we have the following:
-snip-
What piece did I miss?
If you could post the CRTSRVPGM command you used, we'd be able to pinpoint
it. Best guesses:
1) EXPORT(*ALL) instead of *SRCFILE
2) EXPORT(*SRCFILE) with the wrong SRCFILE() specified. Like test vs
production.
Further diagnostics:
Do a DSPSRVPGM to see what the current signature is.
Do a DSPPGM to see what signatures the calling programs expect.
--
--buck
Visit wiki.midrange.com and register for an account. Edit a page that helps
you, and because it's public, you'll help someone else, too!
--
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.
Please contact support@xxxxxxxxxxxx for any subscription related questions.
As an Amazon Associate we earn from qualifying purchases.