consider the following piece of code
01 GROSS-PAY
05 BASIC-PAY PIC 9(5)
05 ALLOWENCES PIC 9(3)
if BASIC-PAY has a value 1000 and ALLOWENCES has a value
of 250,what will be
displayed by the statement
DISPLAY GROSS-PAY
a.1250
b.01000250
c.01250
d.1.250
Answer Posted / ajith
(b)
| Is This Answer Correct ? | 4 Yes | 0 No |
Post New Answer View All Answers
What is a scope terminator give example?
What are the different rules of SORT operation?
how do you reference the variable block file formats from cobol programs
1.give the details about WHEN OTHER. 2. how many form are available in evaluate.
What are INPUT PROCEDURE and OUTPUT PROCEDURE?
Why do we code s9 (4) comp. Inspite of knowing comp-3 will occupy less space?
What are the different rules to perform a Search?
Define static linking and dynamic linking.
how do you reference the variable unblock file formats from cobol programs
i was faced one question- i have value -00001234.56 Suppress the zeroes and the output should be -1234.56 But Not - 1234.56 spaces should not be available after suppressing the zeroes. logic in jcl and cobol?
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
2 input fles: 2 flat files, with different number of records. both are having unique key for each record and already sorted in ascending order . match these files using unique key and in output only matching key value has to be written. please procide cobol logic
How do you code cobol to access a parameter that has been defined in jcl? And do you code the parm parameter on the exec line in jcl?
how do you reference the fixed unblock file formats from cobol programs
What is link edit in cobol?