Portal | Manuals | References | Downloads | Info | Programs | JCLs | Mainframe wiki | Quick Ref
IBM Mainframe Computers Forums Index
 
Register
 
IBM Mainframe Computers Forums Index Mainframe: Search IBM Mainframe Forum: FAQ Memberlist Profile Log in to check your private messages Log in
 
Moving comp value to Numeric value

 
Post new topic   Reply to topic    IBMMAINFRAMES.com Support Forums -> CA Products
View previous topic :: :: View next topic  
Author Message
Selvamani

New User


Joined: 19 Dec 2006
Posts: 21
Location: California

PostPosted: Fri Aug 17, 2007 6:33 am    Post subject: Moving comp value to Numeric value
Reply with quote

Hi,

I need to move a comp value to a numeric field.
I have defined like this

M-AIF-SSN-TAXID 73 5 P

O-AIF-SSN-TAXID 27 35 N

I am getting error
17 O-AIF-SSN-TAXID 27 36 N
17 *******B097 LENGTH INVALID FOR TYPE - N

Can someone help me?
Back to top
View user's profile Send private message

dick scherrer

Site Director


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

PostPosted: Fri Aug 17, 2007 7:36 am    Post subject:
Reply with quote

Hello,

The length you've specified is far too long.
Back to top
View user's profile Send private message
bijumon

New User


Joined: 14 Aug 2006
Posts: 20
Location: Pune,India

PostPosted: Fri Aug 17, 2007 9:40 am    Post subject: Reply to: Moving comp value to Numeric value
Reply with quote

Hi,

I am just adding to what dick has specified above, the maximum

length supported for a numeric field is 18 bytes.


Thanks & Regards,
----------------------
Biju
Back to top
View user's profile Send private message
Selvamani

New User


Joined: 19 Dec 2006
Posts: 21
Location: California

PostPosted: Fri Aug 17, 2007 10:57 am    Post subject:
Reply with quote

Thanks both. It works now.
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 -> CA Products All times are GMT + 6 Hours
Page 1 of 1

 

Search our Forum:

Similar Topics
Topic Author Forum Replies Posted
No new posts Moving UDB database to Db2 on z/OS Keith Hooley DB2 4 Wed Sep 27, 2017 12:38 am
No new posts File Aid tool to compare numeric data balaji81_k Compuware & Other Tools 2 Tue Sep 26, 2017 3:35 am
No new posts Moving values to a variable of copybo... Vignesh Sid COBOL Programming 6 Wed Sep 06, 2017 1:04 pm
No new posts Remove leading spaces from numeric field rexx77 SYNCSORT 6 Wed Sep 06, 2017 2:15 am
No new posts Return a Non Numeric value from REXX Learncoholic CLIST & REXX 3 Fri Sep 01, 2017 8:33 pm

Facebook
Back to Top
 
Job Vacancies | Forum Rules | Bookmarks | Subscriptions | FAQ | Polls | Contact Us