01rec1.
05 a pic 999v99 value 123.12
05 b pic 99v9 value 45.9
02 rec2.
05 x pic 999v99
05 y pic 99v99
05 z pic x(3) value 'abc'
if rec1 is moved to rec2 then what is the value of rec2?
Answer Posted / santhosh vayathuri
REC 2 WILL BE
123124591231
| Is This Answer Correct ? | 1 Yes | 2 No |
Post New Answer View All Answers
There are 5 fields and 1000 records in a file. Unload it into an array. Write the syntax for declaration and how will you unload it.
Explain the configuration section of a cobol program with examples of syntax.
how do you reference the esds vsam file formats from cobol programs
What happens when we move a comp-3 field to an edited (say z (9). Zz-)?
Hi pls anybody tell me about " ANALYSIS DOCUMENT PREPARATION AND ESTIMATION OF TASK " (in real time project)."I want to update a sequential file in my project" for that purpose i need both structures i mean analysis document and estimation of task.
Explain how to differentiate call by context by comparing it to other calls?
i have 10 names in an array and my name is one of them also array is not in sorted order i need to display my name using index how will i do this
What is Pic 9v99 Indicates in COBOL?
What are all the divisions of a COBOL program?
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.
How to find out the closest prime number of an input number? I believe it has something to do with SEARCH and COBOL Linear Array.
What are the rules of the move verb?
What is the difference between perform … with test after and perform … with test before?
State the various causes of s0c1, s0c5 and s0c7.
What is redefines clause in COBOL?