The program in question most likely uses TPUT. That doesn't show up in batch TSO. The program needs to use PUTLINE instead.
The z/OS operator command below will put the output in the MVS SYSLOG: D GRS,RES=(SYSDSN,dataset.name) example: D GRS,RES=(SYSDSN,SYS1.HELP) ISG343I 13.16.29 GRS STATUS 223 S=SYSTEMS SYSDSN SYS1.HELP SYSNAME JOBNAME ASID TCBADDR EXC/SHR STATUS DEV1 APH022 0066 009F2B00 SHARE OWN DEV1 APH854 0081 009F2B00 SHARE OWN LIH1 DCH001 0032 009F2B00 SHARE OWN DEV1 APH048 0059 009F2B00 SHARE OWN LIH1 TSH009 008B 009F2B00 SHARE OWN LIH1 TSH012 0043 009F2B00 SHARE OWN DEV1 APH893 0074 009F2B00 SHARE OWN DEV1 APH853 0063 009F2B00 SHARE OWN DEV1 APH168 0067 009F2B00 SHARE OWN DEV1 APH111 0084 009F2B00 SHARE OWN LIH1 ACH032 0039 009F2B00 SHARE OWN DEV1 APD007 007E 009F2B00 SHARE OWN LIH1 ACH022 006F 009F2B00 SHARE OWN LIH1 TSH010 0060 009F2B00 SHARE OWN LIH1 USH671 003A 009F2B00 SHARE OWN -- John McKown Systems Engineer IV IT Administrative Services Group HealthMarkets(r) 9151 Boulevard 26 * N. Richland Hills * TX 76010 (817) 255-3225 phone * [email protected] * www.HealthMarkets.com Confidentiality Notice: This e-mail message may contain confidential or proprietary information. If you are not the intended recipient, please contact the sender by reply e-mail and destroy all copies of the original message. HealthMarkets(r) is the brand name for products underwritten and issued by the insurance subsidiaries of HealthMarkets, Inc. -The Chesapeake Life Insurance Company(r), Mid-West National Life Insurance Company of TennesseeSM and The MEGA Life and Health Insurance Company.SM > -----Original Message----- > From: IBM Mainframe Discussion List > [mailto:[email protected]] On Behalf Of Tim Brown > Sent: Monday, October 31, 2011 1:06 PM > To: [email protected] > Subject: datasets in use by other jobs > > We have a module called SYSDSN, not sure where it came from > years ago that d > > displays via tso who has a file open. I am attempting to run > it in batch but it produces > > no output. Is there another way to get the results in batch. > > > > Online results > > > > sysdsn sys1.linklib > > > > > > SYS1.LINKLIB > > > > Job Name Scope Type Status > > -------- ------- ---- -------- > > XCFAS System SHR Using > > LLA System SHR Using > > *** > > > > Via batch no results > > > > //XTBTSOX JOB 0,CLASS=A,PRTY=6,MSGLEVEL=(1,1),MSGCLASS=X > > //STEP01 EXEC PGM=IKJEFT01,REGION=17M > > //STEPLIB DD DSN=SYS2.LINKLIB,DISP=SHR > > //SYSTSPRT DD SYSOUT=* > > //SYSOUT DD SYSOUT=* > > //SYSPRINT DD SYSOUT=* > > //SYSTSIN DD * > > SYSDSN 'SYS1.LINKLIB' > > > > READY > > SYSDSN 'SYS1.LINKLIB' > > READY > > END > > > > Thanks, > > > > Tim Brown > Systems Specialist - Project Leader > Central Hudson Gas & Electric > 284 South Ave > Poughkeepsie, NY 12601 > Email: [email protected] <<mailto:[email protected]>> > Phone: 845-486-5643 > Fax: 845-486-5921 > Cell: 845-235-4255 > > > > > This message contains confidential information and is only > for the intended recipient. If the reader of this message is > not the intended recipient, or an employee or agent > responsible for delivering this message to the intended > recipient, please notify the sender immediately by replying > to this note and deleting all copies and attachments. > > > > > > > ---------------------------------------------------------------------- > 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

