01 var1 pic s9(9)v99.
01 var2 pic x(30).
procedure division.
move 12345.99 to var1.
move12345.99 to var2.
display var1.
display var2.
what is the output?
Answer Posted / john benito
Will abend.
Pic clause is not allowed in 01 level.
Is This Answer Correct ? | 3 Yes | 28 No |
Post New Answer View All Answers
How arrays can be defined in COBOL?
What is an in line perform? When would you use it? Anything else you wish to say about it.
What is the compute verb? How is it used?
Which division and paragraphs are mandatory for a COBOL program?
How do u write test cases?
IF I mention stop run in CICS what happens?
I have a File that has duplicate records. I need only those records that occur more than thrice.?
How did the release of cobol/370 version 1.3 improve the performance of release 1.1?
What is the difference between next sentence and continue in cobol programing language?
Differentiate between structured cobol programming and object-oriented cobol programming.
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.
What is amode(24), amode(31), rmode(24) and rmode(any) (applicable to only mvsesa enterprise server) ?
Explain how will you differentiate between an internal and an external sort, the pros and cons, internal sort syntax etc
What is the difference between comp and comp-3?
What are various search techniques in cobol? Explain.