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
 
Move from Numeric to Comp-3

 
Post new topic   Reply to topic    IBMMAINFRAMES.com Support Forums -> COBOL Programming
View previous topic :: :: View next topic  
Author Message
Prakash_mainframes

New User


Joined: 26 Feb 2005
Posts: 5
Location: Pune

PostPosted: Sat Feb 26, 2005 4:02 pm    Post subject: Move from Numeric to Comp-3
Reply with quote

Hi ,

I am moving the time which is of Numeric type to Comp-3 type. but when it is moved, the value is not getting polpulated. Let me know about this.

Cheers,
Prakash
Back to top
View user's profile Send private message

mmwife

Super Moderator


Joined: 30 May 2003
Posts: 1592

PostPosted: Sun Feb 27, 2005 2:25 am    Post subject:
Reply with quote

Hi Prakash,

Why don't you show us how each of the fields were defined; what the content of the sending field was. Also how did you view the receiving field to determine that it was "unpopulated"? Let me know about this.
Back to top
View user's profile Send private message
pr_ibm

New User


Joined: 04 May 2005
Posts: 9

PostPosted: Wed Jun 01, 2005 7:33 pm    Post subject:
Reply with quote

i think you are trying to display COMP-3 field after populating and saying it is not populating. If it is so you are wrong. we can't see COMP-3 values directly. If it is in file view the value in Hexadecimal format. if it is in sysout try to move it to disp field and display it.

Regards
Pr..
Back to top
View user's profile Send private message
sbalajibe

New User


Joined: 15 Aug 2005
Posts: 62

PostPosted: Mon Nov 21, 2005 2:23 pm    Post subject:
Reply with quote

hi,
In Comp-3 the digits are stored in half-byte so we cannot able to display
we have to convert to usage display to see in the output
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 -> COBOL Programming All times are GMT + 6 Hours
Page 1 of 1

 

Search our Forum:

Similar Topics
Topic Author Forum Replies Posted
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 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
No new posts Select numeric portion from CHAR data... balaji81_k DB2 6 Sat Aug 19, 2017 1:51 am
No new posts Move from Comp3 variable to Edited Va... sreekusr COBOL Programming 8 Thu Aug 10, 2017 4:20 pm

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