MVSTMP(1) ZOAU Command Syntax MVSTMP(1)
mvstmp -- generate a valid MVS dataset name suitable for use as a
mvstmp [-hvd] [prefix]
-v print verbose messages
-d print debug messages
TMPHLQ: overrides the prefix default value (MVSTMP)
Generate a name suitable for use as an MVS dataset name and write
the name to stdout. No dataset is actually created - this utility
just generates a name.
The name is of the format:
The value of the components of the name are as follows:
defaults to MVSTMP if no prefix is specified.
overrides TMPHLQ environment variable if provided
P followed by the low order 7 digits of the process id
of the mvstmp program instance
T followed by the low order 7 digits of the microseconds
component of the current time of day
C followed by 7 0's
Generate a temporary dataset name with a high-level qualifier of TEST
0 mvstmp completed without error.
non-zero mvstmp failed. See error messages for details.