Page 2 of 2

Re: Extraneous parameters error in 3.4 for a catalog entry

PostPosted: Thu Dec 05, 2019 10:45 am
by Pedro
IEHLIST LISVTOC will show if the name has unprintable characters in it?

like!

Re: Extraneous parameters error in 3.4 for a catalog entry

PostPosted: Thu Dec 05, 2019 11:40 am
by steve-myers
Pedro & Mr Jensen - I am concerned there are other junk characters in the data set name that didn't print. Mr. Jensen's idea about IEHLIST ought to get the real data set name - with all the junk characters - into a SYSPRINT data set. Pedro's idea of using quotes for the data set name in the JCL ought to work too. That's something I completely missed! Must be yet another senior moment. Transferring the data set name from the IEHLIST SYSPRINT to the JCL might be an interesting exercise, but it should be doable. This scheme is simpler that what I would have done!

Re: Extraneous parameters error in 3.4 for a catalog entry

PostPosted: Fri Dec 13, 2019 12:21 pm
by Pedro
other junk characters in the data set name that didn't print

I do not recall ever encountering this situation. The same situation (not printing name correctly) might apply to IEHLIST as well.

The last recourse is to use AMASPZAP to dump the VTOC. I recommend to not try to fix the problem with AMASPZAP through zapping it.

Re: Extraneous parameters error in 3.4 for a catalog entry

PostPosted: Fri Dec 13, 2019 4:50 pm
by steve-myers
I agree with Pedro that zapping the VTOC is the last thing to try, but as a last resort you might have to do that. Before you start, turn off the VTOC index - you'll reindex the volume later, then ZAP a legal data set name into the bad DSCB or, ZAP it to a format 0 DSCB - this amounts to deleting the data set. If you have ZAPped a legal data set name into the DSCB, delete the data set, then reindex the volume.

Good luck.

Re: Extraneous parameters error in 3.4 for a catalog entry

PostPosted: Sat Dec 14, 2019 4:11 am
by Pedro
use AMASPZAP to dump the VTOC

I was recommending to use the list feature of AMASPZAP to give you a hex dump of the VTOC so that you see any unprintable characters.