View previous topic :: View next topic
|
Author |
Message |
bhaskar_157
New User
Joined: 27 Dec 2005 Posts: 3
|
|
|
|
Hi i have attended the Wipro interview,There asking How we can display the Comp-3 Values using program,
Can you please tel mee whats the answer.
Thanks,
Vijji |
|
Back to top |
|
|
priyesh.agrawal
Senior Member
Joined: 28 Mar 2005 Posts: 1448 Location: Chicago, IL
|
|
|
|
Move COMP-3 Values to corresponding NORMAL Values. And then DISPLAY that NORMAL Value.
Regards,
Priyesh. |
|
Back to top |
|
|
prasad43
New User
Joined: 21 Oct 2005 Posts: 7 Location: blore
|
|
|
|
hi,
first we declare one variable with same size of comp-3 variable. next we move that com-3 value to the normal variable.now we display that
normal variable |
|
Back to top |
|
|
deepamk
New User
Joined: 30 Nov 2005 Posts: 8
|
|
|
|
bhaskar_157 wrote: |
Hi i have attended the Wipro interview,There asking How we can display the Comp-3 Values using program,
Can you please tel mee whats the answer.
Thanks,
Vijji |
Hi,
May be the interviewer has expected an answer like moving the comp-3 value to an Edited Picture variable.
(Edited Pictures, are PICTURE clauses that format data intended for output to screen or printer.)
Check out this link
www.csis.ul.ie/cobol/Course/EditedPics.htm |
|
Back to top |
|
|
mmwife
Super Moderator
Joined: 30 May 2003 Posts: 1592
|
|
|
|
A pic s9(003) comp-3 variable will display the same way a s9(003) variable will. The interviewer may have wanted to see if you knew that. |
|
Back to top |
|
|
|