Hi David, Thanks for your response! I shouldn't say that it failed, the called returned with I believe a return code 4 that means (I think) no data to process. I thought I read in the Redbook that spool files are only considered to be available when the job has completed, at least that what I thought I read. Maybe my selection criteria for the 79 function call is incorrect for running jobs. It looks like this: sss2.SSS2SEL1 = 0; sss2.SSS2SEL3 = 0; sss2.SSS2TYPE = 0; sss2.SSS2DSP1 = 0; sss2.SSS2SEL3 = sss2.SSS2SEL3 | SSS2SJOB | SSS2SSTC | SSS2STSU; sss2.SSS2TYPE = sss2.SSS2TYPE | SSS2PUGE; sss2.SSS2DSP1 = sss2.SSS2DSP1 | SSS2DKPE; The SSS2SEL3 field says to selects job, started task and tso userid spool files, I believe the SSS2DSP1 says to keep the dataset. Do you know if I need to specify different selection criteria to be able to select spool files that are still active?
-----Original Message----- From: IBM Mainframe Discussion List [mailto:[EMAIL PROTECTED] On Behalf Of David Lesser Sent: Thursday, September 14, 2006 6:09 AM To: [email protected] Subject: Re: Read jes spool file before job ends Hi, Software AG have a product called Entire System Server . One of it's functionalities is to read JES2 spool files. The latest versions use the SAPI SSI interface 79 etc. and spool files for running batch jobs can be accessed. Have you tried it and it failed ? David Lesser ---------------------------------------------------------------------- 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

