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
Define cobol?
What is report-item in COBOL?
what is the difference between COBOL2 AND COBOL390?
i want to learn mainframe..any websites and material to learn from basic..? my mail id : rajeswaribe2010@gmail.com
what is the use of outrecord?
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.
What are different data types in cobol?
What are the different data types in cobol?
How are the next sentence and continue different from each other?
can anybody post me about file-aid and changemen tools pls and give me reference if any mainframe guys are there
Explain how to differentiate call by context by comparing it to other calls?
What are all the divisions of a COBOL program?
What are the rules of the move verb?
Write the code implementing the perform … varying.
In COBOL, what is the different between index and subscript?