Programming Languages COBOL Subjective
Mar 15, 2013

What happens when we move a comp-3 field to an edited ( say z(9).zz-)

Detailed Explanation

The editing characters are to be used with data items with usage clause as display, which is the default. When you try displaying a data item with usage as computational it does not give the desired display format because the data item is stored as packed decimal. So if u want this particular data item to be edited u have to move it into a data item whose usage is display and then have that particular data item edited in the format desired.

Discussion (0)

No comments yet. Be the first to share your thoughts!

Share Your Thoughts
Feedback