View previous topic :: View next topic
|
Author |
Message |
Thailamma
New User
Joined: 11 Jan 2010 Posts: 3 Location: chennai
|
|
|
|
Hi,
I have a program and a DCLGEN in different LPARS (say A and B). I want to recompile them together for a production issue.
I tried creating participating packages for a program in LPAR A and DCLGEN in LPAR B and tried putting them in a complex/super package (in LPAR A).
It says package not found..(pointing to the package in LPAR B)
can you help to resolve this. |
|
Back to top |
|
|
Anuj Dhawan
Superior Member
Joined: 22 Apr 2006 Posts: 6250 Location: Mumbai, India
|
|
|
|
Package? - are you talking about change man?
Well, this is a site specific question - so far what I've seen (and by package if you mean change man package) scope of changes in some package is limited to the LPAR it's getting changed - you can "promote" to other LPAR but the concept of "participating" or "super packages" does not work across LPARs...AFAIK. |
|
Back to top |
|
|
Thailamma
New User
Joined: 11 Jan 2010 Posts: 3 Location: chennai
|
|
|
|
Hi...
thanks for the reply..
Yes i meant the changeman package only.
Can you plz provide me the steps to promote from one LPAR to other. |
|
Back to top |
|
|
PeterHolland
Global Moderator
Joined: 27 Oct 2009 Posts: 2481 Location: Netherlands, Amstelveen
|
|
|
|
Your DCLGEN output is placed as a copybook member in a library.
If that library is shared between LPAR's you have to supply that library
in your Cobol DB2 Compile JCL. |
|
Back to top |
|
|
Anuj Dhawan
Superior Member
Joined: 22 Apr 2006 Posts: 6250 Location: Mumbai, India
|
|
|
|
You're asking a site-specifc question which would be tough to answer from a Forum.
And the way you have described your problem I'm not pretty sure if what I say would work for you... DCLGEN, as Peter said, is used as a copybook - so either get that DCLGEN generated in the LPAR where you have your change-man and the program or read what Peter has suggested.
Promoting options s usbject to change shop to shop, it is usally listed as shown below, third option is of your use.
Code: |
. . . . . . . . . . . . . . . . . . . . . . . . . . .
--------- SERENA ChangeMan 5.6.2B Primary Option Men NOTIFICATION UPDATED
OPTION ===>
1 Build - Create, update and review package data
2 Freeze - Freeze or unfreeze a package
3 Promote - Promote or Demote a package
4 Approve - Approve or reject a package
.
.
X Exit - Exit SERENA ChangeMan
Press ENTER to process; enter END command to exit. |
|
|
Back to top |
|
|
Thailamma
New User
Joined: 11 Jan 2010 Posts: 3 Location: chennai
|
|
|
|
Hi,
The DCL GEN is being shared by many programs so making a copy of it to a specific program is not a right choice to go now.
my problem is, All the other program which uses the DCLGEN is in the same LPAR as DCLGEN , but one program in my scope is in another LPAR.
Some one before me has compiled the DCLGEN and this program having them in Different LPARS. But donno how they have done it.
And answer to the solution for promoting to another LPAR is not working in this case. (From my experience , promoting a package is done to point to different databases and not to point to another LPAR..if i'm not wrong..)
Any other way plz.... |
|
Back to top |
|
|
Anuj Dhawan
Superior Member
Joined: 22 Apr 2006 Posts: 6250 Location: Mumbai, India
|
|
|
|
It's a site specific question, as I said earlier - Forum can not help you much. Please get in contact with some one at your shop, who has done this in past. |
|
Back to top |
|
|
dick scherrer
Moderator Emeritus
Joined: 23 Nov 2006 Posts: 19244 Location: Inside the Matrix
|
|
|
|
Hello,
As Anuj mentioned, you need to work with your local database/compile/bind support people.
Quote: |
The DCL GEN is being shared by many programs so making a copy of it to a specific program is not a right choice to go now. |
This is a very good reason to make a copy (preferable with a new name) to use in the "other" environment for this special case. . .
Possibly i misunderstand. . . |
|
Back to top |
|
|
|