Posted: Sat Feb 21, 2009 9:35 pm Post subject: messageset which elimininates some characters
Yatiri
Joined: 11 Nov 2008 Posts: 610
Hi Guys,
We are using MB V.6.0. We wanted to try out something as below.
We are getting the message from mainframe and is validated via a messageset(copybook). For a particular field in the messageset, we are declaring it as a string and we want to throw error when there are some characters, lets say... A-D(A, B, C & D).
To achieve this, I have used value constraint field and set this field by clicking 'Add' button. I added this value [^A-D^]. I know how to handle special characters and I am not sure how to throw exception for some characters(not special chars) and also for numerics when we use the datatype of 'string'.
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