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 to convert the recors form vsam file to db2 table tru file aid
What are literals?
can anybody post me about file-aid and changemen tools pls and give me reference if any mainframe guys are there
A table has two indexes defined. Which one will be used by the SEARCH?
Write a program to explain size error.
What are different data types in cobol?
How arrays can be defined in COBOL?
How can you get the ksds file records into your cobol program?
how to refer the data field?
How do define dynamic array in cobol. how do you define single dimensional array and multidimensional array in your cobol?
How do you reference the following file formats from cobol programs?
How to know whether the module is dynamical or statistical?
can anybody post me about file-aid and changemen tools pls and give me reference if any mainframe guys are there
how do you reference the printer file formats from cobol programs
Is it possible that the redefines clause has different picture clauses compared to the one it redefined?