Complex attributes that require braces

The only complex attribute that requires braces is notification-profile

  • Each value for this complex attribute begins and ends with braces, { }.
  • Each value has several components
  • Each component has a name and associated values
  • The sequence in which you enter the components is not important
  • The component event-identifiers is the only component that can have multiple values

An example of creating a notification profile with one value for a queue follows:

pdset -c queue
   -x "notification-profile={event-identifiers=job-modified
   queue-state-changed delivery-method=message
   event-comment='This is a job modification or status event'
   delivery-address=dave@cowboy locale=En_US.IBM-850}" Queue1

If you change one component in the notification profile, InfoPrint sets all the rest of the components of that value to their default values. For example, this command sets the delivery-address, but InfoPrint sets the other components to their defaults:

pdset -c queue
-x "notification-profile={delivery-address=tom@hope}" Queue1
To maintain the existing values, you must specify them. You cannot use the add, +=, or delete, -=, operators of the pdset or pdmod commands when changing the component values in a notification-profile value. However, you can add or delete all components of a value from the notification-profile by using the add, += , or delete, -= , operators. For example, this command:
pdset -c queue
-x "notification-profile+={delivery-address=mary@cowboy} Queue1
adds another value to the previous one. Now the notification-profile has two values.
notification-profile=
{event-identifiers=job-modified queue-state-changed delivery-method=
message
event-comment='This is a job modification or status event'
delivery-address=dave@cowboy locale=En_US.IBM-850}

{event-identifiers=object-deleted object-cleaned queue-backlogged
delivery-method=message delivery-address=mary@cowboy
locale=En_US.IBM-850}
The second value contains default values for each component except the delivery address. If you want values other than defaults, you must specify them.