|
View previous topic :: View next topic
|
| Author |
Message |
Praveen Kumar Kolar
New User
Joined: 18 Mar 2021 Posts: 31 Location: India
|
|
|
|
Hi Team,
Can someone please help me with the ICETOOL JCL to generate the list of SMS and NON SMS managed volumes from the vol level decollect report.
I have tried to generate it using the below jcl but was unsuccessful.
code:
SORT FROM(RAWDCOL) TO(DCOL1) USING(SMFI)
DISPLAY FROM(DCOL1) LIST(OUT#REP) -
NOHEADER ON(29,6,CH) -
ON(81,2,HEX) -
ON(35,1,BI)
BLANK
/*
//SMFICNTL DD *
SORT FIELDS=(29,6,CH,A)
INCLUDE COND=(9,1,CH,EQ,C'V')
statement:
I am getting the volume name and device number but the sms/non sms information is missing.
30(X'1E') BITSTRING 1 DCVFLAG1 INFORMATION FLAG #1
.... ..11 DCVPHYST PHYSICAL STATUS
VALUES FOR DCVPHYST—PHYSICAL STATUS OF VOLUME
1 BIT 00000011 DCVMANGD VOLUME IS MANAGED BY SMS
1 BIT 00000001 DCVINITL IN CONVERSION TO SMS
1 BIT 00000000 DCVNMNGD NON-SMS MANAGED VOLUME |
|
| Back to top |
|
 |
Joerg.Findeisen
Senior Member

Joined: 15 Aug 2015 Posts: 1445 Location: Bamberg, Germany
|
|
|
|
Please, remember to use code tags!
Use something like this to convert the Bit value to a string:
| Code: |
.. 35,1,CHANGE=(7,B'......00',C'NonSMS ',
B'......01',C'Initial',
B'......11',C'Convert'),
NOMATCH=(C'???????') .. |
|
|
| Back to top |
|
 |
Joerg.Findeisen
Senior Member

Joined: 15 Aug 2015 Posts: 1445 Location: Bamberg, Germany
|
|
|
|
| Praveen Kumar Kolar wrote: |
SORT FIELDS=(29,6,CH,A)
INCLUDE COND=(9,1,CH,EQ,C'V') |
Consider using plain SORT instead of ICETOOL or SYNCTOOL. For what you are doing it's more straight forward. Also put statements in the order they are executed.
DCOLLECT is working with two letter codes, please use it like this:
| Code: |
| INCLUDE=(9,2,CH,EQ,C'V ') |
|
|
| Back to top |
|
 |
Praveen Kumar Kolar
New User
Joined: 18 Mar 2021 Posts: 31 Location: India
|
|
|
|
Hi Team,
I was able to get the list of non sms volumes using the below condition.
[/code]
SORT FIELDS=(29,6,CH,A)
INCLUDE COND=(9,1,CH,EQ,C'V',AND,35,1,BI,EQ,B'......00')
Thank you all for the help. |
|
| Back to top |
|
 |
Joerg.Findeisen
Senior Member

Joined: 15 Aug 2015 Posts: 1445 Location: Bamberg, Germany
|
|
| Back to top |
|
 |
|
|
 |
All times are GMT + 6 Hours |
|