Sign Up

Sign Up to our social questions and Answers Engine to ask questions, answer people’s questions, and connect with other people.

Have an account? Sign In

Have an account? Sign In Now

Sign In

Login to our social questions & Answers Engine to ask questions answer people’s questions & connect with other people.

Sign Up Here

Forgot Password?

Don't have account, Sign Up Here

Forgot Password

Lost your password? Please enter your email address. You will receive a link and will create a new password via email.

Have an account? Sign In Now

You must login to ask a question.

Forgot Password?

Need An Account, Sign Up Here

Please briefly explain why you feel this question should be reported.

Please briefly explain why you feel this answer should be reported.

Please briefly explain why you feel this user should be reported.

Sign InSign Up

The Archive Base

The Archive Base Logo The Archive Base Logo

The Archive Base Navigation

  • Home
  • SEARCH
  • About Us
  • Blog
  • Contact Us
Search
Ask A Question

Mobile menu

Close
Ask a Question
  • Home
  • Add group
  • Groups page
  • Feed
  • User Profile
  • Communities
  • Questions
    • New Questions
    • Trending Questions
    • Must read Questions
    • Hot Questions
  • Polls
  • Tags
  • Badges
  • Buy Points
  • Users
  • Help
  • Buy Theme
  • SEARCH
Home/ Questions/Q 7891475
In Process

The Archive Base Latest Questions

Editorial Team
  • 0
Editorial Team
Asked: June 3, 20262026-06-03T06:37:41+00:00 2026-06-03T06:37:41+00:00

I have been looking for a recursive checkout/checkin script, and everything that I have

  • 0

I have been looking for a recursive checkout/checkin script, and everything that I have seen has been for base ClearCase only. Is there a reason for this? Does anyone have a script that can be used for ClearCase UCM?

I also don’t personally see a reason that someone would have to checkout a bunch of files at once. Are there any major pitfalls to giving someone the ability to do this?

Added:

I found this, but I am unsure if this is the best way. It seems that it has your commands. I would like them to have the ability to do this with the GUI, since they aren’t too familiar with the command line.

http://www.ibm.com/developerworks/rational/library/4687.html

Script to recursively Check Out and Check In

Note: For the following procedures, you need to have local
administration rights to be able to customize a ClearCase menu.

Checkout For the check out recursively option, do the following:
Start the clearmenuadmin.exe utility (to do this, click Start > Run, and
type clearmenuadmin.exe) In the Object type tab, select the directory
object. Choose checked-in as the Object state Click the new button in
the Available menu Choices pane, and then enter the following
information in the appropriate fields:
Menu Text: Checkout (recursively)…
Help Text: Check out the selected item recursively…
Command Type: Executable/Regentry
Command: Software\Atria\ClearCase\CurrentVersion\ContextMenus\CmdLineExe
Initial Directory:
Arguments: /c cleartool find $file -exec “cmd /c
cleartool checkout -nc \”%CLEARCASE_PN%\”” Comment:

When this is done, you can add this new menu entry to the This menu
contents pane by pressing the Add button. Position it as desired with
the Move up button. After completing this customization, choose
Configuration>Apply to apply the changes. Then you can test it in
Windows Explorer.

Checkin

For the check in recursively option, do the following: Start the
clearmenuadmin.exe utility In the Object type tab, select the
directory object. Choose checked-in as the Object state Click the new
button in the Available menu Choices pane, and then enter the
following information in the appropriate fields:
Menu Text: Checkin (recursively)…
Help Text: Check in the selected item recursively…
Command Type: Executable/Regentry
Command: Software\Atria\ClearCase\CurrentVersion\ContextMenus\CmdLineExe
Initial Directory:
Arguments: /c cleartool find $file -exec “cmd /c
cleartool checkin -nc -identical \”%CLEARCASE_PN%\”” Comment:

When this is done, you can add this new menu entry to the menu
contents pane, position it as desired, and apply the changes as
described in the previous procedure, and then test it in Windows
Explorer.Command:

Is this the best way to do it? (I understand the Arguements, but the Command is throwing me. (Is this the .exe on the local machine or server?) Can this be available to anyone or would I have to set this up on each machine that people are using?)

  • 1 1 Answer
  • 0 Views
  • 0 Followers
  • 0
Share
  • Facebook
  • Report

Leave an answer
Cancel reply

You must login to add an answer.

Forgot Password?

Need An Account, Sign Up Here

1 Answer

  • Voted
  • Oldest
  • Recent
  • Random
  1. Editorial Team
    Editorial Team
    2026-06-03T06:37:42+00:00Added an answer on June 3, 2026 at 6:37 am

    Any UCM recursive checkout would be identical to a base ClearCase one (like in “How do I perform a recursive checkout using ClearCase?“).

    The only difference would be the need to check for a current set activity, or to create/set one UCM activity before making any checkout.

    Now, UCM or not, checkout many files without knowing if they will be modified or not is not a very good idea, because you have no easy way to detect said unmodified files when it comes to check-in all the checked out files.
    (That is why a recursive checkin will have to include two steps: see “Recursive checkin using Clearcase“)

    • 0
    • Reply
    • Share
      Share
      • Share on Facebook
      • Share on Twitter
      • Share on LinkedIn
      • Share on WhatsApp
      • Report

Sidebar

Related Questions

Have been looking on some tutorials for drawing canvas using SurfaceView, but the only
I have been looking into recursion and TCO. It seems that TCO can make
Have been looking at the MVC storefront and see that IQueryable is returned from
I have been looking around for solutions, and tried to implement what is often
I have been looking into CruiseControl configuration recently (I'm a complete CC noob) and
I have been looking at many ASP.Net MVC client side validation ideas including xVal.
I have been looking to implement a custom class of : IList<ArraySegment<byte>> this will
I have been looking at LLVM lately, and I find it to be quite
I have been looking into different systems for creating a fast cache in a
I have been looking at LESS ( http://lesscss.org/ ) which adds variables and macro

Explore

  • Home
  • Add group
  • Groups page
  • Communities
  • Questions
    • New Questions
    • Trending Questions
    • Must read Questions
    • Hot Questions
  • Polls
  • Tags
  • Badges
  • Users
  • Help
  • SEARCH

Footer

© 2021 The Archive Base. All Rights Reserved
With Love by The Archive Base

Insert/edit link

Enter the destination URL

Or link to existing content

    No search term specified. Showing recent items. Search or use up and down arrow keys to select an item.