Usage notes
- For local queues, do not use SDEFS for a queue manager that is running because results will be unpredictable. We can avoid doing this accidentally by using DISP=OLD in the CSQP0000 DD statement. For shared or group queue definitions, this does not matter because the information is derived from DB2.
- When you use SDEFS for local queues you do not need to specify a queue manager name. However, for shared and group queue definitions, a queue manager name is required to access DB2.
- To use the SDEFS function more than once in a job, specify different DDnames and data sets for each invocation of the function, or specify a sequential data set and DISP=MOD in the DD statements.
- If the SDEFS function fails, no further CSQUTIL functions are attempted.