View previous topic :: View next topic
|
Author |
Message |
anatol
Active User
Joined: 20 May 2010 Posts: 121 Location: canada
|
|
|
|
Hi,
We are using RDz 9.1. We have some members in top level of SCLM hierarchy with obsolete SCLM languade. When I try to check-out member I have SCLM error:
********************** SCLM MESSAGES ***********************
FLM87107 - EDIT SUCCEEDED FOR MEMBER YX999TF AT 10:35:22, CODE: 4
FLM87107 - LOCK SUCCEEDED FOR MEMBER YX999TF AT 10:35:23, CODE: 0
FLM04006 - LANGUAGE: PLION IS NOT DEFINED IN THE PROJECT DEFINITION.
FLM87107 - SAVE FAILED FOR MEMBER YX999TF AT 10:35:30, CODE: 8
FLM84110 - WARNING - BUILD MAP NOT DELETED BECAUSE IT DOES NOT EXIST
**************************************************************
To fix the language in host ISPF I can edit member in SCLM, then using SPROF command change language to valid language.. How can I change language in RDz, if member is already in top level, not in development level? |
|
Back to top |
|
|
Ed Goodman
Active Member
Joined: 08 Jun 2011 Posts: 556 Location: USA
|
|
|
|
I'm having trouble getting the link URL to work, but here is the "book"
pic.dhe.ibm.com/infocenter/ratdevz/v8r5/index.jsp?topic=%2Fcom.ibm.etools.team.sclm.bwb.doc%2Ftopics%2Fintroduction.html
In there, find the section on SCLM functions, then the section on "Update member details"
Just in case you can't get to it, it reads:
Managing change and releases > Introduction to the SCLM Developer Toolkit > SCLM Functions
Update Member Details
This function can be invoked by selecting an SCLM controlled member, right clicking and selecting Update Member Details. The Update member details page is displayed allowing you to change the language type and add a change code. This dialog is also be invoked when checking in a locked member.
The change requirement can be enforced by SCLM. If this property is set in the SCLM project then a change code must be entered to enable the member to be checked into SCLM. |
|
Back to top |
|
|
anatol
Active User
Joined: 20 May 2010 Posts: 121 Location: canada
|
|
|
|
Thank, you Ed... you know I've posted the same question on the RDz forum - no answer yet... but your suggestion hint me to the next investigation steps ... I've tried before to use Update member details, but when I klick to the option nothing shows up... after your post I tried it to lowest level - it worked.... maybe it is because of top level member, or my access... any way - thank you very much |
|
Back to top |
|
|
Ed Goodman
Active Member
Joined: 08 Jun 2011 Posts: 556 Location: USA
|
|
|
|
Yes, that sounds right. You can only change the language of a member at a development level.
I'm stoked that this worked for you!
If you have access to the mainframe environment, you might find it easier to do this type of update using TSO. There is a really good SCLM interface that you can call from batch. You could "draw down"/"check out" all the modules, and save them with a different language.
If it's just one or two, it's probably not worth it, but for a whole libray, it would be a lot faster. |
|
Back to top |
|
|
anatol
Active User
Joined: 20 May 2010 Posts: 121 Location: canada
|
|
|
|
Yes , in ISPF SCLM it's easy to change language with SPROF, but looks like imposible in RDz - it failed in copy to lowest level, where I can change the language. |
|
Back to top |
|
|
Ed Goodman
Active Member
Joined: 08 Jun 2011 Posts: 556 Location: USA
|
|
|
|
Now I'm confused:
"I tried it to lowest level - it worked...."
"it failed in copy to lowest level"
Didi it work or not? |
|
Back to top |
|
|
anatol
Active User
Joined: 20 May 2010 Posts: 121 Location: canada
|
|
|
|
If I bring member down to the lowest level using ISPF SCLM in tso ( without RDz) , then I can change language for that member in RDz... if I tried to edit member in RDz in top level - check out to lowest level, then I have error:
FLM87107 - SAVE FAILED FOR MEMBER YX999TF AT 10:35:30, CODE: 8 , member stays in top level and I cannot change the language there |
|
Back to top |
|
|
Ed Goodman
Active Member
Joined: 08 Jun 2011 Posts: 556 Location: USA
|
|
|
|
Can you bring it down first in RDz, THEN change the language? |
|
Back to top |
|
|
Ed Goodman
Active Member
Joined: 08 Jun 2011 Posts: 556 Location: USA
|
|
|
|
OK, wait...I just came back and re-read what you wrote.
So, you can;t draw it down AT ALL in RDz? Not even if you DON'T try to change the language?
RC = 8 is something specific in SCLM, it's not just a general error message level. I want to say that it's something with the number of includes, but I'm not where my manual is right now. |
|
Back to top |
|
|
anatol
Active User
Joined: 20 May 2010 Posts: 121 Location: canada
|
|
|
|
yes, you are right - I can check-out any member from top level to lowest level, if language is valid... cannot do the same to any member with wrong language ... save failed with error in my initial post |
|
Back to top |
|
|
Ed Goodman
Active Member
Joined: 08 Jun 2011 Posts: 556 Location: USA
|
|
|
|
OK, I have caught up with you and think I understand. What i missed was that the language was not just obsolete, but was no longer a part of the SCLM definition.
It seems like the RDz version is not using the full "save" command from SCLM:
FLMCMD SAVE,project,[prj_def]
,group,type,member
,[authcode],[access_key]
,[userid],[language]
,[Y|N]
,[ddname],[C|U]
,[C|U]
,[change_code]
That command has the option of changing the language during the operation:
language
The language of the member. The maximum parameter length is 8 characters.
You must specify the language the first time you save a member; after that a
language name is optional. If not specified, the language will default to the
language already defined for the member. Specify a different language name if
you wish to change the name of the language defined for the member. Parsers
will be called based on the current value specified.
So, if you want, I can help you create a batch job to run on the mainframe to automate some of the work. You'd need to get the list of members together. |
|
Back to top |
|
|
anatol
Active User
Joined: 20 May 2010 Posts: 121 Location: canada
|
|
|
|
Thank, you ... You gave me the idea, I know now how to do it ..I will use not batch, but will create a REXX ... thank you |
|
Back to top |
|
|
|