View previous topic :: View next topic
|
Author |
Message |
balakrishna reddy
Active User
Joined: 13 Jul 2007 Posts: 128 Location: Guntur
|
|
|
|
Hi All,
Can anyone please tell me how to rename a component in changeman tool. |
|
Back to top |
|
|
Anuj Dhawan
Superior Member
Joined: 22 Apr 2006 Posts: 6248 Location: Mumbai, India
|
|
|
|
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 |
|
|
Devzee
Active Member
Joined: 20 Jan 2007 Posts: 684 Location: Hollywood
|
|
|
|
As suggested, you got to Add component with New name and Delete Old component name. |
|
Back to top |
|
|
Agni
New User
Joined: 22 Nov 2007 Posts: 83 Location: Chennai
|
|
|
|
Hi Balakrishna,
I need an information. Is that component is in the package or in production?
Thanks
Agni. |
|
Back to top |
|
|
Anuj Dhawan
Superior Member
Joined: 22 Apr 2006 Posts: 6248 Location: Mumbai, India
|
|
|
|
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... |
|
Back to top |
|
|
Agni
New User
Joined: 22 Nov 2007 Posts: 83 Location: Chennai
|
|
|
|
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 |
|
|
Anuj Dhawan
Superior Member
Joined: 22 Apr 2006 Posts: 6248 Location: Mumbai, India
|
|
|
|
Agni wrote: |
you can rename it by stage option. |
Hi,
Please share the option if You can. |
|
Back to top |
|
|
Devzee
Active Member
Joined: 20 Jan 2007 Posts: 684 Location: Hollywood
|
|
|
|
Quote: |
staging we can give some other name as we want |
Isnt this same as
Quote: |
Add component with New name |
|
|
Back to top |
|
|
Agni
New User
Joined: 22 Nov 2007 Posts: 83 Location: Chennai
|
|
|
|
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 |
|
|
Anuj Dhawan
Superior Member
Joined: 22 Apr 2006 Posts: 6248 Location: Mumbai, India
|
|
|
|
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 |
|
|
Anuj Dhawan
Superior Member
Joined: 22 Apr 2006 Posts: 6248 Location: Mumbai, India
|
|
|
|
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 |
|
|
Devzee
Active Member
Joined: 20 Jan 2007 Posts: 684 Location: Hollywood
|
|
|
|
Anuj,
You have to give the member name
DATASET NAME ===> 'XXXXXX.ANUJ.PDS(OLDMEM)' |
|
Back to top |
|
|
balakrishna reddy
Active User
Joined: 13 Jul 2007 Posts: 128 Location: Guntur
|
|
|
|
Hi,
This is same as again compiling the code with some different name.
any how thanks to all for your replies. |
|
Back to top |
|
|
Anuj Dhawan
Superior Member
Joined: 22 Apr 2006 Posts: 6248 Location: Mumbai, India
|
|
|
|
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 |
|
|
|