Tek-Tips is the largest IT community on the Internet today!

Members share and learn making Tek-Tips Forums the best source of peer-reviewed technical information on the Internet!

  • Congratulations IamaSherpa on being selected by the Tek-Tips community for having the most helpful posts in the forums last week. Way to Go!

Need list of my checked out files 1

Status
Not open for further replies.

mars19301

MIS
May 31, 2001
69
US
How do I get a list of my checked out files. Is this an Informix function or HP or Unix? Thank you in advance for helping this newbie.

Jim
[bull]
 
Jim:

When someone says "checked out files", I think of source code control system which isn't part of Informix. The generic systems are either RCS or SCCS.

Regards,

Ed
 
Thank you olded. Very helpful.
I know we use RCS. So then how do I get such a list. Our weekly cron used to provide such a list but our resident expert blew it away. I typically would check in 10 or 20 files a week that I worked on the previous week. Since my working list has been gone for a month, I anticipate mucho.
Any more insight will be appeciated. Thanks.

Jim
[bull]
 
Jim:

I'm not an RCS expert, but the rlog, print log info about RCS files, is probably the command you want. I'd read the man pages on rlog, but here's a couple of examples: Assuming your RCS directory is a subdirectory:

RCS -L -R RCS/*

gives you all the files that are locked.

RCS -L -h RCS/*

gives you all the files locked with just the header info.

Armed with this, you should be able to write a shell script to just get files with your lock.

Let me know if you need some help with this, and I'll help further.

Regards,


Ed
 
Jim:

Quick update:

Forget the shell script. This command:

rlog -R -L -linformix RCS/*

provides all the files locked by user informix.

Regards,

Ed
 
Status
Not open for further replies.

Part and Inventory Search

Sponsor

Back
Top