batch-processing

How can I run my Rexx program as a batch job?

时光毁灭记忆、已成空白 提交于 2019-12-02 05:02:57
I have a Rexx program that I want to run as a batch job. How can I do this? This is my program :- /* Rexx – HELLO – Write Hello World */ Say "hello World" The program is located as member HELLO in the PDS ME.USER.EXEC . A valid JOB CARD for my installation is (our environment includes ISPF/PDF as opposed to ROSCOE):- //MYJOB JOB ,,CLASS=1,MSGCLASS=H,NOTIFY=&SYSUID Note! this has been written as a tutorial There are a number of ways that you can run the program via batch. I will cover 3 ways all of which are different according to the environment (i.e. what they can utilise.) Method 1 - Run the

The proper use of MSSQL “go” in VBA

╄→гoц情女王★ 提交于 2019-12-02 04:39:46
I am about to run a batch what I programmed using MSSQL, like this: create function xy ( ..... end go create function2 xy ( ... end go Then, I saved it in a file, what my macro reads it into a string and with ADO trying to run. Unfortunately, all the time I get the following error message: Incorrect syntax near 'go'. I have been reading about it, and only found the solution to split the batch, but I don't really want since I have it in one string variable. My connection string in vba is the following (first the public declared variables): Public conn As ADODB.Connection Public rs As ADODB

timeout or close when process is finished

只谈情不闲聊 提交于 2019-12-02 04:36:44
I have a X.exe program that takes about 2-6 hours to finish. Exact time is unknown, but I'd like to implement a threshold of 6.5 or 7 hours. If this program does not return any value by this amount of time, it will be killed. How do I implement this using batch *.bat files? Here is what I had so far: a timer bat1.bat and an actual bat2.bat . bat1.bat: start cmd /C bat2.bat & timeout /t 25200 & taskkill /im X.exe /f bat2.bat: cd blah bat1.bat The problem with this approach is that only after 25200 seconds (or 7 hours) the timer will be stopped, and it won't be terminated before that limit. How

Standalone example on jberet (jsr352)

僤鯓⒐⒋嵵緔 提交于 2019-12-02 04:06:16
Is there anyway to use jberet as standalone module to execute Batch Jobs? All the time getting samples on using along with WildFly. Surprised to see it looks for container to load implementations while trying some samples. Any insights on why/why not would be helpful kaape Here is a tutorial how to use jberet in a standalone application: http://www.mastertheboss.com/batch-api/running-batch-jobs-in-j2se-applications You'll need to include various jboss dependencies for it to work. Furthermore you need to configure jberet with a separate jberet.properties. I've build a (hopefully) minimal

How to make batch insert with ColdFusion having more than 1000 records?

点点圈 提交于 2019-12-02 03:22:40
问题 I am having a spreadsheet which contains around 3000 records. I need to insert all these data to a new table. So in this case using batch insert mechanism is quite good. So i tried a simple example , <cfquery datasource="cse"> insert into Names values <cfloop from="1" to="3000" index="i"> ('#i#') <cfif i LT 3000>, </cfif> </cfloop> </cfquery> But as SQL Server 2008 only allows 1000 batch insert at a time I am getting error. So how to make separate batches each containing 999 records at a time

How to rename a file according his folder name via batch script

穿精又带淫゛_ 提交于 2019-12-02 03:17:15
问题 I have this part of batch script which is doing following: -There is a main folder, in the main folder are two files (movie & subtitle file) and one Sub-folder called 'Subtitles' -This script takes the name of the movie file and renames with it the subtitle file + moves the subtitle file into the 'Subtitles' sub-folder and then renames the main folder. So at the end we have one movie name, which is used on the subtitle file and on the main folder as well. @echo off setlocal

Spring Batch on Clustered environment - Websphere

两盒软妹~` 提交于 2019-12-02 02:30:37
问题 I did set up a spring Batch job, it runs fine on a single JVM. But I need it to be deployed on to a clustered environemnt. I am using spring task scheduler to schedule the job. Is there any way to do it on clustered environment, if one node is down the other should pick it up. Server to be deployed on is Webspehere. 回答1: SpringBatch does not support any means of clustered executions. If you want your tasks to be clustered you should check products for it, I can suggest you to have look at

autocorrelation of the input in tensorflow/keras

一曲冷凌霜 提交于 2019-12-02 01:37:05
问题 I have a 1D input signal. I want to compute autocorrelation as the part of the neural net for further use inside the network. I need to perform convolution of input with input itself. To perform convolution in keras custom layer/ tensorflow. We need the following parameters data shape is "[batch, in_height, in_width, in_channels]", filter shape is "[filter_height, filter_width, in_channels, out_channels] There is no batch present in filter shape, which needs to be input in my case 回答1:

Spring Batch on Clustered environment - Websphere

♀尐吖头ヾ 提交于 2019-12-02 01:28:56
I did set up a spring Batch job, it runs fine on a single JVM. But I need it to be deployed on to a clustered environemnt. I am using spring task scheduler to schedule the job. Is there any way to do it on clustered environment, if one node is down the other should pick it up. Server to be deployed on is Webspehere. SpringBatch does not support any means of clustered executions. If you want your tasks to be clustered you should check products for it, I can suggest you to have look at hazelcast . Two suggestions: Quartz setup in the DB Hazelcast via Apache Camel Idempotent repository Both of

How to make batch insert with ColdFusion having more than 1000 records?

半世苍凉 提交于 2019-12-02 01:18:32
I am having a spreadsheet which contains around 3000 records. I need to insert all these data to a new table. So in this case using batch insert mechanism is quite good. So i tried a simple example , <cfquery datasource="cse"> insert into Names values <cfloop from="1" to="3000" index="i"> ('#i#') <cfif i LT 3000>, </cfif> </cfloop> </cfquery> But as SQL Server 2008 only allows 1000 batch insert at a time I am getting error. So how to make separate batches each containing 999 records at a time and can execute at a time? Jarede You can use a BULK INSERT statement that should cope with extremely