Tek-Tips is the largest IT community on the Internet today!

Members share and learn making Tek-Tips Forums the best source of peer-reviewed technical information on the Internet!

  • Congratulations strongm on being selected by the Tek-Tips community for having the most helpful posts in the forums last week. Way to Go!

Return code for mminfo and nsrmm

Status
Not open for further replies.

bertieuk

IS-IT--Management
Jun 1, 2004
175
I have a working wsh script to expire my savesets on disk only without touching my tape clones. I need to add some error checking on mminfo an nsrmm by looking at the return codes from the commands.

Does anyone know or have reference to these codes.

Thanks si
 
Don't count on getting any sensible return codes from either of these programs, they're not that well written. You would be better advised to parse the messages that are produced on stdout and stderr.
 
I'm saying that these binaries don't return any useful exit codes because they're not particularly well written. Sometimes they return a zero exit code even when it is patently obvious from the message that it didn't do what you expected.
 
Status
Not open for further replies.

Part and Inventory Search

Sponsor

Back
Top