If you are using Rexx call the "queue" function to stack the response before
you issue RECEIVE. Also make sure you have called "prompt('ON')".HTH Robin -----Original Message----- From: IBM Mainframe Discussion List <[email protected]> On Behalf Of Lennie Dymoke-Bradshaw Sent: 31 August 2022 17:12 To: [email protected] Subject: Automation of the TSO RECEIVE command The TSO commands TRANSMIT and RECEIVE are very useful for moving data around, particularly as TRANSMIT produces an 80-byte LRECL which works easily with in-stream JCL. But has anyone worked out a reliable mechanism to automate the use of the RECEIVE command? It always issues queries to the user. How can the responses to these queries be simply handled? I feel sure someone has worked this out. Lennie Dymoke-Bradshaw https://rsclweb.com <https://rsclweb.com/> 'Dance like no one is watching. Encrypt like everyone is.' ---------------------------------------------------------------------- For IBM-MAIN subscribe / signoff / archive access instructions, send email to [email protected] with the message: INFO IBM-MAIN ---------------------------------------------------------------------- For IBM-MAIN subscribe / signoff / archive access instructions, send email to [email protected] with the message: INFO IBM-MAIN
