Hi
Iam using jar command to comprees the csv file to Zip file.in my program.iam submitting the job,usually it oftens fails for few files to zip.it gives me the error like
qsh: 001-0012 Error found starting child process. System resources not available to complete request.
So how can i solve this issue within in my program.Please advice me on this.I need ur help.
Thanks in advance.

Answer Wiki

Change the subsystem description to allow more jobs to run: CHGSBSD SBSD(MySbs) MAXJOBS(n+2) where n = current MAXJOBS. This should not cause a problem with regular batch jobs — it will not suddenly start running multiple batch jobs at once. Let’s say your subsystem MySbs has 1 jobq MyJobQ assigned to it, and MyJobQ has a Max Active (MAXACT) of 1. That means only 1 batch job can run at the same time, but the subsystem’s MAXJOBS will allow the QSHELL command’s subsidiary jobs to run as well. The QSHELL jobs aren’t “normal” batch jobs — they’re type BCI, Batch Immediate, and do not pass through a subsystem to run.

By submitting you agree to receive email from TechTarget and its partners. If you reside outside of the United States, you consent to having your personal data transferred to and processed in the United States.
Privacy

Processing your response...

Discuss This Question: 3 &nbspReplies

There was an error processing your information. Please try again later.

By submitting you agree to receive email from TechTarget and its partners. If you reside outside of the United States, you consent to having your personal data transferred to and processed in the United States.
Privacy

There are some things that makes the command to fail, commonly when you are submitting the command.
Needs your script the interactive subsystem?
Check the authority of the profile that is submitting the job and check the library list.
Also check for the subsystem max jobs parameter with the command CHGSBSD .
Post more information about your script and the scenario it is intended to run.
Regards.

it oftens fails...
If it doesn't fail every time, then I would look at 'Maximum jobs in subsystem' first. In order to run a shell function, a shell job needs to be started. The shell job will run in the same subsystem where you executed the shell command. If the maximum number of jobs are already running, then the subsystem won't allow the shell job to start.
Mariodlg mentioned this when he suggested looking at the subsystem description with the CHGSBSD command. You can also use the DSPSBSD command and look under option 1, 'Operational attributes'.
Be aware that you might need to take care if you increase the maximum number of jobs allowed in a subsystem. The subsystem might be limited for a reason. If the maximum shouldn't be increased, then these shell commands should be submitted to a different subsystem through a different job queue.
Tom

By submitting you agree to receive email from TechTarget and its partners. If you reside outside of the United States, you consent to having your personal data transferred to and processed in the United States.
Privacy

Processing your reply...

Ask a Question

Free Guide: Managing storage for virtual environments

Complete a brief survey to get a complimentary 70-page whitepaper featuring the best methods and solutions for your virtual environment, as well as hypervisor-specific management advice from TechTarget experts. Don’t miss out on this exclusive content!

Share this item with your network:

To follow this tag...

By submitting you agree to receive email from TechTarget and its partners. If you reside outside of the United States, you consent to having your personal data transferred to and processed in the United States.
Privacy