can we display comp-3 variables. if we want to display what
we have to do . give me one example
Answer Posted / craig
You can display them, but they will appear non-numeric.
Move the field to a WS field defined as pic +9('number of
digits') and display the WS field to make the data user-
friendly.
| Is This Answer Correct ? | 22 Yes | 4 No |
Post New Answer View All Answers
What is the difference between a binary search and a sequential search? What are the pertinent cobol commands?
what is difference bt COND, REGION & TIME parameters at JOB & EXEC. give an exp.
For rewrite, why is it mandatory that file needs to be opened?
What is the default value(s) for an initialize and what keyword allows for an override of the default?
Give some examples of command terminators?
how do you reference the esds vsam file formats from cobol programs
Difference between array and sub-script ?
Which mode is used to operate the sequential file?
how to convert the recors form vsam file to db2 table tru file aid
What are the different rules to perform a Search?
What do you understand by psb and acb?
) how do u code after getting data?
I have one ps file in which there are 3 fileds emp_no,emp_name and leave_app.this ps file information give the detail of employee which is going to apply for leave.suppose emp_no=113430,emp_name=ajay,leave_app=1 that means he is going to apply for 1 day leave.and accordingling the table in db2 will be updated means if he has that no of leave in his account then he will get dat leave and updated acc. in table(leave_balance=previous leave present in table-leave_app).Now i want to check whther the updated result is correct or not by comparing the two ps file using IEBCOMPARE or icetool so what is going to be the two ps file and how its is going to be compare.
Explain the configuration section of a cobol program with examples of syntax.
Why occurs cannot be used in 01 level in COBOL?