One thing, your SYSPRINT data would not be available until it is closed. Say you have
//SYSPRINT DD SYSOUT=* No, I do not think you can recapture the data easily If you have //SYSPRINT DD DSN=..... Then you would need to close and reopen SYSPRINT. So, as requested, please show your JCL, you Assembler Program and provide more details on what you are trying to accomplish. 1) What data is written to SYSPRINT? 2) What do you need to do with this data? Lizette > -----Original Message----- > From: IBM Mainframe Discussion List [mailto:[email protected]] > On Behalf Of Thomas Conley > Sent: Wednesday, August 05, 2015 6:33 AM > To: [email protected] > Subject: Re: OPEN SYSPRINT for INPUT programmatically > > On 8/5/2015 7:09 AM, [email protected] wrote: > > Does anyone know how SYSPRINT can be OPENed for INPUT > programmatically? > > > > The following doesn't work: > > SYSPRINT DCB DSORG=PS > > OPEN (SYSPRINT,(INPUT)) > > I've tried both BSAM(DSORG=PS) and BDAM(DSORG=DA) access methods > but with no success - OPEN return RC=8. > > > > What I want is to read some records from SYSPRINT in an application > program. > > > > Thanks > > Post the JCL. Be sure to subscribe to the list server at listserv.ua.edu. > > Regards, > Tom Conley > ---------------------------------------------------------------------- For IBM-MAIN subscribe / signoff / archive access instructions, send email to [email protected] with the message: INFO IBM-MAIN
