Lizette Koehler wrote:

>Please Provide a LISTC ENT(/) ALL of the vsam dataset

Good request! With that command, the standard search order is used, but 
according to Willie it is not there. 
Willie, please try out the command and post the results.


>It is really hard (in my opinion) to catalog VSAM in the wrong Catalog unless 
>you were not working from the target system.  

Indeed. This is where RACF comes in to prevent such errors. 


Willie Bunter wrote:

>> I have a SMS manged VSAM (linear) dsn cataloged in the wrong USER CAT.

How do you know in the first place it is cataloged in the wrong User Catalog? 
Is it a naming issue or result of an incorrect IDCAMS command?

Or is your VSAM dataset perhaps a duplicate? VVDS/VTOC issue?

>> Is there a way to change it to use the correct catalog?

Only if you specify the right catalog while using it.

>> I looked at using DFDSS COPY command however since the dsn is not cataloged 
>> in the STANDARD ORDER OF SEARCH it did not work.

>> Can I use IDCAMS to rectify the error?

Yes. REPRO to a temporary VSAM dataset. Get rid of the catalog entry and the 
actual allocated spaces.

Then do a proper DEFINE using Standard Search Order and then REPRO back.

HTH!

Groette / Greetings
Elardus Engelbrecht

----------------------------------------------------------------------
For IBM-MAIN subscribe / signoff / archive access instructions,
send email to [email protected] with the message: INFO IBM-MAIN

Reply via email to