fScan Reference Manual, Chapter 2 (CmdLineOptions): show
usage: -show mode [value] [varbname]
The SHOW command has 3 different uses, indicated by the MODE argument.
Show current data values:
Certain MODE keywords will display a list of current fScan data resource usage.
These keywords include:
Usage example: -show set
You can also redirect the output list to a text file by adding “ > filename”,
Example: -show data > datalist.txt
The VALUE and VARBNAME arguments are ignored if used with data display keywords.
Show the contents of a text file:
If MODE is “FILE” fScan will display the specified text file in a new window (assuming you are running fScan in interactive mode and the named file exists and is readable).
Usage example: -show file imagehdr.txt
Note: You can combine the data and file MODEs by first using SHOW to list data into a file and then using SHOW FILE to open that file in a new interactive display window.
The VARBNAME value is ignored if used with the FILE keyword.
Find data sets based on keyword values:
A few keywords can be used to search for current image data sets with specific data values. In this case you should specify both the keyword as MODE, and the specific VALUE you want to search for. Recognized search keywords include:
The find data feature can be used either to simply print the resulting data set name on the screen (default) or to store the result into a user-defined string variable, USERVARB.
-show subtype t1
-show taskname oddball mytask
The first example would print out the T1 data set name, whereas the second would store the name of the ODDBALL data set in string variable '$mytask'.