Page 1 of 1

needs clarification for listdsd

PostPosted: Fri Mar 25, 2011 11:51 am
by syamcs
hi all,
I got an error while executing the command LISTDSD. The error is listed below
IKJ56712I INVALID KEYWORD, 'dusr001.asmb.pds'
can any one help me to resolve this small problem.

Re: needs clarification for listdsd

PostPosted: Fri Mar 25, 2011 12:34 pm
by BillyBoyo
From what you've written so far you have tried to use your datasetname as a command. It is invalid. Why you've done this, don't know. Have a look at your source. Eventually, when exhausting the obvious, if you have no answer, come back again with a bit more detail.

Re: needs clarification for listdsd

PostPosted: Fri Mar 25, 2011 12:52 pm
by syamcs
yea i got the correct answer there was a small syntatic error now got rectified.... thanks

Re: needs clarification for listdsd

PostPosted: Fri Mar 25, 2011 2:40 pm
by steve-myers
LISTDSD is a RACF command. Its syntax is

LISTDSD DATASET(...) ...

I've always found this inconsistent syntax annoying, especially since other RACF commands don't require a keyword for the resource name.

I suspect syamcs got LISTDSD confused with LISTDS, which does work as LISTDS datasetname.