The other person was quite accurate in that the (+1) level of a GDG applies to the entire job, not to a particular step. So if you need to allocate multiples, use (+1), then (+2), etc. . .
If the task is a single program that's trying to produce two of the same GDG's where second is optional(not always produced) but uses the same DD that would get tricky. If it is a single program, One suggestion would be to have the program write to two different DD's where first one is assigned to GDG.NAME(+1) and Second to GDG.NAME(+2). If the second file isn't always produced, then code it's FCB (Select in Cobol) with the Optional attribute, and don't code the DD in the Job when you don't need the file. The program has to check the file status manually to see if it was able to open that Optional file or not, to determine when to build it. Darren ---------------------------------------------------------------------- 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

