MKS is a software package for Windows that provides a Unix-like environment for scripting and porting software. It includes several command-line shells supporting traditional Unix commands and Windows-specific commands, connectivity tools, and porting APIs.
Questions tagged [mks]
90 questions
0
votes
2 answers
Remove duplicated string stored in variable
I have a variable $var with this content:
var=word1,word2,word3,word1,word3
and I need to delete duplicate words and the results is required stored in the same variable $var.

Matias Araya
- 49
- 1
- 8
0
votes
1 answer
Item field constraint based on children field values
I would like to create a constraint on an item based on the linked child items.
I have an item called "Project" that will have child items of "Task". Both of these items types have a state field and the same values like, "In Progress", "Ready For…

Tim Schruben
- 1,535
- 1
- 12
- 10
0
votes
2 answers
PTC Integrity to get the latest code from repository
how to get the latest version of code from the MKS repository ??
using MKS commands

thejas
- 1
- 1
- 3
0
votes
1 answer
Merging text files in csh while preserving place rows
I have about 100 text files with two columns that I would like to merge into a single file in a c shell script by using factor "A".
For example, I have file A that looks like this
A B1
1 100
2 200
3 300
4 400
and File B looks like this
A B2…

RHatesMe
- 143
- 1
- 2
- 8
0
votes
1 answer
PS command column display full detail
Whilst signed on a server as "sa_brett", if I open a CMD window as an administrator (right click and run as administrator) and then type:
C:> ps -ef |grep ORACLE.EXE
I get the following:
SYSTEM 8828 644 0 07:05:06 con 57:38…

Brett
- 1
0
votes
2 answers
How do I get MKS project details based on filename?
Is there anyway to get the project under which the file is present in MKS command line interface?
I am new to CLI scripting for MKS and could not find any proper results.
All I want is
-> [command] [filename]
-> [project path]/project.pj
Any help is…

Avinash
- 55
- 1
- 9
0
votes
1 answer
How can we run reports/queries in MKS through unix
How to run reports/ Queries MKS, from UNIX without opening MKS.

priyanka patnala
- 1
- 1
0
votes
1 answer
MKS si resync returns 5
While trying to resync using si resync, we are getting an error says:
"MKS125216 The sandbox file sandbox_path_here/project.pj is not registered with the system."
When i tried on another sandbox whihc i had in my local the same command worked.
Any…

jikku
- 641
- 1
- 6
- 18
0
votes
2 answers
MKS how to display all Revisions of a member
I want to have a list of all revisions of a member.
Also for branches.
I know how to do for subprojects, but didn't find a solution for Members

Peter
- 1,629
- 2
- 25
- 45
0
votes
1 answer
What is the "Merge Base" in MKS?
From reading the MKS Integrity manual, I see the following:
The Merge From is the revision from which blocks are merged.
The Merge Base is the revision you want to use as the base for
calculating differences against the Merge From to be applied…

Jon
- 1,675
- 26
- 57
0
votes
2 answers
sed printing first 255 characters followed by entire line
I'd like to print the first 255 characters followed by entire line separated with a '^' character.
(Right now I'm testing with 10 characters at a time instead of 255.)
For example, this works fine with one huge problem:
cat myfile.txt | sed -e…

Alex
- 1,192
- 14
- 30
0
votes
1 answer
How to resynchronize with MKS via command line with Version 7.6.1.260?
I am really struggling with synchronizing my MKS project via command line/ batch file.
Currently we are using this really old version 7.6.1.260 of MKS.
So far I cannot find the si interface.
So I am trying to use the pj command. However I cannot…

jcc
- 31
- 1
- 4
0
votes
1 answer
Comparing Working and Member Revision in MKS
I want to get a list of all the files whose working revision and member revision are different. There is a command to get revisioninfo of a file (si revisioninfo) but the working file version is not displayed. Is there a command to get the working…

lerner1225
- 862
- 7
- 25
0
votes
0 answers
MKS Toolkit has stopped working during python script
When I run a python script with the following lines:
import os
host = os.environ.get('HOST')
if (host):
print(host)
I get an MKS Toolkit for Win32 prompt that says "MKS Toolkit for Win32 has stopped working."
Without those lines, the file runs…
0
votes
1 answer
Is MKS Integrity stream-based?
The book Continuous Delivery discusses stream-based VCS and I'm having to use MKS now so was wondering if MKS is of that category. Thanks
In the book it discusses IBM ClearCase as an example of stream-based VCS.

jakstack
- 2,143
- 3
- 20
- 37