01 a pic s9(5) value '-12345' how it will be stored
Answer Posted / nagaraj ramammorthy
here the usage clause is DISPLAY which is default. so each
digit takes one byte to store and the sign is punched with
the last digit..
so it will be stored as 1234N.
note:
numbers punched with '+' sign
0 - {
1 - A
2 - B
3 - C
4 - D
5 - E
6 - F
7 - G
8 - H
9 - I
numbers punched with '-' sign
0 - }
1 - J
2 - K
3 - L
4 - M
5 - N
6 - O
7 - P
8 - Q
9 - R
hope this is clear
| Is This Answer Correct ? | 6 Yes | 1 No |
Post New Answer View All Answers
can anybody post me about file-aid and changemen tools pls and give me reference if any mainframe guys are there
How can we find that module can be called – whether DYNAMICALLY or STATICALLY?
Describe the cobol database components?
how do you reference the variable unblock file formats from cobol programs
What is the difference between comp and comp-3?
How to know whether the module is dynamical or statistical?
Which mode is used to operate the sequential file?
What are the pertinent COBOL commands?
How to get the last record in vsam file in cluster? And how can you get the ksds file records into your cobol program?
What is the difference between PIC 9.99 and 9v99 in COBOL?
What is cobol?
What is Pic 9v99 Indicates in COBOL?
What is redefines clause in COBOL?
Can we change the password using ALTER? anyone tried and changed?
How many sections are there in data division in COBOL?