Page 2 of 2

Re: 'V' type records from DCOLLECT through ICETOOL control c

PostPosted: Fri Jan 20, 2012 7:38 pm
by ravisankarc
@Robert Sample : I have changed that two 2 bytes. It means I have changed my control card as below :

INCLUDE COND=(9,2,CH,EQ,C'V',AND,
35,1,BI,NE,B'......10')
OUTFIL VTOF,BUILD=(87,10,1X,29,6,1X,13,4,1X,
35,1,CHANGE=(11,
B'......11',C'SMS MANAGED',
B'......01',C'CONVERSION',
B'......00',C'NON SMS'),1X,80:X)

I agree with you that V and VL are not the same. But, when I am trying to extract V type records using above control card then it is giving output as few volumes as SMS MANAGED but they are not SMS MANAGED but those volumes belongs to NON SMS.


@Enrico : I am not talking anything about IBM macro. Because I am not familiar with macro's. Also, FYI, I have used the same link and got the above control card.

My only question here is, when the volume is NON SMS then why it is showing as SMS Managed? and that too only for few volumes. But it is giving the correct output for all other volumes. If it is SMS volume then it is showing as SMS MANAGED, if it is NON SMS volume then it is showing as NON SMS.

Re: 'V' type records from DCOLLECT through ICETOOL control c

PostPosted: Fri Jan 20, 2012 7:44 pm
by enrico-sorichetti
again ... the info You used was just wrong ... just bear it
why not run a simple snippet
checking for a 1 byte V printing 2 bytes and the volume label and do a visual check of the result

Re: 'V' type records from DCOLLECT through ICETOOL control c

PostPosted: Fri Jan 20, 2012 8:03 pm
by Robert Sample
If I wanted to know SMS-managed volumes in the DCOLLECT record type 'V ' data, I would look at the binary 2-byte field length of storage group name (which starts in colume 81). If the storage group name length is zero, then without a storage group the volume can't be managed by SMS, can it?

Re: 'V' type records from DCOLLECT through ICETOOL control c

PostPosted: Mon Jan 23, 2012 7:30 pm
by ravisankarc
@Enrico : Yes, I have tried this, but still getting the same result. Also, I have simply copied the example given in the link and gets same result. Really surprised, how few NON SMS volumes are shown as SMS Managed volumes.