I want to code a REXX Program in order to load many tables
in a database simultaneously in a batch fashion. Currently
batch codes ar available in which only one job is submitted
at a time and this loads only one table. My requirement is
that many tables should be loaded at a time when one Job is
submitted and can this be done using REXX Tool??? I want
code snippet or the coding for this , please
Answer Posted / wolfgang
Hi,
you may code different jobs for each tables to be loaded.
e.g.
//LOADJOB1 JOB
.
.
//LOADJOB2 JOB
.
.
//LOADJOBn JOB
.
.
Each Job must have a different jobname and must run in a
Jobclass that supports parallel execution of Jobs.
Then you may code a REXX Batchjob which submits the
different Loadjobs.
//TSO EXEC PGM=IKJEFT01
//SYSTSPRT DD SYSOUT=*
//SYSPRINT DD DUMMY
//SYSTSIN DD *
SUBMIT 'Datasetname holding JCL for Loadjob 1'
SUBMIT 'Datasetname holding JCL for Loadjob 2'
.
.
SUBMIT 'Datasetname holding JCL for Loadjob n'
Is This Answer Correct ? | 2 Yes | 0 No |
Post New Answer View All Answers
Enlist the features of rexx as a programming language.
how to access data in control blocks such as jobname?
What are various loop types supported by rexx?
is oorexx compatible with ibm object rexx?
is oorexx compatible with rexx?
I want to set position for a particular text in a certain position in several of my cics maps.Please provide me with a solution. Ex: If "F1-Help" has to be set to pos(4,27) always in all the maps within a PDS.
is there an aix version of oorexx?
how long does the install of oorexx take?
How to code the db2 queries using rexx, and also plz send some link and examples using db2 queries?
Is it possible to port existing applications from the mainframe or os/2? Are there major changes required to do this?
can I redistribute oorexx freely with commercial software?
What is the use of uni-rexx?
If I have limited experience with Rexx or it's been a long time since I've used it, what kind of help is available to get me started?
I executed one job and I forget to save the final JCL. But took an XDC from SPOOL. Now I want to recover the JCL from XDC dataset. Is there any process to do this?. (Manually it takes a lot of time). Is there
How to find or access the current level of a gdg?