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


Please Help Members By Posting Answers For Below Questions

Enlist the features of rexx as a programming language.

625


how to access data in control blocks such as jobname?

580


What are various loop types supported by rexx?

539


is oorexx compatible with ibm object rexx?

627


is oorexx compatible with rexx?

571






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.

1946


is there an aix version of oorexx?

566


how long does the install of oorexx take?

570


How to code the db2 queries using rexx, and also plz send some link and examples using db2 queries?

562


Is it possible to port existing applications from the mainframe or os/2? Are there major changes required to do this?

537


can I redistribute oorexx freely with commercial software?

579


What is the use of uni-rexx?

549


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?

552


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

2682


How to find or access the current level of a gdg?

489