variable:tmsscmdstring
Differences
This shows you the differences between two versions of the page.
Both sides previous revisionPrevious revisionNext revision | Previous revision | ||
variable:tmsscmdstring [2020/04/20 03:35] – [Example] Scott Cunliffe | variable:tmsscmdstring [2025/01/21 22:07] (current) – external edit 127.0.0.1 | ||
---|---|---|---|
Line 7: | Line 7: | ||
===== Example ===== | ===== Example ===== | ||
- | Using TMSS10MoveList output as an example, the standard output displays Volume-ID, Current and Target | + | Using [[cli: |
- | <sxh> | + | <code> |
| | ||
Line 41: | Line 41: | ||
| | ||
- | </sxh> | + | </code> |
- | When the Variable TMSSCMDSTRING is set before the execution of the Command Line program | + | When the [[variable: |
- | Setting TMSSCMDSTRING to an ejection script for a TSM instance, listing all Volume-ID' | + | Setting |
- | <sxh> | + | <code> |
set TMSSCMDSTRING=checkout libvol DC1_LIB0 $volume-id checklabel=yes remove=yes | set TMSSCMDSTRING=checkout libvol DC1_LIB0 $volume-id checklabel=yes remove=yes | ||
- | </sxh> | + | </code> |
- | When TMSS10MoveList is executed, the output will print out the assigned string, exchanging the variable $volume-id with the current Volume-ID. | + | When [[cli: |
The resulting output will now be: | The resulting output will now be: | ||
- | <sxh> | + | <code> |
checkout libvol DC1_LIB0 210498L6 checklabel=yes remove=yes | checkout libvol DC1_LIB0 210498L6 checklabel=yes remove=yes | ||
checkout libvol DC1_LIB0 210701L6 checklabel=yes remove=yes | checkout libvol DC1_LIB0 210701L6 checklabel=yes remove=yes | ||
checkout libvol DC1_LIB0 210959L6 checklabel=yes remove=yes | checkout libvol DC1_LIB0 210959L6 checklabel=yes remove=yes | ||
checkout libvol DC1_LIB0 211049L6 checklabel=yes remove=yes | checkout libvol DC1_LIB0 211049L6 checklabel=yes remove=yes | ||
- | </sxh> | + | </code> |
+ | |||
+ | ===== Variables ===== | ||
Variables available include: | Variables available include: |
variable/tmsscmdstring.1587353750.txt.gz · Last modified: 2025/01/21 22:07 (external edit)