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

how to rename a component in changeman tool


IBM Mainframe Forums -> Compuware & Other Tools
Post new topic   Reply to topic
View previous topic :: View next topic  
Author Message
balakrishna reddy

Active User


Joined: 13 Jul 2007
Posts: 128
Location: Guntur

PostPosted: Wed Feb 20, 2008 11:06 am
Reply with quote

Hi All,

Can anyone please tell me how to rename a component in changeman tool.
Back to top
View user's profile Send private message
Anuj Dhawan

Superior Member


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

PostPosted: Wed Feb 20, 2008 12:45 pm
Reply with quote

Hi,

Create a Memeber in a PDS, with desired name, check out this member in CMNN (changeman) package, cut paste the code from 'previous' component to this newly cheked out member. Componet name is changed.There is no direct command I know.
Back to top
View user's profile Send private message
Devzee

Active Member


Joined: 20 Jan 2007
Posts: 684
Location: Hollywood

PostPosted: Wed Feb 20, 2008 7:48 pm
Reply with quote

As suggested, you got to Add component with New name and Delete Old component name.
Back to top
View user's profile Send private message
Agni

New User


Joined: 22 Nov 2007
Posts: 83
Location: Chennai

PostPosted: Wed Feb 20, 2008 7:58 pm
Reply with quote

Hi Balakrishna,

I need an information. Is that component is in the package or in production?

Thanks
Agni.
Back to top
View user's profile Send private message
Anuj Dhawan

Superior Member


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

PostPosted: Wed Feb 20, 2008 8:32 pm
Reply with quote

Agni wrote:
I need an information. Is that component is in the package or in production?
Hi,

What difference will it make in changing name of a component in changeman package... icon_confused.gif
Back to top
View user's profile Send private message
Agni

New User


Joined: 22 Nov 2007
Posts: 83
Location: Chennai

PostPosted: Wed Feb 20, 2008 9:15 pm
Reply with quote

Hi,

If you had already checked out that particular component from production, you can rename it by stage option. While staging we can give some other name as we want.

Thanks
Agni
Back to top
View user's profile Send private message
Anuj Dhawan

Superior Member


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

PostPosted: Thu Feb 21, 2008 2:12 am
Reply with quote

Agni wrote:
you can rename it by stage option.
Hi,

Please share the option if You can.
Back to top
View user's profile Send private message
Devzee

Active Member


Joined: 20 Jan 2007
Posts: 684
Location: Hollywood

PostPosted: Thu Feb 21, 2008 8:29 am
Reply with quote

Quote:
staging we can give some other name as we want

Isnt this same as
Quote:
Add component with New name
Back to top
View user's profile Send private message
Agni

New User


Joined: 22 Nov 2007
Posts: 83
Location: Chennai

PostPosted: Thu Feb 21, 2008 2:55 pm
Reply with quote

Hi Anuj,

If you had checked out a component called 'XXXXXXXX' and it is in a package. If you want to change the name of that component to 'XXXXXXXY', then follow the below steps.

1) The component 'XXXXXXXX' in the package will be there in a PDS. You need to give the details of the PDS and the member in the stage option.

Code:

6  Stage     - Stage, edit, browse and delete components


and then

Code:

OPTION  ===> 1
PACKAGE ID ===> <give ur package ID here>                                         
                                                                   
  1  Dev       - Stage components from development libraries       
  2  Package   - Process package components                         
  3  Parms     - Specify component list selection criteria         
                                                                   
Press ENTER to process; Enter END command to exit.                 
                                                                   


and then

Code:

OTHER PARTITIONED OR SEQUENTIAL DATASET:                               
   DATASET NAME   ===>  <ur dataset name here with member in brackets>                                               
   ORGANIZATION   ===>           (PDS, SEQ, PAN, LIB, OTH)             
                                                                       
LIBRARY TYPE      ===>           (Blank for list)                     
STAGE NAME        ===>           (Optional if organization not SEQ)   
CONFIRM REQUEST   ===> YES       (Y/N)                                 
STAGE MODE        ===> 1         (1-Foreground, 2-Batch)               
LOCK COMPONENT    ===> NO        (Y/N)   
                             


In the above screen give the stage name as 'XXXXXXXY'

Please let me know if you have any doubts.

Thanks
Agni
Back to top
View user's profile Send private message
Anuj Dhawan

Superior Member


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

PostPosted: Thu Feb 21, 2008 9:16 pm
Reply with quote

Well,

I've already tried this option in past, this option always gave me the error "Invalid stage name". I'm not connected to mainframes just now to check it. Will get back to You once I try it again.
Back to top
View user's profile Send private message
Anuj Dhawan

Superior Member


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

PostPosted: Thu Feb 21, 2008 9:33 pm
Reply with quote

Hi Agni,

I checked it & got the same error message, see the right top corner in below code:

Code:
--------------------------- STAGE: FROM DEVELOPMENT ------- STAGE NAME INVALID
COMMAND ===> ________________________________________________                 
                                                                               
      PACKAGE ID: GMS1012828      STATUS: DEV      INSTALL DATE: 20081223     
                                                                               
ISPF LIBRARY:                                                                 
   PROJECT   ===> ________                                                     
   GROUP     ===> ________________________________                             
   TYPE      ===> ________                                                     
   MEMBER    ===> ________       (Blank or pattern for list; * for all members)
                                                                               
OTHER PARTITIONED OR SEQUENTIAL DATASET:                                       
   DATASET NAME   ===> 'XXXXXX.ANUJ.PDS'                                       
   ORGANIZATION   ===> ___       (PDS, SEQ, PAN, LIB, OTH)                     
                                                                               
LIBRARY TYPE      ===> SRC       (Blank for list)                             
STAGE NAME        ===> ANUJ  (Optional if organization not SEQ)           
CONFIRM REQUEST   ===> YES       (Y/N)                                         
STAGE MODE        ===> 1         (1-Foreground, 2-Batch)                       
LOCK COMPONENT    ===> NO        (Y/N)                                         
                                                                               
Press ENTER to process; Enter END command to exit.                             


Am I missing something from what do You want to convey...or I think it's jsut not possible in changeman.
Back to top
View user's profile Send private message
Devzee

Active Member


Joined: 20 Jan 2007
Posts: 684
Location: Hollywood

PostPosted: Thu Feb 21, 2008 10:01 pm
Reply with quote

Anuj,

You have to give the member name
DATASET NAME ===> 'XXXXXX.ANUJ.PDS(OLDMEM)'
Back to top
View user's profile Send private message
balakrishna reddy

Active User


Joined: 13 Jul 2007
Posts: 128
Location: Guntur

PostPosted: Fri Feb 22, 2008 12:38 pm
Reply with quote

Hi,

This is same as again compiling the code with some different name.

any how thanks to all for your replies.
Back to top
View user's profile Send private message
Anuj Dhawan

Superior Member


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

PostPosted: Sat Feb 23, 2008 1:16 pm
Reply with quote

balakrishna reddy wrote:
This is same as again compiling the code with some different name.
Yes this is what Devzee has pointed out in his earlier post.


Quote:
You have to give the member name
Thanks for pointing Devzee, that was a typo actually. But the option shown does not give such a facility as 'R' (Rename ) line command for user defined PDSs ...I think there is no other way round in change man for this.
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 -> Compuware & Other Tools

 


Similar Topics
Topic Forum Replies
No new posts Changeman - how can we know the curr... Compuware & Other Tools 2
No new posts Error while running web tool kit REXX... CLIST & REXX 5
No new posts Mass JCL release via IDZ tool(eclipse... CA Products 1
No new posts SXP Tool for PL1 or Module library ma... PL/I & Assembler 0
No new posts REXX/CLIST tool for BCSR and EDSR CLIST & REXX 2
Search our Forums:

Back to Top