How do you determine the JOBQ that an active batch job is running from? I have submitted a job to a specific jobq. This job will submit other jobs. I want the other jobs to run from the same jobq that the main job was run from. I don't want to hard code the jobq name.

We have a text file that is a result of an export from an application we have. We use the following bat file to rename and remove blank lines from it based on the way it exports the export options/format cannot be changed. I would like a way to add to this bat file a method to remove specific lines...

When a batch job is submitted, no system errors but there are no records in the file to process, I want to send the job into MSGW and show the message that a certain file does not have records? How to send a job forcefully into MSGW using SNDPGMMSG or SNDUSRMSG?

Hi, I'm trying to debug the batch job. After releasing the job, a display screen is shown the use debug commands. When I use ADDBKP STMT(1), an error is thrown as no default program exits. How to make my program as default program?

Hi One of our job, for which code was untouched from an year , has now started taking excptionally long time to complete. It used to take hardly 20 mins to complete. Now from last two days it is taking almost 7-8 hrs. The only observation i made was that it is not getting cpu time .5- .8 . I tried...

im submitting a cl program to run in batch mode, suddenly some has given the pwrdwnsys cmd, and the server was getting down, what will happen of the prg sbmtd ? what shld the admin has todo if they found after that a job is runing?

We are doing a rollout at our company. We've created a final Windows 7 Enterprise base image for all the virtual machines that will be deployed. But there are specific settings we have to change for a couple programs that come with each image (Word and Outlook 2010) Instead of manually having to go...

Hi, we have some batch jobs running for the entire day.Can someone tell me what will be the best way to monitor the errors that got spooled in a joblog & retrieve the same using an independent process ? If possible, please let me know the steps that can be best suited to cover the most of...

I need to create a schedule for a DOS batch file to run each day, every 15 minutes. I do not know how to accomplish this and need some help. Can anyone give me a helping hand? The operating system is Windows Server 2008.

Would anyone know of a code, or be able to point me to one, that will delete all files and folders under a given location. I am looking to schedule the empting of temp folders and would like it to be all inclusive. If a kill statement is needed also to force delete folders and there content...

We encountered a problem during our end of day batch processing. by the way to give a short background, we have an i-series model 820 running on V5R3 OS. Going back, during our end of day batch, there was an error and the details "Not authorized to access document LMAS0513.TXT in folder LNDOWN"....

I am trying to find a way to append all of the Excel files in a given directory to a file on our AS/400. I can do them one at a time, but it's a time consuming process to have to go through. Is there a way to use the Data Transfer tool and pass it a range of files? I know I can create a batch to...

Could someone please help me with this command to loop through the IPlist table and report results. It doesn't seem to be looping properly at this time. Thank you. :: "Set Variables" for /f "tokens=*" %%I in (IPlist.txt) do @Set $IP=%%I @Set OutputFile=PingResults.log :: "Set Time stamp" @FOR /F...

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