Page 1 of 2

Extraneous parameters error in 3.4 for a catalog entry

PostPosted: Fri Nov 29, 2019 1:42 am
by Murali_721
Hi,

I have come across a orphaned catalog entry as depicted in the image. This catalog is throwing Extraneous parameters error for any action taken against it. Can somebody explain what it is and how to get rid of this.

Re: Extraneous parameters error in 3.4 for a catalog entry

PostPosted: Fri Nov 29, 2019 3:31 am
by willy jensen
I would like to see the command(s) that you have tried together with the result. 'Extraneous parameters' sounds a lot like syntax error.
By the way,I cant see any image.

Re: Extraneous parameters error in 3.4 for a catalog entry

PostPosted: Fri Nov 29, 2019 3:48 am
by Murali_721
Here is the image:

Re: Extraneous parameters error in 3.4 for a catalog entry

PostPosted: Fri Nov 29, 2019 4:00 am
by willy jensen
Have you tried to enter HELP? I wonder where those 2 '0' in the line coms from. Though I can put as many '0' on a 3.4 line as I like and still get the popup.
Anyway, an orphaned catalog entry is usually gotten rid of by the 'U' line command, or perhaps using DELETE / NOSCRATCH as line command.

Re: Extraneous parameters error in 3.4 for a catalog entry

PostPosted: Fri Nov 29, 2019 4:09 am
by Murali_721
I'm explicitly specifying volume name to get this dataset in 3.4. Otherwise it says dataset not found. After specifying DS and Volume name together, there will be 1 '0' along with DS name separated by few columns. If i try any action, it would give me Extraneous parameters error and 2nd 0 appears.

Re: Extraneous parameters error in 3.4 for a catalog entry

PostPosted: Fri Nov 29, 2019 4:13 am
by Murali_721
This is the single line i gotten from HELP : "Extraneous parameters for built-in command"

Re: Extraneous parameters error in 3.4 for a catalog entry

PostPosted: Wed Dec 04, 2019 5:23 am
by Pedro
I have come across a orphaned catalog entry as depicted in the image.

I think it is the opposite: it is an uncataloged data set. I think 3.4 has a line command to catalog it; use specific line command rather than '/'. Or use DEFINE NONVSAM command. Once it is cataloged, then delete it.

Re: Extraneous parameters error in 3.4 for a catalog entry

PostPosted: Wed Dec 04, 2019 9:27 am
by steve-myers
Pedro wrote:
I have come across a orphaned catalog entry as depicted in the image.

I think it is the opposite: it is an uncataloged data set. I think 3.4 has a line command to catalog it; use specific line command rather than '/'. Or use DEFINE NONVSAM command. Once it is cataloged, then delete it.

Pedro, I very much doubt that will work. I think the 0 0 stuff is extraneous junk that got into DS1DSNAM in the VTOC. Deleting the data set will be very difficult. Not impossible, but difficult. Because of the extraneous junk the data set cannot be cataloged. I know what I'd do, but I have tools I could use that are not generally available, so I can't tell people what I'd do.

Well, good luck to the TS.

Re: Extraneous parameters error in 3.4 for a catalog entry

PostPosted: Wed Dec 04, 2019 11:46 am
by Pedro
I am retired.. I do not have access anymore to verify.

Good catch about that name having zeros. I think you can use single quotes in JCL to specify nonstandard names:

//DEL1  DD DISP=(OLD,DELETE),
//      DSN='MY.DSN    0  0'
 


Just make sure you count all of embedded blanks correctly.

Re: Extraneous parameters error in 3.4 for a catalog entry

PostPosted: Wed Dec 04, 2019 3:36 pm
by willy jensen
Yeah I also missed that about the name having zeros.
Mayby a IEHLIST LISVTOC will show if the name has unprintable characters in it?