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
How to code the db2 queries using rexx, and also plz send some link and examples using db2 queries?
What is the difference between ooRexx and IBM's Object REXX for Windows?
Is it possible to combine uni-rexx with a compiled language in any application? What applications interfaces are there?
how to pass parms to ispf edit macro?
what is uni-rexx?
what if I need to have the same application running on multiple platforms, such as unix and the mainframe? Does that mean I have to maintain two separate sources?
Can I combine uni-REXX with a compiled language in my application? What application programming interfaces are available? For example, can I share variables between uni-REXX and a compiled language?
how long does the install of oorexx take?
how to access data in control blocks such as jobname?
How to code the db2 queries using rexx?
What are the functions available in rexx?
how to access data held on the jes spool?
can I redistribute oorexx freely with commercial software?
why is there no os/2 (ecs) port of oorexx?
Can anyone provide me the source code for LOC(lines of code) counter written in REXX language which can run on IBM mainframe z/OS V1R4. The LOC counter should be able to count the comments,lines of code,blank lines in a COBOL program and JCL's