Posted: Mon Jun 02, 2003 7:49 pm Post subject: CWF string justification and padding
Partisan
Joined: 07 Aug 2001 Posts: 386
We have a large cobol copy book with over 1000 fields of various types. The default mapping for string is left justify and padding value is space and for Integer it is right justify and the padding is '0'.
We like to see if there is any easy way of changing these defaults. For example if I want to change the default for all string from left justify to right justify and the padding from space to zero.
The only way I know is to go to each string field, check it out and change the value for justification and padding, then check it back in. This can take for ever to do several handred fields. Is there a quicker way to do it.
Joined: 05 Sep 2001 Posts: 3779 Location: Torrance, CA, USA
First, export your message set and then search for those string elements and try to identify the justification property XML tag name.
I'm sure you can change the value of this tag by using some global search/replace commands. I'd used similar approach for changing padding characters once. _________________ Kiran
IBM Cert. Solution Designer & System Administrator - WBIMB V5
IBM Cert. Solutions Expert - WMQI
IBM Cert. Specialist - WMQI, MQSeries
IBM Cert. Developer - MQSeries
You cannot post new topics in this forum You cannot reply to topics in this forum You cannot edit your posts in this forum You cannot delete your posts in this forum You cannot vote in polls in this forum