IBM Mainframe Forum Index
 
Log In
 
IBM Mainframe Forum Index Mainframe: Search IBM Mainframe Forum: FAQ Register
 

Recompile a program and DCLGEN in diff LPARS together


IBM Mainframe Forums -> All Other Mainframe Topics
Post new topic   Reply to topic
View previous topic :: View next topic  
Author Message
Thailamma

New User


Joined: 11 Jan 2010
Posts: 3
Location: chennai

PostPosted: Mon Jan 11, 2010 5:13 pm
Reply with quote

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
View user's profile Send private message
Anuj Dhawan

Superior Member


Joined: 22 Apr 2006
Posts: 6250
Location: Mumbai, India

PostPosted: Mon Jan 11, 2010 5:47 pm
Reply with quote

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
View user's profile Send private message
Thailamma

New User


Joined: 11 Jan 2010
Posts: 3
Location: chennai

PostPosted: Mon Jan 11, 2010 5:51 pm
Reply with quote

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
View user's profile Send private message
PeterHolland

Global Moderator


Joined: 27 Oct 2009
Posts: 2481
Location: Netherlands, Amstelveen

PostPosted: Mon Jan 11, 2010 5:55 pm
Reply with quote

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
View user's profile Send private message
Anuj Dhawan

Superior Member


Joined: 22 Apr 2006
Posts: 6250
Location: Mumbai, India

PostPosted: Mon Jan 11, 2010 7:55 pm
Reply with quote

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
View user's profile Send private message
Thailamma

New User


Joined: 11 Jan 2010
Posts: 3
Location: chennai

PostPosted: Tue Jan 12, 2010 2:53 pm
Reply with quote

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.... icon_cry.gif icon_cry.gif icon_cry.gif
Back to top
View user's profile Send private message
Anuj Dhawan

Superior Member


Joined: 22 Apr 2006
Posts: 6250
Location: Mumbai, India

PostPosted: Tue Jan 12, 2010 3:12 pm
Reply with quote

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
View user's profile Send private message
dick scherrer

Moderator Emeritus


Joined: 23 Nov 2006
Posts: 19244
Location: Inside the Matrix

PostPosted: Tue Jan 12, 2010 10:26 pm
Reply with quote

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
View user's profile Send private message
View previous topic :: :: View next topic  
Post new topic   Reply to topic View Bookmarks
All times are GMT + 6 Hours
Forum Index -> All Other Mainframe Topics

 


Similar Topics
Topic Forum Replies
No new posts Using API Gateway from CICS program CICS 0
No new posts DB2 Event passed to the Application P... DB2 1
No new posts How to pass the PARM value to my targ... COBOL Programming 8
No new posts REXX code to expand copybook in a cob... CLIST & REXX 2
No new posts EZT program to build a flat file with... All Other Mainframe Topics 9
Search our Forums:

Back to Top