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

Can I move an X(10) variable to S9(8)V9(2)


IBM Mainframe Forums -> COBOL Programming
Post new topic   Reply to topic
View previous topic :: View next topic  
Author Message
manugeorge2004

New User


Joined: 17 Jun 2009
Posts: 38
Location: Denver

PostPosted: Wed Jan 20, 2010 1:14 am
Reply with quote

Hi

I had to move an X(10) variable to S9(8)V9(2)
Is there a possibility, whether this MOVE will abend in case of any data in the character field. I am expecting alphanumeric values in the input ( including space and '.' )
Back to top
View user's profile Send private message
dick scherrer

Moderator Emeritus


Joined: 23 Nov 2006
Posts: 19244
Location: Inside the Matrix

PostPosted: Wed Jan 20, 2010 1:30 am
Reply with quote

Hello,

If you are expecting alphanumeric values in the field, why would there even be consideration of moving it to some numeric field. . . icon_confused.gif

If you explain more of the requirement, someone may have a more useful reply.
Back to top
View user's profile Send private message
Craq Giegerich

Senior Member


Joined: 19 May 2007
Posts: 1512
Location: Virginia, USA

PostPosted: Wed Jan 20, 2010 1:33 am
Reply with quote

This has been discussed many times, try searching on numval!
Back to top
View user's profile Send private message
Terry Heinze

JCL Moderator


Joined: 14 Jul 2008
Posts: 1249
Location: Richfield, MN, USA

PostPosted: Wed Jan 20, 2010 3:59 am
Reply with quote

Is this another way of stating your question in your other thread in Mainframe COBOL? If so, please ask the question only once.
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 -> COBOL Programming

 


Similar Topics
Topic Forum Replies
No new posts Extracting Variable decimal numbers f... DFSORT/ICETOOL 17
No new posts Variable Output file name DFSORT/ICETOOL 8
No new posts COBOL - Move S9(11)v9(7) COMP-3 to -(... COBOL Programming 5
No new posts How to move the first field of each r... DFSORT/ICETOOL 5
No new posts Moving Or setting POINTER to another ... COBOL Programming 2
Search our Forums:

Back to Top