![]() ![]() Or is in a state that requires a reset before running, such as: This will give multiple lines of output including lines such as the following 2 lines:Ĭheck if the job status is in one of several states that allows running jobs, for example: When creating custom scripts to issue the dsjob command, logic can be added to check the job status before running it using the following command: Similarly, if you try to reset a job that is already in a runnable state (finished, compiled, reset) rather than a state needing reset, the error will occur. job is aborted, not compiled, or other state not runnable) then the job start request will fail. Specifically, if you try to run a job that is not in a runnable state (i.e. When the dsjob command (or job run through other method) fails with return code -2, or status DSJE_BADSTATE, it means that the job is not in the correct state for the dsjob mode that was requested. ![]()
0 Comments
Leave a Reply. |
AuthorWrite something about yourself. No need to be fancy, just an overview. ArchivesCategories |