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

Reply via email to