Interviewer And Interviewee Guide

Cobol Interview Question:

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

Submitted by: Administrator
The editing characters r to be used with data items with usage clause as display which is the default. When u tries 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.
Submitted by: Administrator

Read Online Cobol Job Interview Questions And Answers
Copyright 2007-2025 by Interview Questions Answers .ORG All Rights Reserved.
https://InterviewQuestionsAnswers.ORG.