On Thu, 17 Apr 2014 17:41:12 -0500, Norbert Friemel wrote:
>On Thu, 17 Apr 2014 19:26:17 +0000, Sankaranarayanan, Vignesh wrote:
>
>>Ok.. Is it possible to fire off other REXXes repetitively (let's say 2 or 3,
>>each doing one function) that will not RETURN to the main, but write their
>>output to a dataset once done?
>
>Submit batch jobs (PGM=IKJEFT01,PARM='%rxsub?? p1 p2 p3) from the main?
>
Neither DDLIST nor Google gives me relevant hits for RXSUB.
(But it really shouldn't be that hard. For each job:
RC = BPXWDYN( 'alloc rtddn(RDR) sysout writer(INTRDR) msg(WTP)' )
/* write JCL to RDR with EXECIO. */
RC = BPXWDYN( 'free dd('RDR') msg(WTP)' )
The hard part is detecting completion and getting status back.)
-- gil
----------------------------------------------------------------------
For IBM-MAIN subscribe / signoff / archive access instructions,
send email to [email protected] with the message: INFO IBM-MAIN