The VMPTFS command in VM:Manager only supports the FILE option.
A stack option could be nice too..?
Hello Alain, unfortunately you used a type of question rather than Idea. enhancement needs to be raised as IDEA in the community, so that Productmanager could review them. Unfortuntaely, i am unable to convert a question into an idea. Could you please raise the same as a type of idea? I can then update the question to point to the idea. Sorry for the inconvenience. Regards
Additional information provided to the customer it his case are:
The fact that you are requesting a "STACK" option indicates that you need or want to run VMPTFS from a program of some kind ... otherwise a STACK option has no value.
Here are a couple lines you can add to your program to easily get the VMPTFS output in a .STEM variable or STACK, then you can do whatever you need to do with the output:
<<< snip >>> ===== * * * Top of File * * * ===== /* Front End for VMPTFS */ ===== ===== prod = 'VMSECURE' ===== ===== /* Issue VMPTFS Command and Capture Response */ ===== 'PIPE CMD EXEC VMPTFS' prod , ===== '| stem ptflist.' ===== ===== /* Use Response .stem. to Output File */ ===== 'PIPE stem ptflist.' , ===== '| > myptf data a' ===== ===== /* Use Response .stem. to the STACK ... */ ===== 'PIPE stem ptflist.' , ===== '| stack' ===== ===== Exit ===== * * * End of File * * * <<< snip >>>
Using ... 'PIPE CMD EXEC VMPTFS' prod , ... should give you all the flexibility you need to deal with the output in your program.
If you want the output in the STACK instead of the CONS ... just change your PIPE to this:
<<< snip >>> ===== /* Front End for VMPTFS */ ===== ===== prod = 'VMSECURE' ===== ===== /* Issue VMPTFS Command and put Response in STACK */ ===== 'PIPE CMD EXEC VMPTFS' prod , ===== '| STACK' <<< snip >>>
Of course you need to write some code to take it from the STACK and do something else with it.