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
 

 

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
This topic is locked: you cannot edit posts or make replies. How to move a long alphanumeric data ... lind sh COBOL Programming 8 Mon Dec 05, 2016 7:51 pm
No new posts Sort records based on numeric field. Alks SYNCSORT 2 Wed Oct 19, 2016 10:14 pm
No new posts Protection Exception while move 0 to ... Kevin Vaz CICS 10 Tue Oct 18, 2016 4:19 pm
No new posts How can we create a flat file in JAVA... rakesh.v18 Java & MQSeries 7 Fri Sep 23, 2016 10:46 pm
No new posts Casting a Binary Number to Numeric in... Bob Steinkraus Java & MQSeries 6 Tue Aug 09, 2016 5:58 pm


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