IBM Mainframe Forum Index
 
Log In
 
IBM Mainframe Forum Index Mainframe: Search IBM Mainframe Forum: FAQ Register
 

Handling Integers getting ASRA


IBM Mainframe Forums -> CICS
Post new topic   Reply to topic
View previous topic :: View next topic  
Author Message
star_dhruv2000

New User


Joined: 03 Nov 2006
Posts: 87
Location: Plymouth, MN USA

PostPosted: Thu Dec 27, 2007 4:52 pm
Reply with quote

Hi All,

I got an unprotected field with ATRIB=NUM i.e I only want integers to be entered in this. But I am still able to enter + , - and # in this field which is not acceptable. Is there any to retrict these variables in my field.

I am getting ASRA coz of + and # and - is been converted to 0 by my logic.

Thanks in advance.
Back to top
View user's profile Send private message
rick

New User


Joined: 18 Jun 2004
Posts: 59
Location: Chennai

PostPosted: Mon Jan 28, 2008 12:15 am
Reply with quote

have u ensured if there is no "spaces" or other characters inserted??


Rick.
Use [URL] BBCode for External Links
Back to top
View user's profile Send private message
Bill O'Boyle

CICS Moderator


Joined: 14 Jan 2008
Posts: 2501
Location: Atlanta, Georgia, USA

PostPosted: Mon Jan 28, 2008 2:09 am
Reply with quote

Try adding the PICIN clause to the map-field INPUT definition. You may or may not need PICOUT added to your map-field OUPUT definition, but that's your decision.

Regards,

Bill
Back to top
View user's profile Send private message
rag swain

New User


Joined: 17 Dec 2007
Posts: 33
Location: pune,INDIA

PostPosted: Wed Jan 30, 2008 8:00 pm
Reply with quote

Can do some editing after accepting from terminal to prevent them going downstream in the program.
Back to top
View user's profile Send private message
View previous topic :: :: View next topic  
Post new topic   Reply to topic View Bookmarks
All times are GMT + 6 Hours
Forum Index -> CICS

 


Similar Topics
Topic Forum Replies
No new posts File Handling COBOL Programming 9
No new posts Handling the numeric data in unstring... COBOL Programming 18
No new posts SORT for dynamic trailer record + CSV... DFSORT/ICETOOL 14
This topic is locked: you cannot edit posts or make replies. regarding COBOL WRITE verb (VB File H... COBOL Programming 9
No new posts Handling abend to prevent termination CICS 0
Search our Forums:

Back to Top