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

Move from Numeric to Comp-3


IBM Mainframe Forums -> COBOL Programming
Post new topic   Reply to topic
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
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
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
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
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 View Bookmarks
All times are GMT + 6 Hours
Forum Index -> COBOL Programming

 


Similar Topics
Topic Forum Replies
No new posts Issues Converting From ZD to Signed N... DFSORT/ICETOOL 4
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 Convert HEX to Numeric DB2 3
No new posts Converting ASCII values to COMP-3 (ZD... JCL & VSAM 2
Search our Forums:

Back to Top