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



Check to make sure that your logicals are attached to the correct LIB.
Display database relationships..
Or
When a program is open, check the lib list for any logicals that are
attached to a file in a different (old) lib

-----Original Message-----
From: bpcs-l-bounces@xxxxxxxxxxxx [mailto:bpcs-l-bounces@xxxxxxxxxxxx] On
Behalf Of bpcs-l-request@xxxxxxxxxxxx
Sent: Thursday, April 03, 2014 12:00 PM
To: bpcs-l@xxxxxxxxxxxx
Subject: BPCS-L Digest, Vol 12, Issue 28

Send BPCS-L mailing list submissions to
bpcs-l@xxxxxxxxxxxx

To subscribe or unsubscribe via the World Wide Web, visit
http://lists.midrange.com/mailman/listinfo/bpcs-l
or, via email, send a message with subject or body 'help' to
bpcs-l-request@xxxxxxxxxxxx

You can reach the person managing the list at
bpcs-l-owner@xxxxxxxxxxxx

When replying, please edit your Subject line so it is more specific than
"Re: Contents of BPCS-L digest..."


*** NOTE: When replying to this digest message, PLEASE remove all text
unrelated to your reply and change the subject line so it is meaningful.

Today's Topics:

1. BPCS Programs referring old objects (anupam sinha)
2. Re: BPCS Programs referring old objects (rob@xxxxxxxxx)


----------------------------------------------------------------------

message: 1
date: Thu, 3 Apr 2014 10:29:39 +0800 (SGT)
from: anupam sinha <anupam_sinha15@xxxxxxxxx>
subject: [BPCS-L] BPCS Programs referring old objects

Hello,

I have this unique situation. Recently, we switched our LPARS and restored
all the BPCS libraries to new LPAR and activated it for users.

We have now started discovering that in some cases programs are not making
call to the objects that are on top of library list. Rather it is making
call to the object in other library, but in library list

e.g.
PgmA in lib LIB1 calls PgmB in LIB2

this is how the lib is setup

QTEMP
LIB1
LIB3
LIB2
LIB4
LIB5

If I re-compile PgmB and place object in QTEMP and then call Pgm A, ideally
PgmB from QTEMP should be picked up. But, it is not the case. PgmA is
referring to object PgmB in LIB2

I tried renaming the PgmB in LIB2 to xxPgmBx and call PgmA, but now PgmA is
referring to xxPgmBx in LIB2

I'm not sure if this is something related to any setting in BPCS or i-Series
setting

Any help on this would be greatly appreciated

Thanks


------------------------------

message: 2
date: Thu, 3 Apr 2014 08:03:44 -0400
from: rob@xxxxxxxxx
subject: Re: [BPCS-L] BPCS Programs referring old objects

You may get better answers on the midrange-l list for this as it's not
really specific to bpcs.

You run PGMA. It calls PGMB.
You rename PGMB to XXPGMBX.
You call PGMA and it now calls XXPGMBX.

Are we sure PGMA ended with LR set on and activation groups cleared up?
Otherwise this may be the reason. There is a reason why IBM has the library
QRPLOBJ. Basically so all programs currently active don't abort if you
replace an existing program.

As far as why it originally called programs that didn't match the library
list I'd have to look at your job descriptions, how you submitted the job
during the call, see if you are using any type of binding, etc.


Rob Berendt
--
IBM Certified System Administrator - IBM i 6.1 Group Dekko Dept 1600 Mail
to: 2505 Dekko Drive
Garrett, IN 46738
Ship to: Dock 108
6928N 400E
Kendallville, IN 46755
http://www.dekko.com





From: anupam sinha <anupam_sinha15@xxxxxxxxx>
To: "bpcs-l@xxxxxxxxxxxx" <bpcs-l@xxxxxxxxxxxx>
Date: 04/03/2014 07:44 AM
Subject: [BPCS-L] BPCS Programs referring old objects
Sent by: bpcs-l-bounces@xxxxxxxxxxxx



Hello,

I have this unique situation. Recently, we switched our LPARS and restored
all the BPCS libraries to new LPAR and activated it for users.

We have now started discovering that in some cases programs are not making
call to the objects that are on top of library list. Rather it is making
call to the object in other library, but in library list

e.g.
PgmA in lib LIB1 calls PgmB in LIB2

this is how the lib is setup

QTEMP
LIB1
LIB3
LIB2
LIB4
LIB5

If I re-compile PgmB and place object in QTEMP and then call Pgm A,
ideally PgmB from QTEMP should be picked up. But, it is not the case. PgmA
is referring to object PgmB in LIB2

I tried renaming the PgmB in LIB2 to xxPgmBx and call PgmA, but now PgmA
is referring to xxPgmBx in LIB2

I'm not sure if this is something related to any setting in BPCS or
i-Series setting

Any help on this would be greatly appreciated

Thanks

As an Amazon Associate we earn from qualifying purchases.

This thread ...


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.