how to remove a single file from sccs repository?

I want to remove a single file from SCCS repository completely.
Can I safely do 'sccs clean my_file' without impacting other files in that repository?
Thanks.
sankumanisAsked:
Who is Participating?
I wear a lot of hats...

"The solutions and answers provided on Experts Exchange have been extremely helpful to me over the last few years. I wear a lot of hats - Developer, Database Administrator, Help Desk, etc., so I know a lot of things but not a lot about one thing. Experts Exchange gives me answers from people who do know a lot about one thing, in a easy to use platform." -Todd S.

ahoffmannCommented:
why would you do that? i.g. you never delete something in the repository.

Said this: deleting a file in sccs' repository is very simple:
  rm /path/to/sccs-repository/s.your-file
0
sankumanisAuthor Commented:
I want to remove the file from the repository because I feel that I am not able to check in my latest modification.
I did the following:

1. sccs edit file
2. modify file
3. sccs delget file

The last command asks me to put a comment and looks like everything is good.
But when I do the following

4. sccs diffs file : I see the old changes still. My understanding is the diffs command shows the difference between your file in the current directory and the one in the sccs repository. So if the changes were checked in, there should be no diffs output.

5. sccs edit file : This one supposed to have checked out the latest from the repository. But when I open theis file, I see the one before the modification.

Please Note: I originally checked in the file ( first time ) from the production box by mistake with : sccs create file
Later I tried to update the changes from the development box with : sccs delget file. I never did a : sccs create file from the development machine.
0
ahoffmannCommented:
sounds strange, the only reason I'm aware of such a behaviour being valid is when you edited a branch

If the file still is version 1.1 (or just have a few changes) you can check the repository file what's in there, just do a:
   more /path/to/sccs-repository/s.your-file

the first block of lines down to the first line in your text file are SCCS control lines.
You start reading from top where the repository history is, each entry consist of 4 lines:
  s magicstring
  d detla with date, SCCS-ID, date, user, delta-IDs
  c you comment
  e  --nothing here--

you should see your comment there
if not, you're looking at the wrong file

You may try to do a   sccs val file
0

Experts Exchange Solution brought to you by

Your issues matter to us.

Facing a tech roadblock? Get the help and guidance you need from experienced professionals who care. Ask your question anytime, anywhere, with no hassle.

Start your 7-day free trial
It's more than this solution.Get answers and train to solve all your tech problems - anytime, anywhere.Try it for free Edge Out The Competitionfor your dream job with proven skills and certifications.Get started today Stand Outas the employee with proven skills.Start learning today for free Move Your Career Forwardwith certification training in the latest technologies.Start your trial today
System Programming

From novice to tech pro — start learning today.

Question has a verified solution.

Are you are experiencing a similar issue? Get a personalized answer when you ask a related question.

Have a better answer? Share it in a comment.