If you use CEEMSG to "write" an LE condition code message you'll get a nicely formatted and indented message such as this (ignoring the fact that the message itself is just random characters):
UFB0001I asdjkfgjklbjkbjkl;dsjfkl;jklbjkbjkljdk dfjklbjklsaqed?dsafgdsjfhsdjkflhjklhvjklhvjklhvjkslhjviobui udisao jfi?asdvjbkl;gjkls;gjkl;bjobjiwov SDGJAS9fjdfc8v98d90dffd98?88b9b9vb9g9bu349bub90@8ug908b90b890g890890b89b8b9v8b901. When you use CEEMGET to retrieve the message into your own storage so you can, say, write it to somewhere other than the CEEMSG dataset, it's not formatted quite so nicely. The above, for example, comes out something like this: UFB0001I asdjkfgjklbjkbjkl;dsjfkl;jklbjkbjkljdk dfjklbjklsaqed?dsafgdsjfhsdjkflhjklhvjklhvjklhvjkslhjviobui udisao jfi?asdvjbkl;gjkls;gjkl;bjobjiwov SDGJAS9fjdfc8v98d90dffd98?88b9b9vb9g9bu349bub90@8ug908b90b890g890890b89b8b9v8b90 1. I was wondering it anyone had and would be kind enough to share some code that would, essentially, format the above in the same format as CEEMSG does. Yes, I'm being a bit lazy, but why reinvent the wheel if someone has already done so. Thanks! Frank ---------------------------------------------------------------------- For IBM-MAIN subscribe / signoff / archive access instructions, send email to [email protected] with the message: INFO IBM-MAIN
