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


Please Help Members By Posting Answers For Below Questions

What is the difference between perform … with test after and perform … with test before?

879


What is the default value(s) for an initialize and what keyword allows for an override of the default?

693


What is an in line perform? When would you use it? Anything else you wish to say about it.

643


What is the problem of ordered sequential files access?

694


Which is the default, TEST BEFORE or TEST AFTER for a PERFORM statement?

820






What is cobol?

743


What is static and dynamic call in cobol?

592


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

2102


1.give the details about WHEN OTHER. 2. how many form are available in evaluate.

1609


what is difference bt COND, REGION & TIME parameters at JOB & EXEC. give an exp.

8156


Discuss about changing dataset name in proc.

758


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.

930


example for sub strings ? and refernce modifications whit output pls

1845


how to convert the recors form vsam file to db2 table tru file aid

2761


How do you reference the fixed block file formats from cobol programs

703