Raymond wrote on 23/03/2006 07:26:38 AM:

> Dear list,
>
> I may have found a glitch in DASDM RENAME processing where the system
> only allows for RENAME processing to be via PDF/ISPF and not through
> batch.

This is truly one of those occasions where what appears to be a "glitch" to
the user (you in this case) is really a design feature.
Yep, it was *designed* this way - and documented as such at the time.

We all wanted to be able to do things like this, IBM wanted to protect
themselves.

The manual even tells you this;
"The system bypasses this restriction if all of the following are true:

-   Your program sets on a certain bit in the CAMLST macro expansion. You
can code this instruction: OI listname+2,X'10'.

-   You have at least read authority to the RACF facility class named
STGADMIN.DPDSRN.olddsname, where olddsname is up to 23 characters of the
existing data set name. You can use a generic class name such as
STGADMIN.DPDSRN.SYS2.*. IBM recommends that no one have authority to
STGADMIN.DPDSRN.* because it is too broad.

-   The data set is not SMS-managed."

PROGM is older than dirt, and ain't going to do it for you - there may be
something on the cbt.

Shane ...
(gsf's little beauty that predates this facility not mentioned
deliberately)

----------------------------------------------------------------------
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