?

Log in

No account? Create an account

Josh-D. S. Davis

Xaminmo / Omnimax / Max Omni / Mad Scientist / Midnight Shadow / Radiation Master

Previous Entry Share Next Entry
NIM stupidness
Josh 201604 KWP
joshdavis
Run 2 commands in a row, without a gap in time..

Just paste a nim command to define a mksysb resource from an existing mksyb file,
and immediately following, create a spot resource from that mksysb.

It will fail.

What you have to do is add a FRACKING SLEEP STATEMENT AFTER THE FIRST NIM COMMAND BECAUSE IT RETURNS SUCCESS BEFORE ITS BACKGROUND PROCESSING IS COMPLETE.

Absolutely ridiculous.

What if the system were bogged, and sleep 5 wasn't enough?

Oh, I see, let's just blindly add in a sleep 60 just to be sure?

NO! Stupid fracking NIM command shouldn't return until it's actually done!

  • 1
(Deleted comment)
Silent magic running in nimesis but not apparent.

*sigh*


Oh yes, the problem I run into every time I write a script that needs to start a daemon and then use it. How long will it take the daemon to start up? Who knows?

And we wonder why computers so flaky.

  • 1