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 //STEP001 EXEC PGM=IKJEFT01 //SYSPRINT DD SYSOUT=* //SYSTSPRT DD SYSOUT=* //SYSTSIN DD * HSENDCMD LIST BACKUP(ALL) - ODS('PROM.BACKUP.ALL') /* // I tried substituing the LIST with QUERY. No luck. Any suggestions what else I can try? Thanks
__________________________________________________________________________________ Find local businesses and services in your area with Yahoo!7 Local. Get started: http://local.yahoo.com.au ---------------------------------------------------------------------- For IBM-MAIN subscribe / signoff / archive access instructions, send email to lists...@bama.ua.edu with the message: GET IBM-MAIN INFO Search the archives at http://bama.ua.edu/archives/ibm-main.html