01 ws-p pic 9(2).
01 ws-q pic 9(2) value 01.
01 ws-r pic 9(2) value 99.
p.d.
compute p = q + r
what will be result of p ans(00) but my question is that
how i got 10 on the place of 00.
(truncation will ocuure on right side not left).
please tell me ?
Answer Posted / nataraj
q value is 01
r value is 99
after compute p value is 100
normally value is printed left to right so u get 10
place of p
| Is This Answer Correct ? | 0 Yes | 5 No |
Post New Answer View All Answers
How to use the same COBOL program in Batch and CICS on lines? explain with an example
i made it to stage 3 of an interview process wednessday they will quiz my knowledge again face to face for an analyst role recruiter said it will be based on Business requirements system is cobol and good ideas what they might ask etc
What is the default value(s) for an initialize? What keyword will allow for an override of the default?
how do you reference the ksds vsam file formats from cobol programs
When is inspect verb is used in cobol?
Write down the divisions of cobol program?
What are declaratives and what are their uses in cobol?
What rules are to be followed while using the corresponding options?
Can you please let me know the centre name of INS certification in Kolkata.
Name some of the examples of COBOl 11?
how can we apply for HSBC exam(Mainframe) in India??? i went to their site and was told to submit my CV ,. etc..( totally confusing...)
Explain how you can characterize tables in cobol?
How you can read the file from bottom?
How can we find that module can be called – whether DYNAMICALLY or STATICALLY?
)If there are 10 steps in GDG, if I want to refer the step2 after step5 . what should I do?