Re: Reversing the Catalog Definition entries

2012-04-18 Thread Walter Marguccio
From: Jake anderson justmainfra...@gmail.com

To: IBM-MAIN@bama.ua.edu 

 Are there any sample JCLs which would perform the above stuff at once for
 all 214 datasets.

the best method I can think of is Mark Zelden's REXX INDIRECR:


http://www.mzelden.com/mvsfiles/indirecr.txt

which will provide the IDCAMS control statements to accomplish what
you want to do.


Walter Marguccio

z/OS Systems Programmer
BELENUS LOB Informatic GmbH
Munich - Germany

--
For IBM-MAIN subscribe / signoff / archive access instructions,
send email to lists...@bama.ua.edu with the message: INFO IBM-MAIN


Re: Reversing the Catalog Definition entries

2012-04-18 Thread Mark Zelden
On Tue, 17 Apr 2012 23:50:46 -0700, Walter Marguccio 
walter_marguc...@yahoo.com wrote:

From: Jake anderson justmainfra...@gmail.com

To: IBM-MAIN@bama.ua.edu

 Are there any sample JCLs which would perform the above stuff at once for
 all 214 datasets.

the best method I can think of is Mark Zelden's REXX INDIRECR:


http://www.mzelden.com/mvsfiles/indirecr.txt

which will provide the IDCAMS control statements to accomplish what
you want to do.



Yes, but a warning to Jake who seems to not have a lot of 
experience (no offense meant):

If you use that exec to undo indirect cataloging, *YOU MUST* change 
DEVT()  to DEVT(3390)   (assuming you are not using something
like a P/390 with 3380 DASD) before submitting the IDCAMS job.

Mark
--
Mark Zelden - Zelden Consulting Services - z/OS, OS/390 and MVS   
mailto:m...@mzelden.com
Mark's MVS Utilities: http://www.mzelden.com/mvsutil.html 
Systems Programming expert at http://expertanswercenter.techtarget.com/

--
For IBM-MAIN subscribe / signoff / archive access instructions,
send email to lists...@bama.ua.edu with the message: INFO IBM-MAIN


Re: Reversing the Catalog Definition entries

2012-04-18 Thread Tom Marchant
On Wed, 18 Apr 2012 08:18:25 +0530, Jake anderson wrote:

I am just curious to know if we have indirectly cataloged one set of volume
lets say ZX2RS2 to SYSR2. Can we change back the entries in Master Catalog
from SYSR2 to ZX2RS2 ? Could anyone please advise me if such options are
available to do so.

Are you sure you want to do that?

Why?

There might be a better solution to whatever problem you are trying to solve.

-- 
Tom Marchant

--
For IBM-MAIN subscribe / signoff / archive access instructions,
send email to lists...@bama.ua.edu with the message: INFO IBM-MAIN


Re: Reversing the Catalog Definition entries

2012-04-18 Thread Jake anderson
Mark,

If you use that exec to undo indirect cataloging, *YOU MUST* change
DEVT()  to DEVT(3390)   (assuming you are not using something
like a P/390 with 3380 DASD) before submitting the IDCAMS job

Yeah I have pointed DEVT(3390)..

On Wed, Apr 18, 2012 at 8:30 PM, Tom Marchant m42tom-ibmm...@yahoo.comwrote:

 On Wed, 18 Apr 2012 08:18:25 +0530, Jake anderson wrote:

 I am just curious to know if we have indirectly cataloged one set of
 volume
 lets say ZX2RS2 to SYSR2. Can we change back the entries in Master
 Catalog
 from SYSR2 to ZX2RS2 ? Could anyone please advise me if such options are
 available to do so.

 Are you sure you want to do that?

 Why?

 There might be a better solution to whatever problem you are trying to
 solve.

 --
 Tom Marchant

 --
 For IBM-MAIN subscribe / signoff / archive access instructions,
 send email to lists...@bama.ua.edu with the message: INFO IBM-MAIN


--
For IBM-MAIN subscribe / signoff / archive access instructions,
send email to lists...@bama.ua.edu with the message: INFO IBM-MAIN


Reversing the Catalog Definition entries

2012-04-17 Thread Jake anderson
Hi All,

I am just curious to know if we have indirectly cataloged one set of volume
lets say ZX2RS2 to SYSR2. Can we change back the entries in Master Catalog
from SYSR2 to ZX2RS2 ? Could anyone please advise me if such options are
available to do so.

Jake

--
For IBM-MAIN subscribe / signoff / archive access instructions,
send email to lists...@bama.ua.edu with the message: INFO IBM-MAIN


Re: Reversing the Catalog Definition entries

2012-04-17 Thread retired mainframer
If you bring the datasets up in ISPF 3.4, just type a U in front of the
DSN(s) and when that completes, type a C

:: -Original Message-
:: From: IBM Mainframe Discussion List [mailto:IBM-MAIN@bama.ua.edu] On
:: Behalf Of Jake anderson
:: Sent: Tuesday, April 17, 2012 7:48 PM
:: To: IBM-MAIN@bama.ua.edu
:: Subject: Reversing the Catalog Definition entries
::
:: Hi All,
::
:: I am just curious to know if we have indirectly cataloged one set of
:: volume
:: lets say ZX2RS2 to SYSR2. Can we change back the entries in Master
:: Catalog
:: from SYSR2 to ZX2RS2 ? Could anyone please advise me if such options
:: are
:: available to do so.

--
For IBM-MAIN subscribe / signoff / archive access instructions,
send email to lists...@bama.ua.edu with the message: INFO IBM-MAIN


Re: Reversing the Catalog Definition entries

2012-04-17 Thread Jake anderson
Hello ,

If you bring the datasets up in ISPF 3.4, just type a U in front of the
DSN(s) and when that completes, type a C

Are there any sample JCLs which would perform the above stuff at once for
all 214 datasets.

Jake

On Wed, Apr 18, 2012 at 8:41 AM, retired mainframer 
retired-mainfra...@q.com wrote:

 If you bring the datasets up in ISPF 3.4, just type a U in front of the
 DSN(s) and when that completes, type a C

 :: -Original Message-
 :: From: IBM Mainframe Discussion List [mailto:IBM-MAIN@bama.ua.edu] On
 :: Behalf Of Jake anderson
 :: Sent: Tuesday, April 17, 2012 7:48 PM
 :: To: IBM-MAIN@bama.ua.edu
 :: Subject: Reversing the Catalog Definition entries
 ::
 :: Hi All,
 ::
 :: I am just curious to know if we have indirectly cataloged one set of
 :: volume
 :: lets say ZX2RS2 to SYSR2. Can we change back the entries in Master
 :: Catalog
 :: from SYSR2 to ZX2RS2 ? Could anyone please advise me if such options
 :: are
 :: available to do so.

 --
 For IBM-MAIN subscribe / signoff / archive access instructions,
 send email to lists...@bama.ua.edu with the message: INFO IBM-MAIN


--
For IBM-MAIN subscribe / signoff / archive access instructions,
send email to lists...@bama.ua.edu with the message: INFO IBM-MAIN


Re: Reversing the Catalog Definition entries

2012-04-17 Thread Mike Schwab
On Tue, Apr 17, 2012 at 10:15 PM, Jake anderson
justmainfra...@gmail.com wrote:
 Hello ,

 If you bring the datasets up in ISPF 3.4, just type a U in front of the
 DSN(s) and when that completes, type a C

 Are there any sample JCLs which would perform the above stuff at once for
 all 214 datasets.

 Jake


//jobname JOB acct, etc
//stepname EXEC PGM=IEFBR14
//UDSN1  DD DISP=(OLD,UNCATLG).DSN=hlq1.dsn1
//CDSN1 DD UNIT=3390,VOL=SER=vv,DISP=(OLD,CATLG),DSN=hlq1.dsn1

Just typed, not tested.  Cut and paste from 3.4 listing, or in 3.4 use
P command and exit to save the list and use the next number.

-- 
Mike A Schwab, Springfield IL USA
Where do Forest Rangers go to get away from it all?

--
For IBM-MAIN subscribe / signoff / archive access instructions,
send email to lists...@bama.ua.edu with the message: INFO IBM-MAIN