It's all about the answers!

Ask a question

Loading a single component with lscm

Jeff Sloyer (3146) | asked Jun 30 '14, 3:23 p.m.
 I am trying to use lscm to create a workspace and then load the files from a particular component.

I have a single stream with 2 components in it.

I saw through some docs you can use a load rule to load a particular component.  Is there anyway I can just load a component by name instead?

Here are the commands I am using.

${LSCM} create workspace -r jazzhub -s myproject workspace
${LSCM} load -r jazzhub workspace --force

One answer

permanent link
Arne Bister (2.6k12732) | answered Jun 30 '14, 6:47 p.m.

if you type >lscm help load
you are given all the valid options. To load a particular component simply add the component name or UUID as [remote-path...] parameter at the end of the command, i.e.
${LSCM} load -r jazzhub workspace --force ${COMP_UUID}

If this answers your question please mark it as accepted.
- Arne

Your answer

Register or to post your answer.