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
What is link edit in cobol?
What is the difference between a binary search and a sequential search? What are the pertinent cobol commands?
here is my requirement A1 is alphanumeric with value 'A1B2C3D4' as defined below 05 A1 PIC X(8) VALUE IS 'A1B2C3D4' but i need to have A2,A3 as ABCD & 1234 repectively...... A2 = ABCD A3 = 1234 Can you please explain me what are the different ways to do it?
What is the utilization of copybook in cobol? Could we utilize a similar copybook?
How do you get the data to code the BMS macro?
What is the difference between binary search and sequential search?
What are literals?
Differentiate between structured cobol programming and object-oriented cobol programming.
how to refer the data field?
Explain about different table spaces.
Explain sorting techniques in cobol program? Provide the sort file definition, the sort statement, its syntax and meaning
what are decleratives in cobol?
which is Best IBM Mainframe Training and Placement Institute in Ameerpet Hyderabad
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
How can you get the ksds file records into your cobol program?