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 the difference between goback, stop run and exit program in cobol?
Write the code to count the sum of n natural numbers.
)If there are 10 steps in GDG, if I want to refer the step2 after step5 . what should I do?
How do you get the data to code the BMS macro?
write a cobol logic. i have file that has 10 records .1 record go to first output file and second record goes to 2 output and etc
what are decleratives in cobol?
What is the difference between Structured COBOL Programming and Object Oriented COBOL programming?
What guidelines should be followed to write a structured cobol prgm?
How to know whether the module is dynamical or statistical?
What are various search techniques in cobol? Explain.
Why would you use find and get rather than to obtain?
how can i see junk values in dclgen or in hostvariable of comp ?
Explain about different table spaces.
I have a File that has duplicate records. I need only those records that occur more than thrice.?
can anybody post me about file-aid and changemen tools pls and give me reference if any mainframe guys are there