Portal | Manuals | References | Downloads | Info | Programs | JCLs | Master the Mainframes
IBM Mainframe Computers Forums Index
 
Register
 
IBM Mainframe Computers Forums Index Mainframe: Search IBM Mainframe Forum: FAQ Memberlist Usergroups Profile Log in to check your private messages Log in
 

 

Recompile a program and DCLGEN in diff LPARS together

 
Post new topic   Reply to topic    IBMMAINFRAMES.com Support Forums -> All Other Mainframe Topics
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    Post subject: Recompile a program and DCLGEN in diff LPARS together
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

Senior Member


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

PostPosted: Mon Jan 11, 2010 5:47 pm    Post subject:
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    Post subject:
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: 2435
Location: Netherlands, Amstelveen

PostPosted: Mon Jan 11, 2010 5:55 pm    Post subject:
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

Senior Member


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

PostPosted: Mon Jan 11, 2010 7:55 pm    Post subject:
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    Post subject:
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

Senior Member


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

PostPosted: Tue Jan 12, 2010 3:12 pm    Post subject:
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

Site Director


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

PostPosted: Tue Jan 12, 2010 10:26 pm    Post subject:
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    IBMMAINFRAMES.com Support Forums -> All Other Mainframe Topics All times are GMT + 6 Hours
Page 1 of 1

 

Search our Forum:

Similar Topics
Topic Author Forum Replies Posted
No new posts Writing a file using online program grvtomar PL/I & Assembler 3 Fri Jun 30, 2017 1:06 pm
No new posts pre-compiler for program in an HFS Pedro DB2 0 Fri Jun 23, 2017 11:13 pm
No new posts Compiling program in endeavor for tra... RALAKKAL Compuware & Other Tools 4 Mon Jun 05, 2017 8:27 pm
No new posts COBOL DB2 program - zIIP eligible vasanthz COBOL Programming 7 Wed May 31, 2017 5:12 am
No new posts DB2 Program abending without giving a... rahulgarg14 DB2 7 Mon May 29, 2017 8:10 pm


Facebook
Back to Top
 
Mainframe Wiki | Forum Rules | Bookmarks | Subscriptions | FAQ | Tutorials | Contact Us