Batch job Questions

1

ADDBKP – default program
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?

Answer Question   |  November 28, 2012  7:39 AM
Batch job, RPG
asked by:
270 pts.

How to create batch or script to change specific program settings.
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 into [...]

Answer Question   |  February 28, 2012  5:23 AM
Batch job, Outlook 2010, VBScipt, Windows 7 Enterprise, Word 2010
asked by:
5 pts.

Looping Ping
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 “tokens=*” %%* IN (‘date/t’) Do @(set [...]

Answer Question   |  April 6, 2011  1:05 PM
Batch debugging, Batch job, LOOP statement, ping command
asked by:
210 pts.

Send email w/attachment via batch file
I would like to be able to set up a scheduled task to call up batch file that would send out an email at a given time of day including an attachment. The question is if anyone would know of a simple way to accomplish this task and what I may need to make it [...]

Answer Question   |  March 23, 2011  2:50 PM
Batch files, Batch job, Email management systems, Scheduled Tasks, SMTP Gateway
asked by:
210 pts.

How to remove specific lines from a text files using either vbs or bat.
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 [...]

Answer Question   |  November 9, 2010  5:07 PM
Batch file, Batch job, SQL, Text manipulation, VBS, Visual Basic Script, Windows Server 2003 Standard Edition
asked by:
1,050 pts.

SQL connection failure error handling
Application group wants batch job to terminate if it is unable to establish SQL session to external database. Job log indicates MSGID QSQLMSG/SQ30080 “Communication error occurred during distributed database processing.   This appears in the joblog as a level 30 diagnostic message. When this message is encountered we want the job to exceed end severity and terminate. [...]

Answer Question   |  April 27, 2010  6:31 PM
Batch job, END SEVERITY, Joblogs, SQL connectivity, SQL Server
asked by:
25 pts.

Problem Running SQLRPGLE program in Batch: Works Fine Interactively
Hello all, We currently have a program that runs in batch. Last night, we had the following error occur: RNQ0103: The target for a numeric operation is too small to hold the result. The program works perfectly when run interactively. When the program was originially written, I compensated for the fact that it may be [...]

Answer Question   |  January 7, 2011  6:27 PM
Batch job, Error Messages, iSeries RPG programming, SQLRPGLE, V5R4
asked by:
465 pts.

Submitting a batch job from a C program
Is it possible to call SMBJOB in a C program to submit a batch job? If not, is it possible to submit a batch job in a C program some other way?

Answer Question   |  May 4, 2009  2:31 PM
AS/400, AS/400 development, Batch job, C programming, SMBJOB
asked by:
50 pts.

Determine JOBQ from an active Batch Job
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 submitt 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 [...]

Answer Question   |  February 6, 2009  2:22 PM
Batch job, JOBQ
asked by:
10 pts.

Scheduled Batch Jobs
Hi, is there any way to find out who released a job that was scheduled but held? tried job log but no luck. thanks

Answer Question   |  December 30, 2008  1:23 AM
AS/400 administration, AS/400 batch job, Batch job, Scheduled batch jobs
asked by:
385 pts.

How to end a batch job in CLLE program?
I tried to end a batch job in CLLE by retreiving the job attributes through RTVJOBA and ENDJOB,but it doesn’t work.Can anyone tell me what is the other procedure?

Answer Question   |  September 16, 2008  6:10 AM
Batch job, CL, CLLE
asked by:
15 pts.

how to Move one file(flat file or PF) which is created in a batch job, to the systems C: drive.
how to Move one file(flat file or PF) which is created in a batch job, to the systems C: drive. sing CL

Answer Question   |  August 15, 2008  6:09 AM
Batch job, CL, Flat files, PF/LF
asked by:
85 pts.

1