Re: Extended SMS routine

2015-04-24 Thread Darth Keller
A small suggestion for the code below would be to add a unique identifier to 
each WRITE Statement.   It seems like every company I've implemented SMS in has 
constructs which are assigned at multiple points in the code.  

If that were to be true in this case,  it would be more difficult to determine 
at which point DSOMEDC was assigned.  I've found it to be very helpful to add 
identifiers like
 WRITE 'DC000100 DATACLASS SET to ('DATACLASS')'
Each DC# is unique to that WRITE/EXIT combination.  When debugging an issue, it 
can speed things up as your EXIT point is immediately identified.  You can also 
add some of the WRITE variables to help you in debugging the issue like DSN, 
DD, ANYVOL, etc.

//

IF DATACLAS EQ '' THEN /* HONORING SPECIFIED STORAGE CLASSES*/
   SELECT  
WHEN (DSN EQ WHATEVER) 
  DO   
SET DATACLAS EQ 'DCSOMEDC'
WRITE 'DATACLASS IS SET TO ('DATACLAS')'  
EXIT   
  END  
WHEN (DSN EQ SOMETHING) 
  DO   
SET DATACLAS EQ 'DCOTHER'
WRITE 'DATACLASS IS SET TO ('DATACLAS')'  
EXIT   
  END   
(repeat as needed)   
OTHERWISE  
  SET DATACLAS EQ ''  
   
   END /*  END SELECT  */  


**
This e-mail message and all attachments transmitted with it may contain legally 
privileged and/or confidential information intended solely for the use of the 
addressee(s). If the reader of this message is not the intended recipient, you 
are hereby notified that any reading, dissemination, distribution, copying, 
forwarding or other use of this message or its attachments is strictly 
prohibited. If you have received this message in error, please notify the 
sender immediately and delete this message and all copies and backups thereof. 
Thank you.


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


Re: Extended SMS routine

2015-04-23 Thread Jake Anderson
Hello Liz,

I did add the below lines in DATACLAS:

WHEN (DATACLAS = 'EXTENDED')   SET DATACLAS = DATACLAS

WHEN (DSN = OMVSPRD.SMPE.**)   SET DATACLAS = 'EXTENDED'

After the above change I did the TRANSLATE/VALIDATE and ACTIVATED the SCDS
using ISMF.

Even after the above Change I get the same error message.

Jake

On Wed, Apr 22, 2015 at 7:24 PM, Lizette Koehler stars...@mindspring.com
wrote:

 Jake,
 Along these lines.

 To make this work you need to do the following steps
 1) Create a Dataclas with EA/EF
 2) Update the Dataclas ACS Code for your VSAM datasets that are to get the
 Dataclas
 3) TRANSLATE/VALIDATE/ACTIVATE the SCDS dataset for this Dataclas ACS code
 4) Create the VSAM dataset and do a LISTC and verify the EA/EF is on the
 file.

 Lizette


  -Original Message-
  From: IBM Mainframe Discussion List [mailto:IBM-MAIN@LISTSERV.UA.EDU]
  On Behalf Of van der Grijn, Bart (B)
  Sent: Wednesday, April 22, 2015 6:32 AM
  To: IBM-MAIN@LISTSERV.UA.EDU
  Subject: Re: Extended SMS routine
 
  How do you believe you're coding the EXTENDED DC? Are you coding
  DATACLASS on your DEFINE CLUSTER? If so, is your ACS routine coded to
  honor the hardcoded DATACLASS or is it ignoring what you specify and
 using
  what it believes is correct?
 
  -Original Message-
  From: IBM Mainframe Discussion List [mailto:IBM-MAIN@LISTSERV.UA.EDU]
  On Behalf Of Jake Anderson
  Sent: Wednesday, April 22, 2015 9:21 AM
  To: IBM-MAIN@LISTSERV.UA.EDU
  Subject: Re: Extended SMS routine
 
  Hello Van,
 
  I tried creating with the smaller size with the dataclas: extended, but
 it takes
  another dataclas. Not sure why it is not taking up the the EXTENDED
 dataclas.
 
 
 
  On Wed, Apr 22, 2015 at 6:37 PM, van der Grijn, Bart (B) 
  bvandergr...@dow.com wrote:
 
   Jake, the message indicates you're not defining the VSAM as extended.
   How sure are you it is picking up the correct dataclass? Try defining
   the dataset with just a couple of cylinders and then run a listc to
   check it's using the dataclass you're expecting.
  
   Bart
  
   -Original Message-
   From: IBM Mainframe Discussion List [mailto:IBM-
  m...@listserv.ua.edu]
   On Behalf Of Jake Anderson
   Sent: Wednesday, April 22, 2015 5:12 AM
   To: IBM-MAIN@LISTSERV.UA.EDU
   Subject: Re: Extended SMS routine
  
   Hi Elardus/All,
  
   I do see the DATACLAS under the CDS 'ACTIVE'
  
   EXTENDED 20:22  EXTENDED REQUIRED   YES
  
   The Storage Group has a mod-27 volume and with just 20% used. Not sure
   why it is still not honouring the allocation of more than 4G
  
  
  
   On Wed, Apr 22, 2015 at 2:36 PM, Elardus Engelbrecht 
   elardus.engelbre...@sita.co.za wrote:
  
Jake Anderson wrote:
   
Sorry, It was in cylinders :)
   
It is all right. Many thanks.
   
The dataclas: extended had the extended address ability to 'YES'.
Is
there a way to check if a particular DATACLAS is active ?
   
If you have activated your ACDS, do you see that DATACLAS when you
use ISMF with CDS as 'ACTIVE' when selecting the Data Class screen?
   
I will look in the meantime for your error message. I believe I have
seen this type of allocation error before...
   
Groete / Greetings
Elardus Engelbrecht
   

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


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


Re: Extended SMS routine

2015-04-22 Thread van der Grijn, Bart (B)
Jake, the message indicates you're not defining the VSAM as extended. How sure 
are you it is picking up the correct dataclass? Try defining the dataset with 
just a couple of cylinders and then run a listc to check it's using the 
dataclass you're expecting. 

Bart

-Original Message-
From: IBM Mainframe Discussion List [mailto:IBM-MAIN@LISTSERV.UA.EDU] On Behalf 
Of Jake Anderson
Sent: Wednesday, April 22, 2015 5:12 AM
To: IBM-MAIN@LISTSERV.UA.EDU
Subject: Re: Extended SMS routine

Hi Elardus/All,

I do see the DATACLAS under the CDS 'ACTIVE'

EXTENDED 20:22  EXTENDED REQUIRED   YES

The Storage Group has a mod-27 volume and with just 20% used. Not sure why
it is still not honouring the allocation of more than 4G



On Wed, Apr 22, 2015 at 2:36 PM, Elardus Engelbrecht 
elardus.engelbre...@sita.co.za wrote:

 Jake Anderson wrote:

 Sorry, It was in cylinders :)

 It is all right. Many thanks.

 The dataclas: extended had the extended address ability to 'YES'. Is
 there a way to check if a particular DATACLAS is active ?

 If you have activated your ACDS, do you see that DATACLAS when you use
 ISMF with CDS as 'ACTIVE' when selecting the Data Class screen?

 I will look in the meantime for your error message. I believe I have seen
 this type of allocation error before...

 Groete / Greetings
 Elardus Engelbrecht


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


Re: Extended SMS routine

2015-04-22 Thread Jake Anderson
Hello Van,

I tried creating with the smaller size with the dataclas: extended, but it
takes another dataclas. Not sure why it is not taking up the the EXTENDED
dataclas.



On Wed, Apr 22, 2015 at 6:37 PM, van der Grijn, Bart (B) 
bvandergr...@dow.com wrote:

 Jake, the message indicates you're not defining the VSAM as extended. How
 sure are you it is picking up the correct dataclass? Try defining the
 dataset with just a couple of cylinders and then run a listc to check it's
 using the dataclass you're expecting.

 Bart

 -Original Message-
 From: IBM Mainframe Discussion List [mailto:IBM-MAIN@LISTSERV.UA.EDU] On
 Behalf Of Jake Anderson
 Sent: Wednesday, April 22, 2015 5:12 AM
 To: IBM-MAIN@LISTSERV.UA.EDU
 Subject: Re: Extended SMS routine

 Hi Elardus/All,

 I do see the DATACLAS under the CDS 'ACTIVE'

 EXTENDED 20:22  EXTENDED REQUIRED   YES

 The Storage Group has a mod-27 volume and with just 20% used. Not sure why
 it is still not honouring the allocation of more than 4G



 On Wed, Apr 22, 2015 at 2:36 PM, Elardus Engelbrecht 
 elardus.engelbre...@sita.co.za wrote:

  Jake Anderson wrote:
 
  Sorry, It was in cylinders :)
 
  It is all right. Many thanks.
 
  The dataclas: extended had the extended address ability to 'YES'. Is
  there a way to check if a particular DATACLAS is active ?
 
  If you have activated your ACDS, do you see that DATACLAS when you use
  ISMF with CDS as 'ACTIVE' when selecting the Data Class screen?
 
  I will look in the meantime for your error message. I believe I have seen
  this type of allocation error before...
 
  Groete / Greetings
  Elardus Engelbrecht
 

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


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


Re: Extended SMS routine

2015-04-22 Thread van der Grijn, Bart (B)
How do you believe you're coding the EXTENDED DC? Are you coding DATACLASS on 
your DEFINE CLUSTER? If so, is your ACS routine coded to honor the hardcoded 
DATACLASS or is it ignoring what you specify and using what it believes is 
correct? 

-Original Message-
From: IBM Mainframe Discussion List [mailto:IBM-MAIN@LISTSERV.UA.EDU] On Behalf 
Of Jake Anderson
Sent: Wednesday, April 22, 2015 9:21 AM
To: IBM-MAIN@LISTSERV.UA.EDU
Subject: Re: Extended SMS routine

Hello Van,

I tried creating with the smaller size with the dataclas: extended, but it
takes another dataclas. Not sure why it is not taking up the the EXTENDED
dataclas.



On Wed, Apr 22, 2015 at 6:37 PM, van der Grijn, Bart (B) 
bvandergr...@dow.com wrote:

 Jake, the message indicates you're not defining the VSAM as extended. How
 sure are you it is picking up the correct dataclass? Try defining the
 dataset with just a couple of cylinders and then run a listc to check it's
 using the dataclass you're expecting.

 Bart

 -Original Message-
 From: IBM Mainframe Discussion List [mailto:IBM-MAIN@LISTSERV.UA.EDU] On
 Behalf Of Jake Anderson
 Sent: Wednesday, April 22, 2015 5:12 AM
 To: IBM-MAIN@LISTSERV.UA.EDU
 Subject: Re: Extended SMS routine

 Hi Elardus/All,

 I do see the DATACLAS under the CDS 'ACTIVE'

 EXTENDED 20:22  EXTENDED REQUIRED   YES

 The Storage Group has a mod-27 volume and with just 20% used. Not sure why
 it is still not honouring the allocation of more than 4G



 On Wed, Apr 22, 2015 at 2:36 PM, Elardus Engelbrecht 
 elardus.engelbre...@sita.co.za wrote:

  Jake Anderson wrote:
 
  Sorry, It was in cylinders :)
 
  It is all right. Many thanks.
 
  The dataclas: extended had the extended address ability to 'YES'. Is
  there a way to check if a particular DATACLAS is active ?
 
  If you have activated your ACDS, do you see that DATACLAS when you use
  ISMF with CDS as 'ACTIVE' when selecting the Data Class screen?
 
  I will look in the meantime for your error message. I believe I have seen
  this type of allocation error before...
 
  Groete / Greetings
  Elardus Engelbrecht
 

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


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

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


Extended SMS routine

2015-04-22 Thread Jake Anderson
Hello Group,

I am trying to define a zfs with a size of 8000 primary and 1000 as
secondary. During the allocation i have specified the dataclas value as
:EXTENDED(which is already defined in ISMF).

During the allocation it again fails with the below message :

IGD01008I ALLOCATION SET TO SCOMVSP M0390
IGD01010I ALLOCATION SET TO SGOMVSP STORAGE GROUP
IGD17103I CATALOG ERROR WHILE DEFINING VSAM DATA SET
xx.xxx.x.zfs
RETURN CODE IS 140 REASON CODE IS 110 IGG0CLEV
IGD306I UNEXPECTED ERROR DURING IGG0CLEV PROCESSING
RETURN CODE 140 REASON CODE 110
THE MODULE THAT DETECTED THE ERROR IS IGDVTSCU
SMS MODULE TRACE BACK - VTSCU VTSCT VTSCH VTSCG VTSCD VTSCC VTSCR SSIRT
SYMPTOM RECORD CREATED, PROBLEM ID IS IGD00025
IGD17219I UNABLE TO CONTINUE DEFINE OF DATA SET
xx.xxx.x.zfs
IDC3014I CATALOG ERROR
IDC3009I ** VSAM CATALOG RETURN CODE IS 140 - REASON CODE IS
IDC3009I IGG0CLEV-110
***

I have really forgotten about if we have to mention any extended parameter
in STORAGE group definition to allocate zfs of more than 4G ?

Could someone please provide me your advise if my assumptions are correct ?

z/OS : 1.13

Jake

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


Re: Extended SMS routine

2015-04-22 Thread Jake Anderson
Sorry, It was in cylinders :)

The dataclas: extended had the extended address ability to 'YES'. Is there
a way to check if a particular DATACLAS is active ?

On Wed, Apr 22, 2015 at 2:30 PM, Elardus Engelbrecht 
elardus.engelbre...@sita.co.za wrote:

 Jake Anderson wrote:

 I am trying to define a zfs with a size of 8000 primary and 1000 as
 secondary.

 What size? Cyls, tracks, records, bytes, eggs, sheeps, what?

 Groete / Greetings
 Elardus Engelbrecht

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


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


Re: Extended SMS routine

2015-04-22 Thread Elardus Engelbrecht
Jake Anderson wrote:

Sorry, It was in cylinders :)

It is all right. Many thanks.

The dataclas: extended had the extended address ability to 'YES'. Is there a 
way to check if a particular DATACLAS is active ?

If you have activated your ACDS, do you see that DATACLAS when you use ISMF 
with CDS as 'ACTIVE' when selecting the Data Class screen?

I will look in the meantime for your error message. I believe I have seen this 
type of allocation error before...

Groete / Greetings
Elardus Engelbrecht

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


Re: Extended SMS routine

2015-04-22 Thread Jake Anderson
Hi Elardus/All,

I do see the DATACLAS under the CDS 'ACTIVE'

EXTENDED 20:22  EXTENDED REQUIRED   YES

The Storage Group has a mod-27 volume and with just 20% used. Not sure why
it is still not honouring the allocation of more than 4G



On Wed, Apr 22, 2015 at 2:36 PM, Elardus Engelbrecht 
elardus.engelbre...@sita.co.za wrote:

 Jake Anderson wrote:

 Sorry, It was in cylinders :)

 It is all right. Many thanks.

 The dataclas: extended had the extended address ability to 'YES'. Is
 there a way to check if a particular DATACLAS is active ?

 If you have activated your ACDS, do you see that DATACLAS when you use
 ISMF with CDS as 'ACTIVE' when selecting the Data Class screen?

 I will look in the meantime for your error message. I believe I have seen
 this type of allocation error before...

 Groete / Greetings
 Elardus Engelbrecht

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


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


Re: Extended SMS routine

2015-04-22 Thread Elardus Engelbrecht
Jake Anderson wrote:

I am trying to define a zfs with a size of 8000 primary and 1000 as secondary. 

What size? Cyls, tracks, records, bytes, eggs, sheeps, what?

Groete / Greetings
Elardus Engelbrecht

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