if we display var1 then what will b displayed in below
condition.
77 var1 pic s9(2) value -10.
77 var1 pic s9(2) value -11.
" " " -12.
" " " -13.
-14
...
...
-19.
Answer Posted / piyush mani
u r wrt but if we declare diff var for above values then result will b like
value result
-10 1{
-11 1J
-12 1K
-13 1L
.........
THANKS
Is This Answer Correct ? | 5 Yes | 1 No |
Post New Answer View All Answers
What is the difference between perform … with test after and perform … with test before?
What is the default value(s) for an initialize and what keyword allows for an override of the default?
What is an in line perform? When would you use it? Anything else you wish to say about it.
What is the problem of ordered sequential files access?
Which is the default, TEST BEFORE or TEST AFTER for a PERFORM statement?
What is cobol?
What is static and dynamic call in cobol?
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
1.give the details about WHEN OTHER. 2. how many form are available in evaluate.
what is difference bt COND, REGION & TIME parameters at JOB & EXEC. give an exp.
Discuss about changing dataset name in proc.
There are 5 fields and 1000 records in a file. Unload it into an array. Write the syntax for declaration and how will you unload it.
example for sub strings ? and refernce modifications whit output pls
how to convert the recors form vsam file to db2 table tru file aid
How do you reference the fixed block file formats from cobol programs