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 difference between cobol and cobol/400
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...)
how to move the records from file to array table. give with code example
Our issue is there seems to be a disconnect, or no link, between our SELECT statement and our SD. We had SELECT SORT-FILE and SELECT SORT-FILE ASSIGN TO SORTWRK. ASSIGN TO SORTWRK1 SORTWRK2 SORTWRK3 SORTWRK4. with SD SORT_FILE RECORD CONTAINS 7833 CHARACTERS. In either case, at run time, the system ignored our SORTWRK# DD statements and allocated 16 sort works with the SORTWK## naming convention. Any ideas why the system does not recognize the connection? We do not even need the SORTWRK DD statements. Thanks
What are INPUT PROCEDURE and OUTPUT PROCEDURE?
What is cobol?
Write the code to count the sum of n natural numbers.
State the various causes of s0c1, s0c5 and s0c7.
Differentiate between structured cobol programming and object-oriented cobol programming.
how do you define single dimensional array and multidimensional array in your cobol?
How do you define a variable of comp-1 and comp-2?
How do define dynamic array in cobol. how do you define single dimensional array and multidimensional array in your cobol?
i want to learn mainframe..any websites and material to learn from basic..? my mail id : rajeswaribe2010@gmail.com
How can we find that module can be called – whether DYNAMICALLY or STATICALLY?
What are the different data types in cobol?