I can't explain why, but it works for me if I follow the //EX1  EXPORT 
SYMLIST=* with SET statements using "renamed" variables, and then use the new 
names in the in-stream data:

//RECATL   PROC DSN=,VOL=
//EX1      EXPORT SYMLIST=*
// SET    DS=&DSN
// SET    VL=&VOL
//RECAT    EXEC PGM=IDCAMS
//SYSPRINT DD SYSOUT=L
//SYSIN    DD  *,SYMBOLS=(EXECSYS)
  DEFINE  CLUSTER(NAME(&DS) -
           LINEAR RECATALOG VOL(&VL)) -
           DATA(NAME(&DS..DATA))
//*
//        PEND


Wendell Lovewell

----------------------------------------------------------------------
For IBM-MAIN subscribe / signoff / archive access instructions,
send email to [email protected] with the message: INFO IBM-MAIN

Reply via email to