Re: DFSMS SG POOL Enablement

2012-05-30 Thread Shmuel Metz (Seymour J.)
In 836D8BCB7AC04F9B822D1FE06E18F6E9@barryf93b83d71, on 05/29/2012
   at 11:24 AM, retired mainframer retired-mainfra...@q.com said:

The simplest way to activate an SCDS in batch is to submit a step
that issues the SETSMS SCDS operator command.  It can be done by 
JCL, various CBT utilities, or a small homegrown assembler program 
that runs authorized.

What's wrong with CONSOLE.
 
-- 
 Shmuel (Seymour J.) Metz, SysProg and JOAT
 ISO position; see http://patriot.net/~shmuel/resume/brief.html 
We don't care. We don't have to care, we're Congress.
(S877: The Shut up and Eat Your spam act of 2003)

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


Re: DFSMS SG POOL Enablement

2012-05-29 Thread af dc
thx for your help, regarding your 1 - update an SCDS and then activate it
how can I do that activation in batch ??
I run what I think it was correct and it didn't work. pool remained disable
for all hosts. What I did was just ismf,opt8,ACTIVATE SCDS and them pool
got ENABLE, what I did by ispf panels, isn't the same as SETSMS SCDS cmd???
Thx, A.Cecilio


On Mon, May 28, 2012 at 6:39 PM, retired mainframer 
retired-mainfra...@q.com wrote:

 The VARY command updates the active configuration in the SMS address space,
 not the SCDS dataset.  By issuing the SETSMS after the VARY, you restored
 everything back the way it was, in effect undoing the vary.

 Either
 1 - update an SCDS and then activate it
 or
 2 - update the active configuration with VARY commands and then perform
 SETSMS SAVESCDS(dsn) to save the updated configuration in an SCDS.

 :: -Original Message-
 :: From: IBM Mainframe Discussion List [mailto:IBM-MAIN@bama.ua.edu] On
 :: Behalf Of af dc
 :: Sent: Monday, May 28, 2012 6:23 AM
 :: To: IBM-MAIN@bama.ua.edu
 :: Subject: DFSMS SG POOL Enablement
 ::
 :: Hello,
 :: I've a SG in the following status:
 ::
 :: SCDS Name  . . . . : PROD.SMS.SCDS
 :: Storage Group Name : SGDR
 :: Storage Group Type : POOL
 :: To ALTER Storage Group System/
 :: Sys Group Status, Specify:
 ::
 ::  System/Sys  SMS SG   System/Sys  SMS SG
 ::  Group Name  Status   Group Name  Status
 ::  --  --   --  --
 ::  *PARTPLEX   === DISNEW   PA1   === DISNEW
 ::  PA2 === DISNEW   PB1   === DISNEW
 ::
 :: doing D SMS,SG(SGDR), I get:
 :: RESPONSE=PA1
 ::  IGD002I 14:16:00 DISPLAY SMS 625
 ::
 ::  STORGRP  TYPESYSTEM= 1 2 3 4
 ::  SGDR POOLD D D D
 ::
 :: I want to ENABLE this SG onl all systems and I tried:
 :: V SMS,STORGRP(SGDR,ALL),ENABLE
 :: IGD010I STORAGE GROUP (SGDR,ALL ) STATUS IS NOW ENABLED
 ::
 :: then:
 :: SETSMS SCDS(PROD.SMS.SCDS)
 :: IGD008I NEW CONFIGURATION ACTIVATED FROM SCDS PROD.SMS.SCDS
 ::
 :: but after doing:
 :: D SMS,SG(SGDR), I get:
 :: RESPONSE=PA1
 ::  IGD002I 14:16:00 DISPLAY SMS 625
 ::
 ::  STORGRP  TYPESYSTEM= 1 2 3 4
 ::  SGDR POOLD D D D

 --
 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: DFSMS SG POOL Enablement

2012-05-29 Thread af dc
got it:

V SMS,STORGRP(SGDR,ALL),ENABLE
setsms savescds(PROD.SMS.SCDS)
D SMS,SG(SGDR) all '+'

Pool enabled. Thx for the hint.


On Tue, May 29, 2012 at 11:55 AM, af dc acbi...@gmail.com wrote:

 thx for your help, regarding your 1 - update an SCDS and then activate
 it how can I do that activation in batch ??
 I run what I think it was correct and it didn't work. pool remained
 disable for all hosts. What I did was just ismf,opt8,ACTIVATE SCDS and them
 pool got ENABLE, what I did by ispf panels, isn't the same as SETSMS SCDS
 cmd???
 Thx, A.Cecilio



 On Mon, May 28, 2012 at 6:39 PM, retired mainframer 
 retired-mainfra...@q.com wrote:

 The VARY command updates the active configuration in the SMS address
 space,
 not the SCDS dataset.  By issuing the SETSMS after the VARY, you restored
 everything back the way it was, in effect undoing the vary.

 Either
 1 - update an SCDS and then activate it
 or
 2 - update the active configuration with VARY commands and then
 perform
 SETSMS SAVESCDS(dsn) to save the updated configuration in an SCDS.

 :: -Original Message-
 :: From: IBM Mainframe Discussion List [mailto:IBM-MAIN@bama.ua.edu] On
 :: Behalf Of af dc
 :: Sent: Monday, May 28, 2012 6:23 AM
 :: To: IBM-MAIN@bama.ua.edu
 :: Subject: DFSMS SG POOL Enablement
 ::
 :: Hello,
 :: I've a SG in the following status:
 ::
 :: SCDS Name  . . . . : PROD.SMS.SCDS
 :: Storage Group Name : SGDR
 :: Storage Group Type : POOL
 :: To ALTER Storage Group System/
 :: Sys Group Status, Specify:
 ::
 ::  System/Sys  SMS SG   System/Sys  SMS SG
 ::  Group Name  Status   Group Name  Status
 ::  --  --   --  --
 ::  *PARTPLEX   === DISNEW   PA1   === DISNEW
 ::  PA2 === DISNEW   PB1   === DISNEW
 ::
 :: doing D SMS,SG(SGDR), I get:
 :: RESPONSE=PA1
 ::  IGD002I 14:16:00 DISPLAY SMS 625
 ::
 ::  STORGRP  TYPESYSTEM= 1 2 3 4
 ::  SGDR POOLD D D D
 ::
 :: I want to ENABLE this SG onl all systems and I tried:
 :: V SMS,STORGRP(SGDR,ALL),ENABLE
 :: IGD010I STORAGE GROUP (SGDR,ALL ) STATUS IS NOW ENABLED
 ::
 :: then:
 :: SETSMS SCDS(PROD.SMS.SCDS)
 :: IGD008I NEW CONFIGURATION ACTIVATED FROM SCDS PROD.SMS.SCDS
 ::
 :: but after doing:
 :: D SMS,SG(SGDR), I get:
 :: RESPONSE=PA1
 ::  IGD002I 14:16:00 DISPLAY SMS 625
 ::
 ::  STORGRP  TYPESYSTEM= 1 2 3 4
 ::  SGDR POOLD D D D

 --
 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: DFSMS SG POOL Enablement

2012-05-29 Thread retired mainframer
I have never used ISMF in batch so someone else will have to discuss if it
is possible to activate an SCDS that way.

The simplest way to activate an SCDS in batch is to submit a step that
issues the SETSMS SCDS operator command.  It can be done by JCL, various CBT
utilities, or a small homegrown assembler program that runs authorized.

:: -Original Message-
:: From: IBM Mainframe Discussion List [mailto:IBM-MAIN@bama.ua.edu] On
:: Behalf Of af dc
:: Sent: Tuesday, May 29, 2012 3:55 AM
:: To: IBM-MAIN@bama.ua.edu
:: Subject: Re: DFSMS SG POOL Enablement
::
:: thx for your help, regarding your 1 - update an SCDS and then activate
:: it
:: how can I do that activation in batch ??
:: I run what I think it was correct and it didn't work. pool remained
:: disable
:: for all hosts. What I did was just ismf,opt8,ACTIVATE SCDS and them pool
:: got ENABLE, what I did by ispf panels, isn't the same as SETSMS SCDS
:: cmd???
:: Thx, A.Cecilio
::
::
:: On Mon, May 28, 2012 at 6:39 PM, retired mainframer 
:: retired-mainfra...@q.com wrote:
::
::  The VARY command updates the active configuration in the SMS address
:: space,
::  not the SCDS dataset.  By issuing the SETSMS after the VARY, you
:: restored
::  everything back the way it was, in effect undoing the vary.
:: 
::  Either
::  1 - update an SCDS and then activate it
::  or
::  2 - update the active configuration with VARY commands and then
:: perform
::  SETSMS SAVESCDS(dsn) to save the updated configuration in an SCDS.

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


DFSMS SG POOL Enablement

2012-05-28 Thread af dc
Hello,
I've a SG in the following status:

SCDS Name  . . . . : PROD.SMS.SCDS
Storage Group Name : SGDR
Storage Group Type : POOL
To ALTER Storage Group System/
Sys Group Status, Specify:

 System/Sys  SMS SG   System/Sys  SMS SG
 Group Name  Status   Group Name  Status
 --  --   --  --
 *PARTPLEX   === DISNEW   PA1   === DISNEW
 PA2 === DISNEW   PB1   === DISNEW

doing D SMS,SG(SGDR), I get:
RESPONSE=PA1
 IGD002I 14:16:00 DISPLAY SMS 625

 STORGRP  TYPESYSTEM= 1 2 3 4
 SGDR POOLD D D D

I want to ENABLE this SG onl all systems and I tried:
V SMS,STORGRP(SGDR,ALL),ENABLE
IGD010I STORAGE GROUP (SGDR,ALL ) STATUS IS NOW ENABLED

then:
SETSMS SCDS(PROD.SMS.SCDS)
IGD008I NEW CONFIGURATION ACTIVATED FROM SCDS PROD.SMS.SCDS

but after doing:
D SMS,SG(SGDR), I get:
RESPONSE=PA1
 IGD002I 14:16:00 DISPLAY SMS 625

 STORGRP  TYPESYSTEM= 1 2 3 4
 SGDR POOLD D D D

Can you pls give me an help on what am I missing here ??
Many thx, Antonio Cecilio.

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


Re: DFSMS SG POOL Enablement

2012-05-28 Thread af dc
Well, I guess this will do it:

//MYLIBJCLLIB ORDER=SYS1.SACBCNTL
//*
//STEP1   EXEC ACBJBAOB,
//TABL2=PROD.TEST.ISPTABL
//SYSUDUMP DD  SYSOUT=*
//SYSTSIN  DD *
  PROFILE PREFIX(MYUSER)
  ISPSTART CMD(ACBQBAJ2 +
  ALTER +
  SCDS('PROD.SMS.SCDS') +
  STORGRP(SGDR) +
  SGSTSALL(ENABLE) +
  )
/*
//TEMPFILE  DD  DSN=TEMPFILE,DISP=(MOD,PASS),
//  SPACE=(TRK,(1,1)),LRECL=300,RECFM=F,BLKSIZE=300
//*
//STEP2   EXEC ACBJBAOB,
//TABL2=PROD.TEST.ISPTABL
//SYSUDUMP DD  SYSOUT=*
//SYSTSIN  DD DSN=TEMPFILE,DISP=(OLD,DELETE,DELETE)
//*
//STEP3   EXEC PGM=ICEGENER
//SYSPRINT DD  SYSOUT=*
//SYSUT2   DD  SYSOUT=(*,INTRDR)
//SYSINDD  DUMMY
//SYSUT1   DD  DATA,DLM='$$'
/*$VS,'SETSMS SCDS(PROD.SMS.SCDS)'
$$
/*

Ok, many thx to all and me, A.Cecilio.

On Mon, May 28, 2012 at 2:22 PM, af dc acbi...@gmail.com wrote:

 Hello,
 I've a SG in the following status:

 SCDS Name  . . . . : PROD.SMS.SCDS
 Storage Group Name : SGDR
 Storage Group Type : POOL
 To ALTER Storage Group System/
 Sys Group Status, Specify:

  System/Sys  SMS SG   System/Sys  SMS SG
  Group Name  Status   Group Name  Status
  --  --   --  --
  *PARTPLEX   === DISNEW   PA1   === DISNEW
  PA2 === DISNEW   PB1   === DISNEW

 doing D SMS,SG(SGDR), I get:
 RESPONSE=PA1
  IGD002I 14:16:00 DISPLAY SMS 625

  STORGRP  TYPESYSTEM= 1 2 3 4
  SGDR POOLD D D D

 I want to ENABLE this SG onl all systems and I tried:
 V SMS,STORGRP(SGDR,ALL),ENABLE
 IGD010I STORAGE GROUP (SGDR,ALL ) STATUS IS NOW ENABLED

 then:
 SETSMS SCDS(PROD.SMS.SCDS)
 IGD008I NEW CONFIGURATION ACTIVATED FROM SCDS PROD.SMS.SCDS

 but after doing:
 D SMS,SG(SGDR), I get:
 RESPONSE=PA1
  IGD002I 14:16:00 DISPLAY SMS 625

  STORGRP  TYPESYSTEM= 1 2 3 4
  SGDR POOLD D D D

 Can you pls give me an help on what am I missing here ??
 Many thx, Antonio Cecilio.



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


Re: DFSMS SG POOL Enablement

2012-05-28 Thread retired mainframer
The VARY command updates the active configuration in the SMS address space,
not the SCDS dataset.  By issuing the SETSMS after the VARY, you restored
everything back the way it was, in effect undoing the vary.

Either
 1 - update an SCDS and then activate it
or
 2 - update the active configuration with VARY commands and then perform
SETSMS SAVESCDS(dsn) to save the updated configuration in an SCDS.

:: -Original Message-
:: From: IBM Mainframe Discussion List [mailto:IBM-MAIN@bama.ua.edu] On
:: Behalf Of af dc
:: Sent: Monday, May 28, 2012 6:23 AM
:: To: IBM-MAIN@bama.ua.edu
:: Subject: DFSMS SG POOL Enablement
::
:: Hello,
:: I've a SG in the following status:
::
:: SCDS Name  . . . . : PROD.SMS.SCDS
:: Storage Group Name : SGDR
:: Storage Group Type : POOL
:: To ALTER Storage Group System/
:: Sys Group Status, Specify:
::
::  System/Sys  SMS SG   System/Sys  SMS SG
::  Group Name  Status   Group Name  Status
::  --  --   --  --
::  *PARTPLEX   === DISNEW   PA1   === DISNEW
::  PA2 === DISNEW   PB1   === DISNEW
::
:: doing D SMS,SG(SGDR), I get:
:: RESPONSE=PA1
::  IGD002I 14:16:00 DISPLAY SMS 625
::
::  STORGRP  TYPESYSTEM= 1 2 3 4
::  SGDR POOLD D D D
::
:: I want to ENABLE this SG onl all systems and I tried:
:: V SMS,STORGRP(SGDR,ALL),ENABLE
:: IGD010I STORAGE GROUP (SGDR,ALL ) STATUS IS NOW ENABLED
::
:: then:
:: SETSMS SCDS(PROD.SMS.SCDS)
:: IGD008I NEW CONFIGURATION ACTIVATED FROM SCDS PROD.SMS.SCDS
::
:: but after doing:
:: D SMS,SG(SGDR), I get:
:: RESPONSE=PA1
::  IGD002I 14:16:00 DISPLAY SMS 625
::
::  STORGRP  TYPESYSTEM= 1 2 3 4
::  SGDR POOLD D D D

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