View previous topic :: View next topic
|
Author |
Message |
rinkubhat
New User
Joined: 13 Sep 2005 Posts: 35 Location: India
|
|
|
|
I have a 8 byte alpha numeric field in the map . I want to allow only numeric and numeric fields with spaces .
e.g I can allow 082,__082.
0_82 not allowed.
Here _ represents spaces. |
|
Back to top |
|
|
Bill O'Boyle
CICS Moderator
Joined: 14 Jan 2008 Posts: 2501 Location: Atlanta, Georgia, USA
|
|
|
|
Review the PICIN and PICOUT keywords on the DFHMDF definition.
They might do the trick, with some modification.
Bill |
|
Back to top |
|
|
Robert Sample
Global Moderator
Joined: 06 Jun 2008 Posts: 8696 Location: Dubuque, Iowa, USA
|
|
|
|
Since you did not explain very precisely what you want, it's hard to provide a response. Are you wanting to generate an error message when you have invalid data in the field? Do you want to just get rid of the invalid data in the field? Are you wanting to check each byte separately? Can there be a sign in the field?
Either EXEC CICS BIF DEEDIT or reference modification would do what you want, depending upon exactly what you're attempting to achieve. |
|
Back to top |
|
|
Gautam512
Active User
Joined: 05 Oct 2005 Posts: 308 Location: Vizag / US
|
|
|
|
hi,
the only way i see is, define the field as alpha-numneric and validate the fields once you receive the map in the program...
let me know if you found a better solution, it helps us to learn as well....
thanks |
|
Back to top |
|
|
Robert Sample
Global Moderator
Joined: 06 Jun 2008 Posts: 8696 Location: Dubuque, Iowa, USA
|
|
|
|
Gautam512, after 5 1/2 weeks with no further response, do you really expect to get anything from the o/p? |
|
Back to top |
|
|
|