Re: DFHSM QUESTION - RUNNING QUERY COMMAND IN BATCH

2009-08-13 Thread John Dawes
Lovely.  It works.  Thanks to all who responded. --- On Thu, 13/8/09, Schwarz, Barry A wrote: From: Schwarz, Barry A Subject: Re: DFHSM QUESTION - RUNNING QUERY COMMAND IN BATCH To: IBM-MAIN@bama.ua.edu Received: Thursday, 13 August, 2009, 4:33 AM The QUERY command does have an ODS operand

Re: DFHSM QUESTION - RUNNING QUERY COMMAND IN BATCH

2009-08-12 Thread Schwarz, Barry A
The QUERY command does have an ODS operand. Remove it and the output will go to SYSTSPRT. -Original Message- From: John Dawes [mailto:jhn_da...@yahoo.com.au] Sent: Wednesday, August 12, 2009 10:26 AM To: IBM-MAIN@bama.ua.edu Subject: DFHSM QUESTION - RUNNING QUERY COMMAND IN BATCH Hi

Re: DFHSM QUESTION - RUNNING QUERY COMMAND IN BATCH

2009-08-12 Thread O'Brien, David W. (NIH/CIT) [C]
ve O'Brien NIH Contractor From: IBM Mainframe Discussion List [ibm-m...@bama.ua.edu] On Behalf Of John Dawes [jhn_da...@yahoo.com.au] Sent: Wednesday, August 12, 2009 2:05 PM To: IBM-MAIN@bama.ua.edu Subject: Re: DFHSM QUESTION - RUNNING QUERY COMMAND

Re: DFHSM QUESTION - RUNNING QUERY COMMAND IN BATCH

2009-08-12 Thread John Dawes
Can I run the QUERY command in batch?  --- On Thu, 13/8/09, O'Brien, David W. (NIH/CIT) [C] wrote: From: O'Brien, David W. (NIH/CIT) [C] Subject: Re: DFHSM QUESTION - RUNNING QUERY COMMAND IN BATCH To: IBM-MAIN@bama.ua.edu Received: Thursday, 13 August, 2009, 3:51 AM List and

Re: DFHSM QUESTION - RUNNING QUERY COMMAND IN BATCH

2009-08-12 Thread John Dawes
Rick,   Thanks for the suggestions.  I tried them both and I got the information I was looking for. --- On Thu, 13/8/09, Adams, Rick wrote: From: Adams, Rick Subject: Re: DFHSM QUESTION - RUNNING QUERY COMMAND IN BATCH To: IBM-MAIN@bama.ua.edu Received: Thursday, 13 August, 2009, 3:52 AM

Re: DFHSM QUESTION - RUNNING QUERY COMMAND IN BATCH

2009-08-12 Thread O'Brien, David W. (NIH/CIT) [C]
a.edu Subject: DFHSM QUESTION - RUNNING QUERY COMMAND IN BATCH Hi, I am trying to execute the following query command via a batch job. The reason for this is to create audit trails for our internal inspectors HSEND Q BACKUP(ALL). If the command is issued via TSO I get the desired results howeve

Re: DFHSM QUESTION - RUNNING QUERY COMMAND IN BATCH

2009-08-12 Thread Adams, Rick
LIST BACKUPVOLUME ODS(A058775.BACKUP.ALL) HTH. ThanksRick -Original Message- From: IBM Mainframe Discussion List [mailto:ibm-m...@bama.ua.edu] On Behalf Of John Dawes Sent: Wednesday, August 12, 2009 12:26 PM To: IBM-MAIN@bama.ua.edu Subject: DFHSM QUESTION - RUNNING QUERY COMMAND IN

DFHSM QUESTION - RUNNING QUERY COMMAND IN BATCH

2009-08-12 Thread John Dawes
Hi,   I am trying to execute the following query command via a batch job.  The reason for this is to create audit trails for our internal inspectors   HSEND Q BACKUP(ALL).  If the command is issued via TSO I get the desired results however via batch (jcl below) I am getting syntax errors   //STEP