I am not aware of one on Z/OS on VSE it works like this
// EXEC IDCAMS,SIZE=AUTO,PARM='SYNCHK' yse I know that didn't help Duane Reaugh <du...@dtssoftwar E.COM> To Sent by: IBM IBM-MAIN@bama.ua.edu Mainframe cc Discussion List <ibm-m...@bama.ua Subject .edu> Need a way to syntax check IDCAMS control cards 12/14/2009 11:11 PM Please respond to IBM Mainframe Discussion List <ibm-m...@bama.ua .edu> Does anyone know a way to get IDCAMS to syntax check (but not run) a set of control cards. Sort of a TYPERUN=HOLD but for control cards. The only way we have found is to put a "IF LASTCC = 4 THEN DO" statement in front but we are looking for a more elegant solution. IF LASTCC = 4 THEN DO DELETE RAY.GARB.TEST DELETE ENT(GARB.TEST3) EELETE RAY.GARB.TEST2 LISTCAT ENTRY(TOM.A) XXL LISTCAT ENTRY(TOM.A) XXX LISTCAT ENTRY(TOM.A) ALL This generates errors for cards 3,4 & 5 but misses the contextual error in card 2 and nothing is deleted or listed Thanks Duane Reaugh DTS Software ---------------------------------------------------------------------- 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 ---------------------------------------------------------------------- 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