Portal | Manuals | References | Downloads | Info | Programs | JCLs | Master the Mainframes
IBM Mainframe Computers Forums Index
 
Register
 
IBM Mainframe Computers Forums Index Mainframe: Search IBM Mainframe Forum: FAQ Memberlist Usergroups Profile Log in to check your private messages Log in
 

 

Handling Integers getting ASRA

 
Post new topic   Reply to topic    IBMMAINFRAMES.com Support Forums -> CICS
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    Post subject: Handling Integers getting ASRA
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    Post subject:
Reply with quote

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


Rick.
www.rick.co.in
Back to top
View user's profile Send private message
Bill O'Boyle

CICS Moderator


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

PostPosted: Mon Jan 28, 2008 2:09 am    Post subject: Handling Integers getting ASRA
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    Post subject: Reply to: Handling Integers getting ASRA
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    IBMMAINFRAMES.com Support Forums -> CICS All times are GMT + 6 Hours
Page 1 of 1

 

Search our Forum:

Similar Topics
Topic Author Forum Replies Posted
No new posts ON ERROR handling soundarr PL/I & Assembler 2 Wed May 11, 2016 3:37 am
No new posts Exception Handling in Native Stored P... Mariraj DB2 1 Thu Feb 25, 2016 4:08 am
No new posts ASRA abend calling Assembler from CICS surya8 PL/I & Assembler 13 Thu Sep 10, 2015 7:50 pm
No new posts Handling Rexx Abend trushant.w CLIST & REXX 3 Thu Jan 08, 2015 6:42 pm
No new posts Handling a string more than 250 chara... prasadchikane CLIST & REXX 3 Fri Nov 07, 2014 11:12 am


Facebook
Back to Top
 
Mainframe Wiki | Forum Rules | Bookmarks | Subscriptions | FAQ | Tutorials | Contact Us