-------------------------<snip>------------------------

Help!!

It's been such a long time since working on the mainframe.  We are currently a 
Client/Server installation.
It seems as though I've forgotten how to catalog a dataset on multiple volume.  
I'm getting a syntax
error on the control statement, but can not, for the life of me, fiqure out 
why.  Here is the JCL:

//STEP1 EXEC PGM=IEHPROGM,REGION=200K //SYSPRINT DD SYSOUT=* //SYSIN DD * CATLG DSNAME=FANP.ARCHIVE.ANJ.FROM.Y1999.TO.JUL2004, X VOL=TAPE=(109400,1) CATLG DSNAME=FANP.ARCHIVE.ANJ.FROM.Y1999.TO.JUL2004, X VOL=TAPE=(109393,2) CATLG DSNAME=FANP.ARCHIVE.ANJ.FROM.Y1999.TO.JUL2004, X VOL=TAPE=(109420,3) CATLG DSNAME=FANP.ARCHIVE.ANJ.FROM.Y1999.TO.JUL2004, X VOL=TAPE=(103979,4) CATLG DSNAME=FANP.ARCHIVE.ANJ.FROM.Y1999.TO.JUL2004, X VOL=TAPE=(103972,5)
-------------------------<remainder snipped>-------------------------------------
Try this:
CATLG DSNAME=FANP.ARCHIVE.ANJ.FROM.Y1999.TO.JUL2004, X VOL=TAPE=((109400,1),(109353,1),(109420,1), x
                                (103979,1),(103972,1))

By using multiple control statements, you're trying to catalog a dataset and 4 duplicates, rather than one dataset that spans 5 volumes.

----------------------------------------------------------------------
For IBM-MAIN subscribe / signoff / archive access instructions,
send email to [EMAIL PROTECTED] with the message: GET IBM-MAIN INFO
Search the archives at http://bama.ua.edu/archives/ibm-main.html

Reply via email to