1XSet DEFINITIONS ::= 2BEGIN 3 4-- F.2.11.1 5-- Use a set type to model a collection of variables whose number is 6-- known and modest 7-- and whose order is insignificant. If automatic tagging is not in 8-- effect, identify each 9-- variable by context-specifically tagging it as shown below. 10-- (With automatic tagging, the tags are not needed.) 11-- EXAMPLE 12 13 UserName ::= SET { 14 personalName [0] VisibleString, 15 organizationName [1] VisibleString, 16 countryName [2] VisibleString} 17 18 user UserName ::= { 19 countryName "Nigeria", 20 personalName "Jonas Maruba", 21 organizationName "Meteorology, Ltd."} 22 23 UserName2 ::= SET { 24 personalName [0] VisibleString, 25 organizationName [1] VisibleString OPTIONAL 26 -- defaults to that of the local organization -- , 27 countryName [2] VisibleString OPTIONAL 28 -- defaults to that of the local country -- } 29 30-- F.2.11.3 31-- Use a set type to model a collection of variables whose makeup is 32-- likely to change 33-- from one version of the protocol to the next. 34-- Identify each variable by context-specifically 35-- tagging it to retain control of the tags used. 36-- EXAMPLE 37 38 UserName3 ::= SET { 39 personalName [0] VisibleString, 40 organizationName [1] VisibleString OPTIONAL , 41 -- defaults to that of the local organization 42 countryName [2] VisibleString OPTIONAL 43 -- defaults to that of the local country 44 -- other optional attributes are for further study --} 45 user3 UserName3 ::= { personalName "Jonas Maruba" } 46 47END 48