The way I have done it:

//SYSTSIN DD *
RECEIVE INDATASET('input data set')                 
DSN('output data set') UNIT(SYSALLDA) VOL(vvvvvv)  
END                                                           

The prompts are read inline.

On Fri, 25 May 2007 13:54:45 -0500, David Day <[EMAIL PROTECTED]> 
wrote:

>I would like to be able to run a batch IKJEKT01 job, and use RECEIVE to 
update a PDS.  However, to put it in the output dataset of choice requires 
specifying DATASET to a prompt. Running the RECEIVE with the DATASET 
specified in batch causes the command to fail.  I can run this at the ready 
prompt, and make it work, but would like to run this as a batch job.   TSO/E 
manual states you can use an exit to tell RECEIVE to get it's DATASET 
information and not to prompt.  Does anyone know any other way around this 
issue?  
>
>    Thanks,
>
>    --Dave Day
>
>----------------------------------------------------------------------
>For IBM-MAIN subscribe / signoff / archive access instructions,
>send email to [EMAIL PROTECTED] with the message: GET IBM-MAIN INFO
>Search the archives at http://bama.ua.edu/archives/ibm-main.html

----------------------------------------------------------------------
For IBM-MAIN subscribe / signoff / archive access instructions,
send email to [EMAIL PROTECTED] with the message: GET IBM-MAIN INFO
Search the archives at http://bama.ua.edu/archives/ibm-main.html

Reply via email to